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?

    I have tried leaving it blank and it still fills in the title. I have also tried:

    define('META_TAG_TITLE_EZPAGE_#', 'One Breath Freediving Apparel');

    With no luck either. I have tried editing the original file and of course the override in includes/languages/english/custom

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

    Default Re: How do EZ-Pages work?

    Did you try changing the # with the page_id for the EzPage that you are changing?
    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?

    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

  4. #4
    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!

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

  6. #6
    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!

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

  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
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: How do EZ-Pages work?

    You should then start by selecting "sidebox" and not footer for your easy pages
    layout box controller and enable the sidebox
    Zen-Venom Get Bitten

  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
    You should then start by selecting "sidebox" and not footer for your easy pages
    layout box controller and enable the sidebox
    Thanks. But why is the side box option used for the footer?

 

 
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