here is the site:
http://ecristal.co.uk/zen/
As you can see the cancellations link is now showing, but not finding anything to display.
Maybe im doing that bit wrong, and need to look at it from another angle.
Lee
here is the site:
http://ecristal.co.uk/zen/
As you can see the cancellations link is now showing, but not finding anything to display.
Maybe im doing that bit wrong, and need to look at it from another angle.
Lee
Are we there yet?
Just one more line of code and im done...
Thanks for the help !
multichild,
To place an additional link in this side box you need to add/edit about 8 filrs and as posted the about us module outlines the files/edits required.
Alternatively all of this box contents can be replicated in an ezpage sidebox and additional links can be added from the admin
Thanks Kobra,
Where is the about us module in the downloads/sidebox area?
I'm sorry I just dont get where you mean.
Thanks for your help though
Lee
Are we there yet?
Just one more line of code and im done...
Morning Multichild
I just did a quick search on my site for the files that need to be amended/inserted in order to create a new link in the 'Information' sidebox and the below is what I came up with.
My link was called 'Where we are' and I'd say if you follow these instructions you should be fine getting your link to work too.
(If you have to create a new file, just copy an existing one and amend the indicated lines and change the filename.)
.../includes/extra_datafiles/where_we_are_filenames.php
Line #10 : define('FILENAME_WHERE_WE_ARE', 'where_we_are');
Line #11 : define('FILENAME_DEFINE_WHERE_WE_ARE', 'define_where_we_are');
.../includes/filenames.php
Line #46 : define('FILENAME_WHERE_WE_ARE', 'where_we_are');
.../includes/languages/english/extra_definitions/YOURTEMPLATE/where_we_are.php
Line #10 : define('BOX_INFORMATION_WHERE_WE_ARE', 'Where we are');
.../includes/modules/pages/where_we_are/header_php.php
Line #16 : $define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_WHERE_WE_ARE, 'false');
.../includes/modules/sideboxes/YOURTEMPLATE/information.php
Line #27 : $information[] = '<a href="' . zen_href_link(FILENAME_WHERE_WE_ARE) . '">' . BOX_INFORMATION_WHERE_WE_ARE . '</a>';
.../includes/templates/YOURTEMPLATE/templates/tpl_where_we_are_default.php
Line #14 : <div class="centerColumn" id="where_we_are">
Line #15 : <h1 id="whereweareHeading"><?php echo HEADING_TITLE; ?></h1>
Line #17 : <div id="whereweareMainContent" class="content">
.../includes/languages/english/YOURTEMPLATE/where_we_are.php
Line #10 : define('NAVBAR_TITLE', 'Where we are');
Line #11 : define('HEADING_TITLE', 'Where we are');
.../includes/languages/english/html_includes/define_where_we_are.php
Line #0 : <p><strong><font face="verdana,arial,helvetica,sans-serif">Where We Are Sample Text ...</font></strong></p><p>This section of text is from the Define Pages Editor located under Tools in the Admin.</p><p>You can use either the language-file in /includes/languages/english/MYTEMPLATE/about_us.php or this file separately for this page or, you can use both together.</p><p>To remove the language file definition, do not delete the define statement, set it to be blank. Example: define('TEXT_INFORMATION', '');</p><p>To remove this section of the text (which you're reading right now), delete it from the Define Pages Editor, located under Tools in the Admin.</p>
.../includes/languages/english/html_includes/YOURTEMPLATE/define_where_we_are.php
Line #0 : <p><strong><font face="verdana,arial,helvetica,sans-serif">Where We Are Sample Text ...</font></strong></p><p>This section of text is from the Define Pages Editor located under Tools in the Admin.</p><p>You can use either the language-file in /includes/languages/english/MYTEMPLATE/about_us.php or this file separately for this page or, you can use both together.</p><p>To remove the language file definition, do not delete the define statement, set it to be blank. Example: define('TEXT_INFORMATION', '');</p><p>To remove this section of the text (which you're reading right now), delete it from the Define Pages Editor, located under Tools in the Admin.</p>
For the last two define_where_we_are.php files, just make sure they've got write-permissions as they will be written into through the Define Pages Editor.
Anyway, if you still have problems just get back to us and we'll sort it out.
regards
kpax
Superb, thanks very much!
Really appreciate all that.
Will get onto it straight away, and let you know.
Thanks
Lee
Are we there yet?
Just one more line of code and im done...
Good morning KPAX,
I started going through your list this morning, and came up to a problem.
In this line:
.../includes/languages/english/extra_definitions/YOURTEMPLATE/where_we_are.php
Line #10 : define('BOX_INFORMATION_WHERE_WE_ARE', 'Where we are');
I followed the path to extra_definitions and couldnt find YOURTEMPLATE. It probably means that I have to create that file myself, but Ijust wanted to double check.
Could you clarify this for me please.
Thanks
Lee
Are we there yet?
Just one more line of code and im done...