Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2007
    Posts
    63
    Plugin Contributions
    0

    Default Add Page to More Info - addon issues

    Hello all. I just added the "Add Pages to More Info" module and got it all configured. When I edit page_5 or page_6 in "define pages editor" it appears to take and I can review it fine. HOWEVER ;) when I click on the link from the website I get page not found error? I have gone through all the php code and it is identical to what the module provided. I am on the latest version of ZEN. Any ideas on where I should look? thanks for any insight or direction

  2. #2
    Join Date
    Dec 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: Add Page to More Info - addon issues

    ive stepped through it 3 times now and have covered my tracks extensively and can not figure this out. Someone has to have some insight on to what I could be doing wrong here??

  3. #3
    Join Date
    Dec 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: Add Page to More Info - addon issues

    ok...im closer....i ran the sql statements and they now show up in the define page status section. Here's my last hurdle....

    when I click on page 5 it goes to index.php?main_page=FILENAME_PAGE_5 .... if I change the URL to index.php?main_page=page_5 it works as it should. What file(s) do I need to modify that are calling FILENAME_PAGE_5 instead of page_5 as it should??

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,513
    Plugin Contributions
    126

    Default Re: Add Page to More Info - addon issues

    The mapping from FILENAME_PAGE_5 to page5 is in includes/filenames.php.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Dec 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: Add Page to More Info - addon issues

    Quote Originally Posted by swguy View Post
    The mapping from FILENAME_PAGE_5 to page5 is in includes/filenames.php.
    Here is my code from the filenames.php file. Page 2-4 work fine but 5-7 seem to path incorrectly?? the link from the website shows as index.php?main_page=FILENAME_PAGE_6 and gives me a page not found when you click on it. If I change the path in my browser addres bar to read index.php?main_page=page_6 it shows the page I edited.

    define('FILENAME_DEFINE_PAGE_2', 'define_page_2');

    define('FILENAME_DEFINE_PAGE_3', 'define_page_3');

    define('FILENAME_DEFINE_PAGE_4', 'define_page_4');

    define('FILENAME_DEFINE_PAGE_5', 'define_page_5');

    define('FILENAME_DEFINE_PAGE_6', 'define_page_6');

    define('FILENAME_DEFINE_PAGE_7', 'define_page_7');

    thanks for your time!!

  6. #6
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,513
    Plugin Contributions
    126

    Default Re: Add Page to More Info - addon issues

    There are two things to look for: the FILENAME_DEFINE_PAGE_5 constant which gives the name of the HTML file, and the FILENAME_PAGE_5 constant which gives the name of the page itself.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  7. #7
    Join Date
    Dec 2007
    Posts
    63
    Plugin Contributions
    0

    Default Re: Add Page to More Info - addon issues

    Quote Originally Posted by swguy View Post
    There are two things to look for: the FILENAME_DEFINE_PAGE_5 constant which gives the name of the HTML file, and the FILENAME_PAGE_5 constant which gives the name of the page itself.
    and the hint for the files to check that could specifically cause the issue I defined would be which ones in your opinion?

 

 

Similar Threads

  1. v151 Add more info to Registration or Order Page (more fields)
    By imfsub12 in forum General Questions
    Replies: 1
    Last Post: 16 Jul 2013, 01:52 PM
  2. v139h DB/SQL Error when using SQL Patch for Add Pages More Info Sidebox addon
    By maperr55 in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 5 Mar 2012, 09:32 PM
  3. Add Pages to More Info Sidebox addon question
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 12 May 2010, 08:32 PM
  4. ...more info instead of Add: on product listing page
    By wilsonm5 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 12 Jun 2009, 08:20 PM
  5. How do I add a more info page 5 and page 6?
    By lieven23 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Dec 2008, 10:01 PM

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