Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    Join Date
    Aug 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Edit or Add "More Information" sidebox pages?

    Never mind. I forgot to add

    define('FILENAME_DEFINE_PAGE_5', 'define_page_5');

    to filenames.php

  2. #22
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Edit or Add "More Information" sidebox pages?

    Anyone who wants to add more define pages can download the About Us mod from Free Addons. It has all of the 8 files and edits you need to correctly make a define page.

  3. #23
    Join Date
    May 2016
    Location
    tokyo,japan
    Posts
    2
    Plugin Contributions
    0

    Default Re: Edit "More Information" sidebox pages?

    Quote Originally Posted by ZCguy View Post
    I am trying to add another page within my "more information" sidebox. I have added the link but it reads "main_page=FILENAME_PAGE_5".

    Not sure why this is happening. Anyone know how i can properly add an additional page to that sidebox?
    dude, i had the same problem.
    in order to define FILENAME_PAGE_5, edit
    $zen/include/filename.php

    define('FILENAME_PAGE_5', 'page_5');

    there you have it.


  4. #24
    Join Date
    May 2016
    Location
    tokyo,japan
    Posts
    2
    Plugin Contributions
    0

    Default Re: Edit "More Information" sidebox pages?

    Quote Originally Posted by sped1530 View Post
    Did you ever find the how do add page 4, 5, ... I've looked everywhere but still can not find the answer.
    well, create a new page called "my1" following the wiki,
    https://www.zen-cart.com/wiki/index....ting_new_pages

    and then edit /include/languages/english.php

    define('BOX_INFORMATION_MY1', 'my1');

    if you want the new page to appear in the more info sideboxes, edit

    /include/modules/sideboxes/more_information.php

    if (DEFINE_MY1_STATUS <= 0) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_MY1) . '">' . BOX_INFORMATION_MY1 . '</a>';
    }


    dont forget to also edit filename.php to link the page name:

    /includes/filename.php

    define('FILENAME_MY1', 'my1');

    hope you got it.


 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. How to add more pages into "Information"? (sideboxes/information.php)
    By n_t_r in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 27 May 2011, 01:50 PM
  2. How to edit side box "More Information"...
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 1 Aug 2009, 12:38 AM
  3. Replies: 1
    Last Post: 18 May 2009, 10:44 PM
  4. "More Information" Sidebox not showing
    By phoeni_australia in forum General Questions
    Replies: 2
    Last Post: 17 Aug 2007, 03:13 AM
  5. What file do I edit to change "For more information" text?
    By starchildcrafts in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Nov 2006, 07:20 PM

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