Page 2 of 10 FirstFirst 1234 ... LastLast
Results 11 to 20 of 93
  1. #11
    Join Date
    Mar 2007
    Location
    WAY out West
    Posts
    89
    Plugin Contributions
    0

    Default Re: Define Pages / EZ Pages

    Seven times I thank YOU Kobra, that awesome mod is exactly how I did the last one but CRS Syndrome had wiped the few remaining brain cells. What once was lost has now been found and I shall sing as I work again instead of muttering.
    Henrietta


  2. #12
    Join Date
    May 2007
    Location
    North Carolina
    Posts
    4
    Plugin Contributions
    0

    Default Re: Define Pages / EZ Pages

    Thanks Kobra,

    That worked great. I just need to figure out why the heading title is showing up as 'HEADING_TITLE' instead of 'page_5'.

    I believe one of my previous problems was that I messed up the tpl_page_5_default.php file. I forgot I had created this file and plus messed up the code. I was able to duplicate the problem with latest tpl_page_5_default.php file. So this was at least part of my trouble where the right sideboxes/etc was disappearing.

    Thanks again, I owe you.

  3. #13
    Join Date
    Jan 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Define Pages / EZ Pages

    I made all the changes... but i am getting a blank page for page 5. Page 5 heading is there... i can also access page 5 in the admin section under define pages editor. All my html text is there, but is is not showing up. Where should i look to see if i missed something??

  4. #14
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Define Pages / EZ Pages

    I made all the changes... but i am getting a blank page for page 5. Page 5 heading is there... i can also access page 5 in the admin section under define pages editor. All my html text is there, but is is not showing up. Where should i look to see if i missed something??
    Double check that you have a define_page_5.php file in your includes/languages/html_includes/ - folder even if it is a blank one along with your edited one in your overrides folder
    Zen-Venom Get Bitten

  5. #15
    Join Date
    Jan 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Define Pages / EZ Pages

    yes... i have it in:

    /public_html/includes/languages/english/html_includes/

    and also in:

    /public_html/includes/languages/english/html_includes/classic


    It's strange, cause it shows up in the admin section under define pages editor... but just a blank page where my html text should be. It has the header and everything else... but it does not show what i have in the define pages editor.

  6. #16
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Define Pages / EZ Pages

    Check all of these:
    Create/clone these as page_5
    /includes/modules/pages/page_2/header_php.php
    /includes/languages/english/page_2.php
    /includes/templates/template_default/templates/tpl_page_2_default.php

    Add/edit these to include page_5
    /includes/modules/sideboxes/more_information.php
    /includes/languages/english.php
    /includes/filenames.php

    Create define_page_5.php in both of these folders
    /includes/languages/html_includes
    /includes/languages/html_includes/your_template

    And the about us mod in the downloads section instruction
    Zen-Venom Get Bitten

  7. #17
    Join Date
    Jan 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Define Pages / EZ Pages

    checked everything.... changed everything from page_2 to page_5 and added page_5 where it should be added.

    only thing i am not sure about is the code for more_information.php... here is what i have:

    unset($more_information);

    // 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>';
    }
    if (DEFINE_PAGE_5_STATUS <= 1) {
    $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_5) . '">' . BOX_INFORMATION_PAGE_5 . '</a>';
    }

    // insert additional links below to add to the more_information box
    // Example:
    // $more_information[] = '<a href="' . zen_href_link(FILENAME_DEFAULT) . '">' . 'TESTING' . '</a>';


    // only show if links are active
    if (sizeof($more_information) > 0) {
    require($template->get_template_dir('tpl_more_information.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_more_information.php');

    $title = BOX_HEADING_MORE_INFORMATION;
    $title_link = false;
    require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);
    }
    ?>

    I am not sure if have this correct, or if i should have put page_5 code where it says: insert additional links below to add to the more_information box.

    I tried putting it there instead of where i had it, and it still did not work.

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

    Default Re: Define Pages / EZ Pages

    You have missed something??? Hard to determine from the forum....
    Did you also review the instructions in the about us mod with any enlightenment?
    Zen-Venom Get Bitten

  9. #19
    Join Date
    Jan 2007
    Posts
    50
    Plugin Contributions
    0

    Default Re: Define Pages / EZ Pages

    Looked at the about us mod instructions... not much help... not sure why this is not working... i will start all over from scratch and see if that works.

    Everything seems to be correct, the link is in the more information box, when you click the link, it takes you to page 5, the correct header is there, but no html text... it's like it cant find the text.

    oh well... i will start all over and see if that helps.

    I would try using ez pages, but i dont think that will work in the more information box.

  10. #20
    Join Date
    May 2007
    Posts
    17
    Plugin Contributions
    1

    Default Re: Define Pages / EZ Pages

    I was also wondering how to create a new define page and found this post.

    Thanks to the instructions given by you guys, I have successfully created a new define page. Except only one step is missing; you have to insert a new row in the "configuration" table in the database.
    Code:
    INSERT  INTO  `zencart`.`zen_configuration` ( `configuration_id` ,
     `configuration_title` ,
     `configuration_key` ,
     `configuration_value` ,
     `configuration_description` ,
     `configuration_group_id` ,
     `sort_order` ,
     `last_modified` ,
     `date_added` ,
     `use_function` ,
     `set_function` 
    )
    VALUES ( NULL ,  'Define Page 9',  'DEFINE_PAGE_9_STATUS',  '1',  'Enable the Defined Page 9 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',  '85',  NULL ,  '0001-01-01 00:00:00',  NULL ,  'zen_cfg_select_option(array(''0'', ''1'', ''2'', ''3''),'
    );

 

 
Page 2 of 10 FirstFirst 1234 ... LastLast

Similar Threads

  1. Blank Web Pages after changing Page_2_3_4 URLs in Define Pages
    By chevvychase81 in forum General Questions
    Replies: 14
    Last Post: 31 Mar 2011, 10:15 AM
  2. remove <meta description> from ez pages and define pages : help
    By vandiermen in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 27 Oct 2010, 12:13 AM
  3. German pack: Define Pages editor works, EZ pages does not
    By jami1955 in forum Addon Language Packs
    Replies: 1
    Last Post: 8 Jul 2010, 10:52 AM
  4. 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
  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

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