Page 1 of 2 12 LastLast
Results 1 to 10 of 570

Hybrid View

  1. #1
    Join Date
    May 2012
    Posts
    12
    Plugin Contributions
    0

    Default Re: How do EZ-Pages work?

    Quote Originally Posted by Ajeh View Post
    Did you try changing the # with the page_id for the EzPage that you are changing?
    Not sure what you mean

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

    Default Re: How do EZ-Pages work?

    If you look in the URL for this EzPage, you will see something like id=3 ...

    You should then make a define for it that reads:
    Code:
      define('META_TAG_TITLE_EZPAGE_3', 'something');
    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!

  3. #3
    Join Date
    May 2012
    Posts
    12
    Plugin Contributions
    0

    Default Re: How do EZ-Pages work?

    That works for some reason...I guess I have to specify a title for each page I make then..

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

    Default Re: How do EZ-Pages work?

    That is how it is designed so you can make custom titles ...

    You could try customizing the:
    /includes/modules/meta_tags.php

    using your templates and overrides for:
    /includes/modules/your_template_dir/meta_tags.php

    and customize this code:
    Code:
    // EZ-Pages:
      case 'page':
      $ezpage_id = (int)$_GET['id'];
      $chapter_id = (int)$_GET['chapter'];
      if (defined('META_TAG_TITLE_EZPAGE_'.$ezpage_id)) define('META_TAG_TITLE', constant('META_TAG_TITLE_EZPAGE_'.$ezpage_id));
    to read:
    Code:
    // EZ-Pages:
      case 'page':
      $ezpage_id = (int)$_GET['id'];
      $chapter_id = (int)$_GET['chapter'];
      if (defined('META_TAG_TITLE_EZPAGE_'.$ezpage_id)) {
        define('META_TAG_TITLE', constant('META_TAG_TITLE_EZPAGE_'.$ezpage_id));
      } else {
        define('META_TAG_TITLE', (defined('NAVBAR_TITLE') ? NAVBAR_TITLE . PRIMARY_SECTION : ''));
      }
      if (defined('META_TAG_DESCRIPTION_EZPAGE_'.$ezpage_id)) define('META_TAG_DESCRIPTION', constant('META_TAG_DESCRIPTION_EZPAGE_'.$ezpage_id));
    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!

  5. #5
    Join Date
    Aug 2011
    Posts
    199
    Plugin Contributions
    0

    Default Re: How do EZ-Pages work?

    Worked for me too!
    This should be made sticky. I searched and searched and found the answer today !

    Quote Originally Posted by Ajeh View Post
    That is how it is designed so you can make custom titles ...

    You could try customizing the:
    /includes/modules/meta_tags.php

    using your templates and overrides for:
    /includes/modules/your_template_dir/meta_tags.php

    and customize this code:
    Code:
    // EZ-Pages:
      case 'page':
      $ezpage_id = (int)$_GET['id'];
      $chapter_id = (int)$_GET['chapter'];
      if (defined('META_TAG_TITLE_EZPAGE_'.$ezpage_id)) define('META_TAG_TITLE', constant('META_TAG_TITLE_EZPAGE_'.$ezpage_id));
    to read:
    Code:
    // EZ-Pages:
      case 'page':
      $ezpage_id = (int)$_GET['id'];
      $chapter_id = (int)$_GET['chapter'];
      if (defined('META_TAG_TITLE_EZPAGE_'.$ezpage_id)) {
        define('META_TAG_TITLE', constant('META_TAG_TITLE_EZPAGE_'.$ezpage_id));
      } else {
        define('META_TAG_TITLE', (defined('NAVBAR_TITLE') ? NAVBAR_TITLE . PRIMARY_SECTION : ''));
      }
      if (defined('META_TAG_DESCRIPTION_EZPAGE_'.$ezpage_id)) define('META_TAG_DESCRIPTION', constant('META_TAG_DESCRIPTION_EZPAGE_'.$ezpage_id));

  6. #6
    Join Date
    Dec 2012
    Posts
    607
    Plugin Contributions
    0

    Default Re: How do EZ-Pages work?

    Trying to implement a lot of easy pages, with a lot of characters. Product parts manuals and cannot use PDFs!

    What is the best way to use EZ pages without storing data in the database?

    Other than using page2 and page3 method, how can data be pulled, from an outside html page on your own server, utilizing EZ pages?
    Last edited by Kevin205; 5 Nov 2013 at 03:57 PM.
    Using Zen Cart 1.5.1

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

    Default Re: How do EZ-Pages work?

    You could create the ez-page as an external link; this would go to the actual html page when clicked, and would be outside the ZC structure.

    You would probably want some standardized HTML wrapping for these pages so they resemble your site, including prominent links to lead back to the ZC structure.

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How do EZ-Pages work?

    But why is the side box option used for the footer?
    Do not understand??
    There are 4 settings for a page
    header
    sidebox
    footer
    TOC
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    530
    Plugin Contributions
    2

    Default Re: How do EZ-Pages work?

    Quote Originally Posted by kobra View Post
    Do not understand??
    There are 4 settings for a page
    header
    sidebox
    footer
    TOC
    Coffee in hand. Good morning Kobra

    Let's work on this now - no interruptions

  10. #10
    Join Date
    Jul 2005
    Location
    Hoedspruit
    Posts
    530
    Plugin Contributions
    2

    Default Re: How do EZ-Pages work?

    Quote Originally Posted by kobra View Post
    Do not understand??
    There are 4 settings for a page
    These have all been toggled and orders entered and removed in the past.

    Quote Originally Posted by kobra View Post
    header
    Status - disabled

    Quote Originally Posted by kobra View Post
    sidebox
    Status - enabled, sort order 25

    Quote Originally Posted by kobra View Post
    footer
    Status - enabled, order 30

    Quote Originally Posted by kobra View Post
    TOC
    Status - enabled, Chapter 1, TOC 10

    Configuration>EZ-Pages Settings

    Display status of footerbar and sidebox both 1 = on

    The footer display is my first prize position. Is there a way to incorporate the pricing and custom products links into the shop column?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v154 Links ON ez-pages TO OTHER turned-off ez-pages don't work after upgrade
    By anduril3019 in forum Upgrading to 1.5.x
    Replies: 2
    Last Post: 19 May 2015, 09:12 AM
  2. how do i get javascript to work in the ez pages?
    By warroyo90 in forum General Questions
    Replies: 2
    Last Post: 28 Mar 2012, 05:14 AM
  3. How can I get my CSS navigation tabs to work for groups of similar pages?
    By sifuhall in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 27 Nov 2009, 07:57 PM
  4. Replies: 3
    Last Post: 22 Jul 2008, 12:01 AM
  5. Bwahahaha How do I get ez-pages to work?
    By hodgejr in forum General Questions
    Replies: 7
    Last Post: 8 Oct 2007, 09:10 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