Forums / Customization from the Admin / created a define page, can edit it, but page contents don't appear

created a define page, can edit it, but page contents don't appear

Started by tlyczko on 11 Feb 2013, 5:19 PM · Views: 1,857

Results 1 to 3 of 3
11 Feb 2013, 5:19 PM
#1
tlyczko avatar

tlyczko

Zen Follower

Join Date:
Dec 2003
Location:
UPstate NY
Posts:
398
Plugin Contributions:
1

created a define page, can edit it, but page contents don't appear

I used this procedure to create a define page:

http://www.question-defense.com/2008/10/12/how-to-add-a-new-define-pages-page-to-the-information-sidebox-in-zencart

Problem is that the define page appears in the Admin and I can edit it in the Define Pages editor, but none of the defined page's content appears in the page per se upon testing within the localhost site.

The Information box link works, I get the H1 tag with the page title, but no content appears and no errors appear anywhere either.

Should the procedure be done differently or something??

Thank you, Tom

11 Feb 2013, 6:31 PM
#2
tlyczko avatar

tlyczko

Zen Follower

Join Date:
Dec 2003
Location:
UPstate NY
Posts:
398
Plugin Contributions:
1

Re: created a define page, can edit it, but page contents don't appear

I also tried again using this addon with everything changed to the page I want:
http://www.zen-cart.com/downloads.php?do=file&id=314

Still no define text appears -- I can edit and save the define page page but I still do not see page content.

Also reviewed this thread: http://www.zen-cart.com/showthread.php?48497-How-to-add-pages-to-define-page-status

I've also done the admin sql and I can see/edit the define page in admin and my changes get saved to the proper file but no content appears...

Thank you, Tom

11 Feb 2013, 10:06 PM
#3
tlyczko avatar

tlyczko

Zen Follower

Join Date:
Dec 2003
Location:
UPstate NY
Posts:
398
Plugin Contributions:
1

Re: created a define page, can edit it, but page contents don't appear

I finally got it figured out -- there's TWO places in /includes/filenames.php where the new define page must be declared.

Once I saw and implemented this, the new define page text appeared properly.

Thank you, Tom

BTW these instructions are very good -- http://www.zen-cart.com/attachment.php?attachmentid=4077&d=