Page 1 of 1
Header modifying
Posted: Fri Sep 08, 2006 8:50 am
by petri
Hello.
I don't understand how can I modify the default templates header size for more higher that I could use my own logo.
What file should I modify?
Also one more question.
What file should I modify to replace the texts: You are here: ; Next page ; Top
Re: Header modifying
Posted: Mon Sep 11, 2006 11:11 am
by petri
Could you please answer to this question.
Re: Header modifying
Posted: Mon Sep 11, 2006 11:34 am
by Dr.CSS
Which Ver. of CMSMS?
The header size is in the Layout CSS.
The words are in the template, You are here is in the Breadcrumb... {breadcrumbs starttext='You are here'
The Next and Top Previous are in the self_link...
{anchor anchor='main' text='^ Top'}
{cms_selflink dir="previous" label="Previous page: "}
{cms_selflink dir="next"}
Re: Header modifying
Posted: Mon Sep 11, 2006 12:52 pm
by petri
mark wrote:
Which Ver. of CMSMS?
The header size is in the Layout CSS.
The words are in the template, You are here is in the Breadcrumb... {breadcrumbs starttext='You are here'
The Next and Top Previous are in the self_link...
{anchor anchor='main' text='^ Top'}
{cms_selflink dir="previous" label="Previous page: "}
{cms_selflink dir="next"}
I have the version 0.13.
I still can't find the layout css file.
Also I don't have an idea about that breadcrumbs..
It would be nice if you could give me "dummy instructions" how to modify those files.
Maybe I am stupid, but I am just learning to understand this.
Re: Header modifying
Posted: Mon Sep 11, 2006 12:58 pm
by tsw
Re: Header modifying
Posted: Tue Sep 12, 2006 9:04 am
by Dee
petri wrote:
I still can't find the layout css file.
In CMSMS templates and stylesheets are kept in the database, not in files.
You can access/edit them through the admin panel (Layout in the menu).
petri wrote:
Also I don't have an idea about that breadcrumbs..
It would be nice if you could give me "dummy instructions" how to modify those files.
In the templates the breadcrumbs tag is called like this:
Code: Select all
<!-- Start Breadcrumbs -->
<div class="breadcrumbs">
{breadcrumbs starttext='You are here' root='Home' delimiter='»'}
<hr />
</div>
<!-- End Breadcrumbs -->
You can change the starttext and delimiter there (see Extensions -> Tags and the help for a particular tag to see the possible options).
The relational links are called in the templates like this:
Code: Select all
<!-- Start relational links -->
{cms_selflink anchorlink='main' dir='anchor' text='^ Top'} ...
{cms_selflink dir="previous"} ...
{cms_selflink dir="next"} ...
<!-- End relational links -->
Here you can change the text for top. Add a label parameter to next and previous to change their text.
Code: Select all
{cms_selflink dir="previous" label='The text you want'}
Checkout the help on cms_selflink for other possible parameters.