Zen Cart Logo
Forums / Basic Configuration / Additional Links to the 'More Information' Sidebox

Additional Links to the 'More Information' Sidebox

Locked

Views: 1,638

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
9 Jan 2007, 7:57 PM
#1
gbnet avatar

gbnet

New Zenner

Join Date:
Aug 2006
Posts:
6
Plugin Contributions:
0

Additional Links to the 'More Information' Sidebox

Alright I would like to add additional links to the more information sidebox here is what I have done so far. I feel like I am really close but just can't finish it up:

  1. In store/includes/languages/english.php
    line 155ish – add something like "define('BOX_INFORMATION_PAGE_5', 'Test');"

  2. In store/includes/languages/english
    Create the new file named 'page_5'

  3. In includes/modules/sideboxes/more_information
    line 25ish - add something like :
    " if (DEFINE_PAGE_5_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_5) . '">' . BOX_INFORMATION_PAGE_5 . '</a>';
    }"

  4. In includes/filenames.php
    line 109ish add something like:
    "define('FILENAME_PAGE_5', 'page_5');"

Any information would be most appreciated.

11 Jan 2007, 5:51 PM
#2
gbnet avatar

gbnet

New Zenner

Join Date:
Aug 2006
Posts:
6
Plugin Contributions:
0

Re: Additional Links to the 'More Information' Sidebox

I forgot to mention my version #s.

Zen Cart 1.3.5
Database Patch Level: 1.3.5
PHP Version 5.1.6

12 Jan 2007, 7:02 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional Links to the 'More Information' Sidebox

If you were to go to the Tools ... Developer's Tool Kit ...

In the bottom input box type in:
page_4

And select Catalog ... and then click search ...

This will find for you all existing references to the current page 4 files set and defines etc.

You could follow this pattern to create files, defines, etc. to build this ...

NOTE: I would strongly recommened upgrading your site ... we are on v1.3.7 and v1.3.5 has several issues that have been fixed that you need to run your site ...

16 Jan 2007, 6:17 PM
#4
gbnet avatar

gbnet

New Zenner

Join Date:
Aug 2006
Posts:
6
Plugin Contributions:
0

Re: Additional Links to the 'More Information' Sidebox

Will upgrading help me or make it easier to add more links to the "More Information" side box?

17 Jan 2007, 4:46 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional Links to the 'More Information' Sidebox

Upgrading you will get rid of all kinds of bugs that are in v1.3.5 ... :smile:

Adding links is up to you as to whether they are easier ...

Have you looked at EZ-Pages for making new pages and links?