Results 1 to 10 of 137

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Define Pages Generator - Support

    Hi I just wanted to say how great I think this program is. I've been unsure for a while whether to use Define Pages or E-Z Pages for a particular project where by many extra pages will be needed. I really wanted to avoid E-Z Pages because of their meaningless URLs but was always put off by the complexity of the Define Pages. This contribution solves this problem.

  2. #2
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Define Pages Generator - Support

    This generator is amazing. I was sitting here forever individually changing names. Only problem is the new pages aren't showing up in Configuration-->Define Page Status and they also aren't showing up in my Information Sidebox. I did alter the information.php file to include my new pages.

  3. #3
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Define Pages Generator - Support

    Quote Originally Posted by khopek View Post
    the new pages aren't showing up in Configuration-->Define Page Status
    Check to make sure the file is in both of these locations:

    includes/languages/english/html_includes

    and

    includes/languages/english/html_includes/your_template

  4. #4
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: Define Pages Generator - Support

    Sorry I thought you said Define Pages Editor.

    I don't think they're supposed to appear under Define Page Status.

  5. #5
    Join Date
    Aug 2006
    Location
    portlandish, oregon
    Posts
    799
    Plugin Contributions
    0

    Default Re: Define Pages Generator - Support

    Oh well then I guess everything is perfect! One thing though, is my zenID supposed to be showing in every link to the new Defines Pages?

  6. #6
    Join Date
    Aug 2008
    Location
    Jakarta
    Posts
    4
    Plugin Contributions
    1

    Default Re: Define Pages Generator - Support

    Quote Originally Posted by khopek View Post
    This generator is amazing. I was sitting here forever individually changing names. Only problem is the new pages aren't showing up in Configuration-->Define Page Status and they also aren't showing up in my Information Sidebox. I did alter the information.php file to include my new pages.
    hello Khopek and Anno,
    i'm new comer in zen-cart. To add the new define page to Define Page Status, you must execute this SQL command in your database (you can use phpmyadmin) :

    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 (
    'Name of your Form', 'DEFINE_NAME_OF_YOUR_FORM_STATUS', '1', 'Enable Name of Your Form 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\'),');

    notes :
    - change name_of_your_form with the name of your form
    - if you use prefix for the table, i.e : 'zen_', then change the table configuration with zen_configuration in SQL command above

    To add your new define page in sidebox, you must edit the sidebox file. For example, open your includes/modules/sideboxes/information.php. Add these lines to your information.php under unset($information); :

    if (DEFINE_NAME_OF_YOUR_FORM_STATUS <= 1) {
    $information[] = '<a href="' . zen_href_link(FILENAME_NAME_OF_YOUR_FORM) . '">' . BOX_INFORMATION_NAME_OF_YOUR_FORM . '</a>';
    }

    note :
    - also change name_of_your_form with the name of your form

    save the file and refresh your Online Catalog.

    regards,

    siyam junianto
    Last edited by sjunianto; 28 Aug 2008 at 11:08 PM. Reason: adding notes

  7. #7
    Join Date
    Jun 2008
    Location
    Washington, DC
    Posts
    789
    Plugin Contributions
    7

    Default Re: Define Pages Generator - Support

    banswidthjunkie I just think this app is better then sliced bread it saves so much time.
    As a small give back I am posting this snippet of code I use for custom define page meta tags.

    I was in need of real meta tags for my Define Pages so I have
    come up with this small snippet of code to allow custom meta tags for
    all of my define pages. I am using it with v1.3.8

    How to setup:

    If you are NOT using an overwrite meta_tags file then
    copy /includes/modules/meta_tags.php to your /includes/modules/YOUR_TEMPLET/meta_tags.php if you are
    then just open /includes/modules/YOUR_TEMPLET/meta_tags.php to edit.
    Find: Around Line 336
    PHP Code:
      // NO "break" here. Allow defaults if not overridden at the per-page level
      
    default:
      
    define('META_TAG_TITLE', (defined('NAVBAR_TITLE') ? NAVBAR_TITLE PRIMARY_SECTION '') . TITLE TAGLINE);
      
    define('META_TAG_DESCRIPTION'TITLE PRIMARY_SECTION . (defined('NAVBAR_TITLE') ? NAVBAR_TITLE '' ) . SECONDARY_SECTION KEYWORDS);
      
    define('META_TAG_KEYWORDS'KEYWORDS METATAGS_DIVIDER . (defined('NAVBAR_TITLE') ? NAVBAR_TITLE '' ) );

    Replace with:
    PHP Code:
    // NO "break" here. Allow defaults if not overridden at the per-page level
      
    default:
      
    /********************************************************************
       *
       * Define Pages Meta Tags SkipWater 08.08.08
       * Due to unknown page names we look for DESCRIPTION_DEFINE_PAGE
       * To setup add your meta tag values to:
       * /includes/languages/english/YOUR_TEMPLET/define_page_file_name.php
       * define('TITLE_DEFINE_PAGE', (defined('NAVBAR_TITLE') ? NAVBAR_TITLE . PRIMARY_SECTION : '') . TITLE); // use as default or change
       * define('DESCRIPTION_DEFINE_PAGE','Your Description Here');
       * define('KEYWORDS_DEFINE_PAGE','Your Keywords Here');
       * If you do not want to use Define Page Custom Meta Tags
       * do not declare them in your /includes/languages/english/YOUR_TEMPLET/define_page_file_name.php file.
       * 
      ********************************************************************/
      
    if (defined('DESCRIPTION_DEFINE_PAGE')){
            
    define('META_TAG_TITLE'TITLE_DEFINE_PAGE);
              
    define('META_TAG_DESCRIPTION'DESCRIPTION_DEFINE_PAGE);
              
    define('META_TAG_KEYWORDS'KEYWORDS_DEFINE_PAGE);
      } else {
              
    define('META_TAG_TITLE', (defined('NAVBAR_TITLE') ? NAVBAR_TITLE PRIMARY_SECTION '') . TITLE TAGLINE);
              
    define('META_TAG_DESCRIPTION'TITLE PRIMARY_SECTION . (defined('NAVBAR_TITLE') ? NAVBAR_TITLE '' ) . SECONDARY_SECTION KEYWORDS);
              
    define('META_TAG_KEYWORDS'KEYWORDS METATAGS_DIVIDER . (defined('NAVBAR_TITLE') ? NAVBAR_TITLE '' ) );

      }

    Now to add meta tags to your define page open
    /includes/languages/english/YOUR_TEMPLET/define_page_file_name.php
    Find:
    PHP Code:
    // This is used to display the heading and the navigation bar
        
    define('NAVBAR_TITLE''title');
        
    define('HEADING_TITLE''heading title'); 
    add below it:
    PHP Code:
    // This is used for custom define page meta tags
        
    define('TITLE_DEFINE_PAGE', (defined('NAVBAR_TITLE') ? NAVBAR_TITLE PRIMARY_SECTION '') . TITLE); // use as default or change
        
    define('DESCRIPTION_DEFINE_PAGE','Your Description Here');
        
    define('KEYWORDS_DEFINE_PAGE','Your Keywords Here'); 
    Thanks Again
    Skip
    • 446F63746F722057686F •

  8. #8
    Join Date
    Feb 2008
    Posts
    1,336
    Plugin Contributions
    1

    Default Re: Define Pages Generator - Support

    Hello
    I downloaded this mod and Iam trying to use to generate links in my items description for extra information regarding these items for example sample Installed item or Available options, Now My problem is locating the Directory, Iam not sure I understand what you mean by Directory in this File. I tried to use the browse button and was able to create files on my desktop, but when i type in the link of where I want these files to be create i get a message Directory does not exist. Iam typing in www.coolcarpartsonline.com/dev/info/pages which is where I want to create these pages. Please can you explain more about the "directory".
    Would this work for my application????
    "Creating pages to have link to into my product description."

 

 

Similar Threads

  1. Define Pages Generator on 1.39h ?
    By pizza392 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 28 Mar 2011, 06:47 AM
  2. Define Define Pages / Information pages Manager needed
    By thunderesl in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 2 Jun 2010, 02:42 PM
  3. ePier Bulk File Generator Support Thread
    By numinix in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 28 Jul 2009, 08:16 PM
  4. How do I change navbar titles in Pages made using define pages generator?
    By lifebot in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Mar 2008, 06:13 PM
  5. index_default & define pages(4+ define pages on frontpage?)
    By mrmarcus66 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2006, 07:38 PM

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