OFF-SOFT.net

This site is support & information site of WEB,and Software. This site might help you that create software or Web Site…perhaps?

Class suffix use templates (page edited) using

Published on| April 12th, 2009 | No Comment.

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;
}

Setting an example of this, should try clicking here.

Here, using "contentpaneopen" name,

    /template/xxxxxx/html/com_content/article/default.php
    xxxxxx:

    The default template name

Used in

1
$this-->params-->get( 'pageclass_sfx' );

How can I check the string that appears in front of the string-like.

For example,

1
<table class="contentpaneopen<?php echo $this-->params-->get( 'pageclass_sfx' ); ?>">

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,

    /components/com_content/views/article/tmpl/default.php

How can I check.



Add to your favorites(bookmarks): はてなdel.icio.usLivedoor ClipYahoo!FC2Nifty ClipPOOKMARK. AirlinesBuzzurl(バザール)Choixnewsing

Trackback URL

After Admin approves this comment, it will be shown.


Comments

Leave a Reply








Tag Cloud

Links

Site Description

This site is support & information site of WEB,and Software. This site might help you that create software or Web Site…perhaps?

Add to your favorites(bookmarks)

はてなdel.icio.usLivedoor ClipYahoo!FC2Nifty ClipPOOKMARK. AirlinesBuzzurl(バザール)Choixnewsing