Forums / Customization from the Admin / Newly created page not displaying info

Newly created page not displaying info

Locked

Views: 1,004

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
19 Jun 2010, 6:37 PM
#1
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Newly created page not displaying info

I am running v1.3.9d and have created a new page called "links". I have added it into the Define Pages Editor as well and have defined the page. When I go to display the page, it is not picking up the description that I have defined. You can see what I mean here http://www.nitwitcollections.com/shop_new/index.php?main_page=links

I know that I am missing telling the cart to grab the define_links page, but I am not sure where to insert and which code to use to tell the cart to grab that file so that it will display it, just like Page 2, etc. in the define pages.

Does some know how to do this?

I appreciate your help,

Jeff

19 Jun 2010, 6:43 PM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,870
Plugin Contributions:
19

Re: Newly created page not displaying info

If you use the Developers Tool Kit to find all instances of Page 2, it will show you all the files that need to exist to present a page.

It might be easier just to change all the Page 2 entries to Links.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

19 Jun 2010, 7:21 PM
#3
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Newly created page not displaying info

Thanks DBLtoe. Unfortunately I have used all of the other pages already and am, in essence, creating Page 5.

I have done as you have suggested and seem to have all of the files:
includes/modules/pages/links/header.php
includes/templates/template_default/templates/tpl_links_default.php
includes/extra_datafiles/links.php
includes/languages/english/links.php
incluldes/languages/english/html_includes/define_links.php

The page comes up great and displays Links as the title in the page, but not displaying the language that I have specified in the define_links.php file. Sorry the link in the upper post does not display as I have the store in Down for Maintenance as I customize this 1.3.9d upgrade.

Any other ideas?

Jeff

19 Jun 2010, 7:54 PM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,870
Plugin Contributions:
19

Re: Newly created page not displaying info

I think if you search with the Developers Tool Kit for Page 2 (or whatever you have it named now), you will find closer to 10 files that need to all be working to obtain your new page.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

20 Jun 2010, 11:17 AM
#5
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Newly created page not displaying info

Have you modified /includes/modules/pages/links/header_php.php to point to the define_links.php file?

// include template specific file name defines
  $define_page = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/html_includes/', FILENAME_DEFINE_LINKS, 'false');

That's assuming that the file /includes/extra_datafiles/links.php contains the statement

define (FILENAME_DEFINE_LINKS, 'define_links');
20 Jun 2010, 4:32 PM
#6
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Newly created page not displaying info

Hi lat9

Yes, I have checked and double checked these files, and followed your code, and it is all there. The other strange thing, is that this Links page shows up in Define Pages Editor, but not in Define Page Status, even thought I have modified the more_information.php sidebox file in includes/modules/sideboxes.

I am thinking that maybe this could be the problem, as the Links page doesn't show up in the Config->Define Page Status so I am not able to activate it? The "Links" does show up in the sidebox.

Any other suggestions?

Thanks,

Jeff

20 Jun 2010, 6:08 PM
#7
nwce avatar

nwce

Zen Follower

Join Date:
Oct 2009
Posts:
444
Plugin Contributions:
0

Re: Newly created page not displaying info

Thanks to both of you for your suggestions and help! I have been working on this for many hours now, and can't seem to find out what I have done wrong.

I've abandoned the project and will find another way to create what I am trying to accomplish.

Thanks again for everything, I do appreciate your help,

Jeff