Page 1 of 1

Useful but undocumented variations of replacement tags

Posted: Thu 15. Jan 2009, 00:41
by Jensensen
and other stuff that you can't find anywhere else but in this forum

--> OR when [you have time left, great fun] reading source [PLEASE {strongly recommend to} READ attentively EVERY NEW source FILE - because there IS NO DOCU!!!]
--> OR when you ask your augur/mentalist/fortune teller.


Part 1: Custom DIV class wrapper

You can place

Code: Select all

[div_class:MY_CUSTOM_CLASS]Some content here.[/class]
in every content part or template at any location.

Resulting HTML (source code):

Code: Select all

<div class="MY_CUSTOM_CLASS">Some content here.</div>
First excavated by claus/flip-flop http://forum.phpwcms.org/viewtopic.php?p=112594#p112594 ff (de)

Re: Useful but undocumented variations of replacement tags

Posted: Thu 15. Jan 2009, 09:50
by update
No no - I didn't excavate this - it's Knut who is digging through the code. I did a little topic-hijacking only :lol: