Useful but undocumented variations of replacement tags

If you have created additional (non official) documentation or tutorials or something like that please post this here
Post Reply
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Useful but undocumented variations of replacement tags

Post 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)
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
update
Moderator
Posts: 6455
Joined: Mon 10. Jan 2005, 17:29
Location: germany / outdoor

Re: Useful but undocumented variations of replacement tags

Post 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:
It's mostly all about maintaining two or three customer's sites Still supporter for the band Mykket Morton. Visit Mykket Morton on FB. Listen Mykket Morton and live videos on youtube.
Now building a venue for young artists to get wet on stage, rehearsal rooms, a studio, a guitar shop - yes I'm going to build some guitars.
Post Reply