Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1
    Join Date
    Apr 2007
    Posts
    71
    Plugin Contributions
    0

    Default Define page status - settings don't appear to be working?

    In Configuration > Define Page status I set

    Conditions of Use - 0
    Site Map - 0

    but... both links are still showing up.

    On the other hand Define page 1, Define page 2 and Define page 3 are set to 1 but they don't show up in the box...

    What am I doing wrong?

    Thanks,

    doug

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

    Default Re: Define page status - settings don't appear to be working?

    There are multiple settings for the Defined Pages Status:
    Define Conditions of Use
    Enable the Defined Conditions of Use Link/Text?
    0= Link ON, Define Text OFF
    1= Link ON, Define Text ON
    2= Link OFF, Define Text ON
    3= Link OFF, Define Text OFF
    0 means Show the links but not the text ...

    OFF is actually 3 for Link OFF and Text OFF ...

    Or, to show the TEXT but no Link use 2 ...

    NOTE: This also depends on your template and whether or not the code is current to utilize these 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: v1.5.5]
    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!

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

    Default Re: Define page status - settings don't appear to be working?

    Quote Originally Posted by Ajeh View Post
    There are multiple settings for the Defined Pages Status:


    0 means Show the links but not the text ...

    OFF is actually 3 for Link OFF and Text OFF ...

    Or, to show the TEXT but no Link use 2 ...

    NOTE: This also depends on your template and whether or not the code is current to utilize these settings ...
    What does it mean to show a link without text?

    For the "define pages 1, 2, 3" they are all set to 1 but don't show up - is that strange?

    Thanks,

    doug

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

    Default Re: Define page status - settings don't appear to be working?

    Here is an example of the code for the more_information sidebox:
    PHP Code:
    // test if links should display
      
    if (DEFINE_PAGE_2_STATUS <= 1) {
        
    $more_information[] = '<a href="' zen_href_link(FILENAME_PAGE_2) . '">' BOX_INFORMATION_PAGE_2 '</a>';
      }
      if (
    DEFINE_PAGE_3_STATUS <= 1) {
        
    $more_information[] = '<a href="' zen_href_link(FILENAME_PAGE_3) . '">' BOX_INFORMATION_PAGE_3 '</a>';
      }
      if (
    DEFINE_PAGE_4_STATUS <= 1) {
        
    $more_information[] = '<a href="' zen_href_link(FILENAME_PAGE_4) . '">' BOX_INFORMATION_PAGE_4 '</a>';
      } 
    Those switches determin if you see the links in the sidebox ...

    The pages themselves have the ability to turn off the display of the text you define ... example page 2 is run by the tpl_page_2_default.php and uses the code:
    PHP Code:
    <?php if (DEFINE_PAGE_2_STATUS >= and DEFINE_PAGE_2_STATUS <= 2) { ?>
    <div id="pageTwoMainContent" class="content">
    <?php
    /**
     * load the html_define for the page_2 default
     */
      
    require($define_page);
    ?>
    </div>
    <?php ?>
    That determins should the text of the define be displayed ... again based on the setting of the switch in the Configuration ... Define Pages Status ...
    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: v1.5.5]
    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!

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

    Default Re: Define page status - settings don't appear to be working?

    Note: if your code is old or lacks these proper settings ... then things will not work as intended and the code needs to be updated or other customization is required ...
    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: v1.5.5]
    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. #6
    Join Date
    Apr 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Define page status - settings don't appear to be working?

    But what does it mean to have the text off but the link on?

    doug

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

    Default Re: Define page status - settings don't appear to be working?

    The sideboxes have a link ... something to click on ... in them for getting to, for example, Page 2 ...

    Page 2 itself has the ability to pull in the text that you wrote up in the Define Page Editor ...

    If you turn ON the link for Page 2 then you see the link in the sidebox ...

    If you turn OFF the link for Page 2 then you do NOT see the link in the sidebox ...

    If you turn ON the TEXT for Page 2 then when you go to Page 2 you see the TEXT that you defined in the Define Page Editor ...

    If you turn OFF the TEXT for Page 2 then when you go to Page 2 you do NOT see the TEXT that you defined in the Define Page Editor ...
    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: v1.5.5]
    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. #8
    Join Date
    Apr 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Define page status - settings don't appear to be working?

    Quote Originally Posted by Ajeh View Post
    The sideboxes have a link ... something to click on ... in them for getting to, for example, Page 2 ...

    Page 2 itself has the ability to pull in the text that you wrote up in the Define Page Editor ...

    If you turn ON the link for Page 2 then you see the link in the sidebox ...

    If you turn OFF the link for Page 2 then you do NOT see the link in the sidebox ...

    If you turn ON the TEXT for Page 2 then when you go to Page 2 you see the TEXT that you defined in the Define Page Editor ...

    If you turn OFF the TEXT for Page 2 then when you go to Page 2 you do NOT see the TEXT that you defined in the Define Page Editor ...
    Sorry, I seem to be missing a fundamental concept here.

    Right now for Page 2 the setting is "1" which means I should see the link and text. Which text, exactly? "Page 2"?

    If I go into the Define Pages Editor for Page 2 it says:

    <p><strong>Page 2 Sample Text ...</strong></p>
    <p>This section of text is from the Define Pages Editor located under Tools in the Admin.</p>
    <p>To remove this section of the text, delete it from the Define Pages Editor.</p>

    I just don't get it....

    The other pages - like "privacy notice" seem to work as expected. But I don't get the settings for this one or what it means by showing a link but NOT showing text...

    doug

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

    Default Re: Define page status - settings don't appear to be working?

    What is the URL to your site?
    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: v1.5.5]
    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. #10
    Join Date
    Apr 2007
    Posts
    71
    Plugin Contributions
    0

    Default Re: Define page status - settings don't appear to be working?

    Quote Originally Posted by Ajeh View Post
    What is the URL to your site?
    It is http://taonoyume.com

    Setup seems to be coming along, don't you think? :)

    doug

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 created a define page, can edit it, but page contents don't appear
    By tlyczko in forum Customization from the Admin
    Replies: 2
    Last Post: 11 Feb 2013, 11:06 PM
  2. v151 new pages don't appear in Define Pages editor
    By godt in forum General Questions
    Replies: 4
    Last Post: 4 Dec 2012, 01:18 AM
  3. Images don't appear in Firefox from Define Pages pages
    By gotlogos in forum General Questions
    Replies: 1
    Last Post: 30 Jan 2011, 11:23 AM
  4. duplicated 'define page 2' and define page status not appearing
    By twitchtoo in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 7 May 2007, 06:03 AM
  5. Page Editor Not Working Or Define Page Status
    By awoman in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 30 Sep 2006, 11:23 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