Zen Cart Logo
Forums / General Questions / add pages to More Information box

add pages to More Information box

Locked

Views: 4,221

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
15 Dec 2006, 2:40 AM
#1
pgfox46 avatar

pgfox46

New Zenner

Join Date:
Dec 2006
Posts:
3
Plugin Contributions:
0

add pages to More Information box

:down: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.

15 Dec 2006, 2:56 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: add pages to More Information box

example from the page_2 page:

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

/includes/templates/YOURTEMPLATE/templates/tpl_page_2_default.php
require($define_page);

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.

15 Dec 2006, 2:58 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

15 Dec 2006, 3:21 AM
#4
pgfox46 avatar

pgfox46

New Zenner

Join Date:
Dec 2006
Posts:
3
Plugin Contributions:
0

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

**

15 Dec 2006, 6:10 AM
#5
g0d4lm1ty avatar

g0d4lm1ty

Zen Follower

Join Date:
Sep 2006
Posts:
257
Plugin Contributions:
0

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