Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38
  1. #1
    Join Date
    Apr 2007
    Posts
    18
    Plugin Contributions
    0

    Default Adding links to Information sidebox

    Hi there,

    I've been searching far and wide for an easy way to add my own links to the Information sidebox but unfortunately, I haven't found anything so far.

    I know that the links will be called from the information.php file but just wondered if there was a simpler way than having to amend several files to add a simple link?

    thanks in advance

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding links to Information sidebox

    I know that the links will be called from the information.php file but just wondered if there was a simpler way than having to amend several files to add a simple link?
    Don't know a simpler way.....
    Zen-Venom Get Bitten

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

    Default Re: Adding links to Information sidebox

    Hi there,

    I'm just struggling with this issue..

    What I've done so far:
    1. included a new file with the page's name in html_includes
    2. Added my defines to english.php (english is my default language)
    3. Added the define into includes/filenames.php
    The Link now shows up fine in my 'Information' sidebox but when I click on it, it can't find the page I've uploaded to html_includes??

    Would anyone have a step-by-step guide as how to make this work?

    thanks

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Adding links to Information sidebox

    Have a look at the about us module in the downloads/sidebox area and read the steps for this as these are the same as for others
    Zen-Venom Get Bitten

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

    Default Re: Adding links to Information sidebox

    Thanks a lot Kobra!!!

    That's exactly what I've been looking for. I just amended that module for my own pages and it works great!!

    Thanks!!

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

    Default Re: Adding links to Information sidebox

    Hi kpax and kobra, can you let me know where the about us area that you talk about is, as I got exactly the same issue as I wont to add a new link to the 'information' sidebox, and i am having great difficulty in even getting off first base.

    Ta

    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

    I followed the points above and managed to do this:

    In filenames.php I put this: define

    ('FILENAME_CANCELLATIONS', 'Cancellations');

    &

    In english.php I put this in information box text in sideboxes/information.php:

    define('BOX_INFORMATION_CANCELLATIONS', 'Cancellations');

    It still doesnt find its way into the 'Information' sidebox.

    I have though gone into EZ-pages, and created a new file with page title Cancellations.

    Are we there yet?

    Just one more line of code and im done...

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

    Default Re: Adding links to Information sidebox

    Ok I have finally got it displaying in the 'Information' sidebox, by adding this line to the information.php page:

    if (DEFINE_CANCELLATIONS_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_CANCELLATIONS) . '">' . BOX_INFORMATION_CANCELLATIONS . '</a>';
    }

    Unfortunately it doesnt connect up to the page i created in EZ-Pages, so only this last step now, and all should be good.

    Can anybody help me here.

    cheers

    Lee
    Are we there yet?

    Just one more line of code and im done...

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

    Default Re: Adding links to Information sidebox

    Unfortunately it doesnt connect up to the page i created in EZ-Pages, so only this last step now, and all should be good.
    Have not seen your site but you can turn off the information side box completely and recreate it as an ezpage sidebox with all the internal links and any new pages that you might create
    Zen-Venom Get Bitten

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

    Default Re: Adding links to Information sidebox

    I have an existing page called links.html already set up how can I add this to the information box? I had tried editing the information.php but still won't show.

 

 
Page 1 of 4 123 ... LastLast

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

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR