Results 1 to 10 of 38

Hybrid View

  1. #1
    Join Date
    Sep 2007
    Location
    Chepstow, SE Wales
    Posts
    101
    Plugin Contributions
    0

    Default Re: Adding links to Information sidebox

    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...

  2. #2
    Join Date
    Aug 2007
    Posts
    70
    Plugin Contributions
    0

    Default Re: Adding links to Information sidebox

    Thanks for the help !

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Adding links to Information sidebox

    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

  4. #4
    Join Date
    Sep 2007
    Location
    Chepstow, SE Wales
    Posts
    101
    Plugin Contributions
    0

    Default Re: Adding links to Information sidebox

    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...

  5. #5
    Join Date
    Apr 2007
    Posts
    18
    Plugin Contributions
    0

    Default Re: Adding links to Information sidebox

    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

  6. #6
    Join Date
    Sep 2007
    Location
    Chepstow, SE Wales
    Posts
    101
    Plugin Contributions
    0

    Default Re: Adding links to Information sidebox

    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...

  7. #7
    Join Date
    Sep 2007
    Location
    Chepstow, SE Wales
    Posts
    101
    Plugin Contributions
    0

    Default Re: Adding links to Information sidebox

    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...

 

 

Similar Threads

  1. Adding NEW links to the Information Sidebox
    By Donn in forum Basic Configuration
    Replies: 5
    Last Post: 4 Dec 2009, 07:29 AM
  2. Adding or removing links on information sidebox
    By rjgonzalez in forum General Questions
    Replies: 6
    Last Post: 2 Apr 2009, 09:13 PM
  3. Adding links to Information sidebox
    By isaacr25 in forum Basic Configuration
    Replies: 4
    Last Post: 18 Nov 2008, 08:33 PM
  4. Adding Links to Information Sidebox
    By ivan23 in forum Basic Configuration
    Replies: 10
    Last Post: 24 Sep 2008, 12:31 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg