Zen Cart Logo
Forums / General Questions / Manually added page_5 does not show content but does in admin

Manually added page_5 does not show content but does in admin

Views: 540

Results 1 to 3 of 3
10 Jun 2016, 7:01 AM
#1
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Manually added page_5 does not show content but does in admin

Hi

I know what you will say ..Use EzyPages . OK I get it but I want to know how to add manually.

I have made changes as below. In admin in define pages it shows page_5 and its contents correctly. When I check in public it only shows page banner and nothing (not even a resemblance of a page /no white blank box) at the bottom of it. It looks as if not calling the page_5 or did not exists.

So where did I go wrong?

Here is the blank page http://premiersalon.com.au/index.php?main_page=page_5 (page link navigation name - Product Knowledge.)

/admin/includes/languages/english.php ( one line: define('BOX_TOOLS_DEFINE_PAGE_5','Page 5'

/admin/includes/languages/english/define_page_editor.php ( one line: define('TEXT_INFO_PAGE_5', 'Page 5')

/includes/modules/pages/page_5/header_php.php ( cloned folder, changed folder name & edited

/includes/filenames.php 2 places - define('FILENAME_DEFINE_PAGE_5', 'define_page_5'); & define('FILENAME_PAGE_5', 'page_5');

/includes/languages/english.php - define('BOX_INFORMATION_PAGE_5', 'Page 5');

/templates/template_default/templates/tpl_page_5_default.php

/templates/template_default/templates/tpl_site_map_default.php

<?php if (DEFINE_PAGE_5_STATUS <= '1') { ?> <li><?php echo '<a href="' . zen_href_link(FILENAME_PAGE_5) . '">' . BOX_INFORMATION_PAGE_5 . '</a>'; ?></li> made the ones in template_default there and in my template override folder as well

I don't need side box links so I did not use following at all
/modules/sideboxes/more_information.php - 2 places
if (DEFINE_PAGE_5_STATUS <= 1) {
$more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_5) . '">' . BOX_INFORMATION_PAGE_5 . '</a>';

Footnote: This page_5 did work prior upgrade to 1.5.5a from 1.5.3. Everything else works 100%

Downunder QLD

10 Jun 2016, 7:24 AM
#2
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Manually added page_5 does not show content but does in admin

You have a partial white page, which means there must be a deBug log file in your logs folder. Please post the complete contents of the latest file and we can help you further.

10 Jun 2016, 7:43 AM
#3
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: Manually added page_5 does not show content but does in admin

Never mind . fixed.

Downunder QLD