Zen Cart Logo
Forums / Customization from the Admin / New Page Needed

New Page Needed

Locked

Views: 2,798

Results 1 to 20 of 24
This thread is locked. New replies are disabled.
6 Oct 2010, 4:00 PM
#1
dallison avatar

dallison

New Zenner

Join Date:
Aug 2010
Posts:
79
Plugin Contributions:
0

New Page Needed

using version 1.3.9f, I need to add another page to the information sidebox titled "Secure Ordering". It would be nice if I could edit it from the admin define pages area. What is the easiest way to accomplish this? thanks,

6 Oct 2010, 4:25 PM
#2
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: New Page Needed

There are a number of files you need to duplicate, edit and copy. Take a look at the following files and folders:

includes/modules/pages/page_2/
includes/templates/template_default/tpl_page_2_default.php
includes/languages/english/page_2.php
includes/languages/english/html_includes/define_page_2.php

Each of those will need to be copied, and renamed with your new file name in place of page_2.

You'll also find a few defines which need to be editted and added to the includes/filenames.php file.

Absolute

6 Oct 2010, 7:36 PM
#3
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: New Page Needed

What I find is easier is to turn off all those 'define' pages. In place of them just use the EZ Pages built in to zen to create your needed pages. More flexible and easier to manage.

Just a thought.

6 Oct 2010, 8:08 PM
#4
dallison avatar

dallison

New Zenner

Join Date:
Aug 2010
Posts:
79
Plugin Contributions:
0

Re: New Page Needed

i have not been able to get an ez page to show up anywhere so far and don't know where to turn on the links box that is to contain them. any help would be greatly appreciated.

6 Oct 2010, 8:14 PM
#5
kobra avatar

kobra

Black Belt

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

Re: New Page Needed

i have not been able to get an ez page to show up anywhere so far
In ezpages check that you have enabled the created page for the sidebox
don't know where to turn on the links box that is to contain them.
admin > tools > layout box controller > important information

6 Oct 2010, 10:35 PM
#6
dallison avatar

dallison

New Zenner

Join Date:
Aug 2010
Posts:
79
Plugin Contributions:
0

Re: New Page Needed

ok, due to the excellent help here I have succeeded in getting a new listing under more information of the name Secure Ordering. The bad news is that when I click it I am taken to the page but the edits I put in under admin tools define pages does not show up. Confused here. I made all the edits in prior posts and more to make this appear. Any ideas?

6 Oct 2010, 10:52 PM
#7
kobra avatar

kobra

Black Belt

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

Re: New Page Needed

dallison,
Where is your site?
Did you edit and save?

6 Oct 2010, 10:58 PM
#8
dallison avatar

dallison

New Zenner

Join Date:
Aug 2010
Posts:
79
Plugin Contributions:
0

Re: New Page Needed

site is ezinks.net , i edited and saved each change.
Not sure what id did wrong to keep me from editing the secure ordering page. It shows up under admin tools define pages and the link shows up under the more informatoin box. but when I edit under admin tools it does not display that editing when I click the link under more information.

6 Oct 2010, 11:51 PM
#9
kobra avatar

kobra

Black Belt

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

Re: New Page Needed

List of the files that you created or edited

7 Oct 2010, 12:10 AM
#10
dallison avatar

dallison

New Zenner

Join Date:
Aug 2010
Posts:
79
Plugin Contributions:
0

Re: New Page Needed

Here are the files I have changed. The link is under more information but editing the secure orders page under admin has no effect on the display of the page.

includes/templates/template_default/sideboxes/tpl_more_information.php
includes/modules/sideboxes/more_information.php
includes/templates/template_default/templates/tpl_page_2_default.php
includes/languages/english/html_includes/define_page2.php
includes/languages/english/page_2.php
includes/modules/pages/page 2
includes/templates/template_default/tpl_page_2_default.php
includes/languages/english/html_includes/define_page_2.php
includes/filenames.php

7 Oct 2010, 12:11 AM
#11
dallison avatar

dallison

New Zenner

Join Date:
Aug 2010
Posts:
79
Plugin Contributions:
0

Re: New Page Needed

also changed
includes/filenames.php

7 Oct 2010, 1:22 AM
#12
kobra avatar

kobra

Black Belt

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

Re: New Page Needed

I suggest you get the about us 3rd party module and review what is required to create a new page

Attempting to change one that exists. while can be done, is most likely more complicated

7 Oct 2010, 8:38 AM
#13
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: New Page Needed

The problem with using EzPages is that the URL is never SEO friendly. This is why we always try to create new pages through the longer method, and you can then use these with the Ultimate SEO module to ensure you have readable URLs.

Absolute

7 Oct 2010, 11:55 AM
#14
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: New Page Needed

Absolute:

The problem with using EzPages is that the URL is never SEO friendly. This is why we always try to create new pages through the longer method, and you can then use these with the Ultimate SEO module to ensure you have readable URLs.

Absolute

Good point here. I neglected to mention that I altered the current Ultimate SEO URL module to work with EZ Pages as well (a while back). But I've got to find where I put that (made it for a few of my sites.)

Without that mod, yes, the urls would not be SEO friendly if using EZ Pages.

7 Oct 2010, 4:22 PM
#15
dallison avatar

dallison

New Zenner

Join Date:
Aug 2010
Posts:
79
Plugin Contributions:
0

Re: New Page Needed

Downloaded the About Us mod and used it to create a Secure Ordering page in the information box. Worked great but I have created another hard to describe problem but here goes. Now all the informatin links including the Shipping info link display the title "Secure Ordering" at the top but contain their own text I put in from the admin define pages area.

There is also a small page label at the top which is a link that shows "Home :: Secure Ordering" no matter what page I am on. The Home portion is a link to the home page. I suspect both of these problems are related but have no idea how to fix it or how I did it.
anyone know where I messed this up?

thanks,

7 Oct 2010, 5:40 PM
#17
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: New Page Needed

Sounds like the define('HEADING_TITLE', 'Secure Ordering') has been placed in the wrong file. It needs to be in a file called includes/languages/english/secure_ordering.php or similar, rather than your english.php file.

Absolute

7 Oct 2010, 6:05 PM
#18
dallison avatar

dallison

New Zenner

Join Date:
Aug 2010
Posts:
79
Plugin Contributions:
0

Re: New Page Needed

I searched for that string and these files below are the only ones it shows up in.

/includes/extra_datafiles/secure_ordering.php

Line #23 : define('HEADING_TITLE', 'Secure Ordering');

/includes/languages/english/secure_ordering.php

Line #23 : define('HEADING_TITLE', 'Secure Ordering');

Any idea where else the error could be?

7 Oct 2010, 6:10 PM
#19
kobra avatar

kobra

Black Belt

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

Re: New Page Needed

Did you back out ALL your earlier edits in the attempt to change page_2

7 Oct 2010, 6:13 PM
#20
dallison avatar

dallison

New Zenner

Join Date:
Aug 2010
Posts:
79
Plugin Contributions:
0

Re: New Page Needed

working dilligently to back them out. trying to find them all.