What do the header.php and the index.php files in the english folder do?
What do the header.php and the index.php files in the english folder do?
They define the text that appears in the header, and in the category listings (index) in the centre column.
Kuroi Web Design and Development | Twitter
(Questions answered in the forum only - so that any forum member can benefit - not by personal message)
Fantastic.
Thank you so much for your help!
I', just in the middle of installing Zen on my other site to test the template im gonna build, and hopefully everything will be okay
I'll keep you up to date, and thanks so much again!
One more thing...
Which is correct:
includes/languages/english/sonick
or
includes/languages/sonick/english.php?
You have mentioned both locations in your previous posts.
Thanks!
You will use both directories depending on which file you are modifying.
The rule of thumb: The custom template directory to use is at the same level as the file you are modifying.
So - if you are modifying languages/english/header.php, you will put your customized copy in languages/english/YOUR_TEMPLATE/
Please do not PM for support issues: a private solution doesn't benefit the community.
Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.
How would I frame the entire site in a table and centre everything?
Thanks.
You wouldn't frame the entire site in a table... you would edit your /includes/templates/sonick/css/stylesheet.css to say something like
#mainWrapper {
width: 765px;
margin: auto;
}
(Add the width and margin to the existing #mainWrapper declaration; don't make a new one unless there isn't one yet.)
PS -
"Which is correct:
includes/languages/english/sonick
or
includes/languages/sonick/english.php?"
The first is a directory you will put files in; the second is a file (english.php) which will override the default /includes/languages/english.php.
Last edited by gjh42; 14 Aug 2007 at 01:51 AM.