Smarty Forum Index Smarty
The discussions here are for Smarty, a template engine for the PHP programming language.

Search found 10 matches
Smarty Forum Index
Author Message
  Topic: 
axelf

Replies: 1
Views: 4956

PostForum: Language: German   Posted: Mon Oct 05, 2015 2:08 pm   Subject:
Hallo,

ich hatte erst im englischsprachigen Forum geschrieben, jedoch dort keinen Erfolg gehabt.

Ich möchte die Ausgabe der Funktion html_checkboxes ändern, da ich die checkbox komplett ersetze ...
  Topic: change the output of html_checkboxes
axelf

Replies: 16
Views: 10458

PostForum: General   Posted: Mon Oct 05, 2015 8:40 am   Subject: change the output of html_checkboxes
ok, lets close this discussion. It makes no sense. If you don't want to help simply write nothing.
  Topic: change the output of html_checkboxes
axelf

Replies: 16
Views: 10458

PostForum: General   Posted: Sun Oct 04, 2015 8:50 pm   Subject: change the output of html_checkboxes
I want to completely replace the checkbox with custom css. Sorry, i forgot in my CSS the following:


input[type='checkbox'] {
display: none;
}


In order to get it to ...
  Topic: change the output of html_checkboxes
axelf

Replies: 16
Views: 10458

PostForum: General   Posted: Sun Oct 04, 2015 6:33 pm   Subject: change the output of html_checkboxes
The content hast to be changed on click.
This is the reason, why i want to change the output.

I need the span-tag in order to get the following css working. I cant use the label, because it is a p ...
  Topic: change the output of html_checkboxes
axelf

Replies: 16
Views: 10458

PostForum: General   Posted: Sun Oct 04, 2015 3:37 pm   Subject: change the output of html_checkboxes
Sorry, but your answers are not very helpful for me.
  Topic: change the output of html_checkboxes
axelf

Replies: 16
Views: 10458

PostForum: General   Posted: Sun Oct 04, 2015 8:08 am   Subject: change the output of html_checkboxes

Same way you would style a <span> tag - attach jQuery event listener and do any client-side changes you wish.


In my second post i wrote without javascript.


I could probably do it wit ...
  Topic: change the output of html_checkboxes
axelf

Replies: 16
Views: 10458

PostForum: General   Posted: Sat Oct 03, 2015 3:19 pm   Subject: change the output of html_checkboxes
ok, could you give me an example?

How can i style the label-tag, if i click on the checkbox? In the label-tag i want to change some css (the checkmark is visible), if the checkbox is checked. if th ...
  Topic: change the output of html_checkboxes
axelf

Replies: 16
Views: 10458

PostForum: General   Posted: Sat Oct 03, 2015 3:07 pm   Subject: change the output of html_checkboxes
I want to style the checkbox with css and need the span-tag for that. I can't use the label tag, because with css i can't style a parent element.

input:checked + span works for styling but it is no ...
  Topic: change the output of html_checkboxes
axelf

Replies: 16
Views: 10458

PostForum: General   Posted: Sat Oct 03, 2015 8:48 am   Subject: change the output of html_checkboxes
Hello,

is it possible to change the output of html_checkboxes?
Instead of this

<label><input type="checkbox">Text</label>

i want this

<label><input ty ...
  Topic: eigenes Plugin - Problem bei Ausgabe des Contents
axelf

Replies: 1
Views: 3279

PostForum: Language: German   Posted: Thu Jan 26, 2012 8:59 am   Subject: eigenes Plugin - Problem bei Ausgabe des Contents
Hi,

In der Doku zu Plugins und dem Parameter $content steht:

Achtung: Der Template-Abschnitt den Sie erhalten, wurde bereits von Smarty bearbeitet. Sie erhalten also die Template-Ausgabe, nicht ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP