Results 1 to 10 of 570

Hybrid View

  1. #1
    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));

  2. #2
    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

  3. #3
    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.

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

    Default Re: How do EZ-Pages work?

    Is this the only way that this could be achieved?

    Thanks for the reply.
    Using Zen Cart 1.5.1

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

    Default Re: How do EZ-Pages work?

    Other than using page2 and page3 method, how can data be pulled, from an outside html page on your own server, utilizing EZ pages?
    Define pages are the way to handle external files within Zen Cart. It would take custom coding to make ez-pages do this, and might introduce security risks (one method bears warnings about this).

    There is a define page generator in Plugins that may make the task of creating them easier: http://www.zen-cart.com/downloads.php?do=file&id=566
    Last edited by gjh42; 5 Nov 2013 at 07:10 PM.

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

    Default Re: How do EZ-Pages work?

    Thanks Glen.
    Using Zen Cart 1.5.1

 

 

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