Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2006
    Posts
    3
    Plugin Contributions
    0

    Default add pages to More Information box

    I have seen the archive posts regarding this matter. I have tried to trace my steps and see where I have failed.
    I added page 5 to the more information box. It shows up in Define Pages Editor, I can edit it, it keeps the text. It shows on the box if I click the link it goes to the page but it only displays the back button. Where did I go wrong? I have found a download (about us) and even compared how it works. The only thing I'm missing is to add the extra_datafiles but the way the about us module works does not look quite the same. I appreciate any help or ideas, please keep in mind I don't even know code, and until I try zencart I didn't even know how to design a webpage. I still don't but my friend Zankye is nudging me in the right direction.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: add pages to More Information box

    example from the page_2 page:

    /includes/modules/pages/page_2/header_php.php
    [FONT="Courier New"]$define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_PAGE_2, 'false');[/FONT]


    /includes/templates/YOURTEMPLATE/templates/tpl_page_2_default.php
    [FONT="Courier New"] require($define_page);[/FONT]

    Note the references to page_2 and the consistency of the variable named $define_page

    If you have no definition for FILENAME_DEFINE_PAGE_5 (since you mentioned page #5), you'll have to create one -- typically in the extra_datafiles folder.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

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

    Default Re: add pages to More Information box

    While it may still be fresh in your mind can you post the names of the files that your either created and or edited...all of them
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Dec 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: add pages to More Information box

    public_html/pgfox/admin/includes/languages/english.php
    public_html/pgfox/admin/includes/languages/english/define_pages_editor.php
    public_html/pgfox/includes/filenames.php
    public_html/pgfox/includes/modules/sideboxes/more_information.php
    public_html/pgfox/includes/templates/template_default/templates/tpl_myNewPage_default.php
    public_html/pgfox/includes/templates/template_default/templates/tpl_page_5_default.php
    public_html/pgfox/includes/templates/template_default/templates/tpl_site_map_default.php
    public_html/pgfox/admin/includes/languages/english.php
    public_html/pgfox/admin/includes/languages/english/define_pages_editor.php
    public_html/pgfox/includes/languages/english/html_includes/define_page_5.php


  5. #5
    Join Date
    Sep 2006
    Posts
    257
    Plugin Contributions
    0

    Default Re: add pages to More Information box

    http://www.zen-cart.com/forum/showthread.php?t=14985<---- this link breaks it down step by step.... (altho a few are not needed)

    i had the same blank page problem and kobra help me solve that... check out my thread.....

    http://www.zen-cart.com/forum/showthread.php?t=53394


    with those 2 threads my site is working fine... hope it helps

 

 

Similar Threads

  1. How do I add additional pages to more information side box?
    By marketimpact in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 8 Sep 2010, 11:59 AM
  2. EZ Pages & More Information Box Help
    By headyntl in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 23 Aug 2008, 12:17 AM
  3. Add pages to the "more information" box
    By PeterBKK in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Jan 2008, 07:45 AM
  4. more information box - adding more pages
    By ALFO in forum Basic Configuration
    Replies: 3
    Last Post: 11 Dec 2007, 10:56 PM
  5. Add pages to More Information Box?
    By centrix in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 15 Apr 2007, 07:33 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