Class suffix use templates (page edited) using
Published on| April 12th, 2009 | No Comment.
Categories:Templates |
This is "used in the template Class suffix (edited module) to use"
In the following, (ed page) let you change the look of each page.
Change the look of each page
To change the look of each page is a set of menu items, set the appropriate string Page Class suffix to save it.

Here, _test type and save.
Then, CSS to change the file.
CSS file, add the following.
"contentpaneopen" + suffix, so the name, "contentpaneopen_test" named for the class, try to append.
1 2 3 4 5 | .contentpaneopen_test { background-color: #00ffff; border:solid 1px #00ff00; } |
Here, using "contentpaneopen" name,
How can I check the string that appears in front of the string-like.
For example,
If you are using, table class = "contentpaneopen .... parts, contentpaneopen + suffix should be judged.
Also, /template/xxxxxx/html/com_content/article/default.php
If not present, is used for the system default,
- /template/xxxxxx/html/com_content/article/default.php
xxxxxx: The default template name
1 | $this-->params-->get( 'pageclass_sfx' ); |
For example,
1 | <table class="contentpaneopen<?php echo $this-->params-->get( 'pageclass_sfx' ); ?>"> |
Also, /template/xxxxxx/html/com_content/article/default.php
If not present, is used for the system default,
- /components/com_content/views/article/tmpl/default.php
You might also like:
Trackback URL
After Admin approves this comment, it will be shown.
Comments
Leave a Reply
