Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 42
  1. #31
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Making Page_5 work

    Yes, somewhere you need to have that constant:
    DEFINE_PAGE_5_STATUS

    actually defined or its value is 0 ...

    On the regular pages, we have that stored in the configuration table for the define pages ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  2. #32
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Making Page_5 work

    Aha...

    light went on. I need to add it to Define Page Status in admin and then turn it 'on'. Can you tell me which file to edit to add it as its not appearing as a choice right now?

  3. #33
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Making Page_5 work

    Zen Cart does this in the configuration table ... for example Page 4 uses DEFINE_PAGE_4_STATUS and that is added to the database with the INSERT of:
    Code:
    insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('Define Page 4', 'DEFINE_PAGE_4_STATUS', '1', 'Enable the Defined Page 4 Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', '25', '84', now(), now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),');
    You could customize that and make the 4s be 5s and change the '25, '84' to 25', 85' and you should then find it in the Configuration ... Define Page Status ... with all of the other settings ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #34
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Making Page_5 work

    So each extra page I add, I can edit that insert as necessary and then copy/paste it to the text box on

    admin/sqlpatch.php

    to add the page to the database and thus the config pages?

    And again, thanks so much for your super swift reply to my inital post...
    :-)

  5. #35
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Making Page_5 work

    Yeps ... as easy as that ...

    Just edit those settings and and increment everything appropriately ...

    NOTE: Make sure that there is a semi-colon on the end of the line when using the Insert SQL Patches ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #36
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Making Page_5 work

    That worked like a charm and the page is now active.

    Just one small problem. The text content on the page looks like it is pointing to the text content of the page 4 instead of page 5.

    I'm guessing that the include I just edited is pointing it the define_page_4 instead of define_page_5, right?

    I changed the 84 to an 85, should I edit again to an 86?

  7. #37
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Making Page_5 work

    Browse the configuration table in phpMyAdmin and look at the configuration_key for anything that starts with DEFINE_PAGE and see what you have in there ...

    If all is well ... make sure that your tpl_ is calling the page 5 and not page 4 ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  8. #38
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Making Page_5 work

    Its pointing to the right pages from what I can tell. How do I access the configuration table in phpMyAdmin to look at it?

  9. #39
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Making Page_5 work

    You would go to phpMyAdmin on your site or your Control Panel and find your access to phpMyAdmin or contact your hosting site and ask where it is hiding ... then find your database and browse your configuration table ...

    As these things are added in order you can either go to the end of the file, the most likely place it will be when sorted on the configuration_id or do a search on a Like % ... % for:
    DEFINE_PAGE

    and you should see them all ...

    I am surprised, however, that unless you have a typo on the one you just added that it could have been added as a duplicate ...

    Also, you might do a search with Tools ... Developers Tool Kit ... in the bottom input box for:
    DEFINE_PAGE_5_STATUS

    and see what files are using it ... then do a search on:
    DEFINE_PAGE_4_STATUS

    to see what files are using that ... and make sure everyone is matching up in the right groups ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  10. #40
    Join Date
    Dec 2007
    Posts
    19
    Plugin Contributions
    0

    Default Re: Making Page_5 work

    Wooo hoooo I found it!
    I had modules/pages/page_5/header_php.php pointing to page 4 instead of page 5.


    whew...

    thanks again for the assist.

    Have a great weekend,

    Kristy

 

 
Page 4 of 5 FirstFirst ... 2345 LastLast

Similar Threads

  1. Making header/logo work in percent
    By Lady Loza in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 16 Oct 2011, 11:06 PM
  2. Help Making Cart Work
    By brcampers in forum Basic Configuration
    Replies: 3
    Last Post: 22 Jan 2011, 08:08 PM
  3. Making module manager work
    By fairway in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 26 Feb 2009, 03:36 AM
  4. Adding page, making it work.
    By trudesign in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Apr 2008, 08:24 PM
  5. Making custom folders work - how?
    By vivaraquel in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 15 Nov 2006, 05:46 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