Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Half of the page_4.php doesn't work.

Half of the page_4.php doesn't work.

Locked

Views: 1,024

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
20 Sep 2007, 4:10 PM
#1
hipgirl avatar

hipgirl

New Zenner

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

Half of the page_4.php doesn't work.

Hi,

I changed page_4 in 'more information' tab to 'FAQ' before and it worked fine. Now I want to change it to 'Links'.

I edited the page_4.php in ../includes/language/enlish/classic. And here is what I have now:

<?php // // +----------------------------------------------------------------------+ // |zen-cart Open Source E-commerce | // +----------------------------------------------------------------------+ // | Copyright (c) 2003 The zen-cart developers | // | | // | <http://www.zen-cart.com/index.php> | // | | // | Portions Copyright (c) 2003 osCommerce | // +----------------------------------------------------------------------+ // | This source file is subject to version 2.0 of the GPL license, | // | that is bundled with this package in the file LICENSE, and is | // | available through the world-wide-web at the following url: | // | <http://www.zen-cart.com/license/2_0.txt>. | // | If you did not receive a copy of the zen-cart license and are unable | // | to obtain it through the world-wide-web, please send a note to | // | license AT zen-cart DOT com so we can mail you a copy immediately. | // +----------------------------------------------------------------------+ // $Id: page_4.php 1969 2005-09-13 06:57:21Z drbyte $ // define('NAVBAR_TITLE', 'Links'); define('HEADING_TITLE', 'Links'); define('TEXT_INFORMATION', 'Links'); ?>

The link in 'more information' side box is still FAQ while the nav-bar and text info are updated correctly.

Here is the link of the page:

http://www.hipgirlclips.com/store/index.php?main_page=page_4

Thanks.

Michelle

20 Sep 2007, 6:22 PM
#2
nomadrw avatar

nomadrw

Zen Follower

Join Date:
Sep 2007
Location:
Somewhere in Southern Cal
Posts:
331
Plugin Contributions:
0

Re: Half of the page_4.php doesn't work.

I think this is where you're having the problem

define('TEXT_INFORMATION', 'Links');

Try changing this this back to say
define('TEXT_INFORMATION', 'Page 4 information goes here.');
Also this file (page_4.php) needs to go to a new directory:
includes/languages/english/costum/ (costom will be diffrent on your side, its what ever you named the folder)

That should work

nomad

24 Sep 2007, 2:18 PM
#3
hipgirl avatar

hipgirl

New Zenner

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

Re: Half of the page_4.php doesn't work.

nomadrw:

I think this is where you're having the problem

define('TEXT_INFORMATION', 'Links');

Try changing this this back to say
define('TEXT_INFORMATION', 'Page 4 information goes here.');
Also this file (page_4.php) needs to go to a new directory:
includes/languages/english/costum/ (costom will be diffrent on your side, its what ever you named the folder)

That should work

nomad

Hi nomad,

Thank you for yur reply.

I changed LINKS to 'Page 4 information goes here.' but the link in side box still shows FAQ.

As for custom folder, I think the folder 'classic' is for that purpose. Am I right?

Thanks.

Michelle

24 Sep 2007, 4:25 PM
#4
nomadrw avatar

nomadrw

Zen Follower

Join Date:
Sep 2007
Location:
Somewhere in Southern Cal
Posts:
331
Plugin Contributions:
0

Re: Half of the page_4.php doesn't work.

Michelle is you project live if so can you please give us the website address.
that way I know what to look for.
Notes here. Do not change anything in the classic folder you need to make a copy of any pages (page_4.php) then save that file to your custom folder that you made. If you're not sure where that file goes( Directory and there will be many of them) PLEASE ask the blog, they will tell you were to place the file. I'm still learning myself about Zen.
Note to the default info ie page_4.php that is in your classic folder will redirect to your custom folder. Some how it knows to look for that info.

nomad

25 Sep 2007, 12:54 PM
#5
hipgirl avatar

hipgirl

New Zenner

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

Re: Half of the page_4.php doesn't work.

Thanks.

The link of the page_4 page is

http://www.hipgirlclips.com/store/index.php?main_page=page_4

and the store front page is

http://www.hipgirlclips.com/store

Thanks for the note about the classic folder. I didn't use overide system when set up the zencart so I haven't upgrade to the newest version yet. Guess I need to take a day to move all modified files to their custom folder.

Michelle

27 Nov 2010, 6:29 AM
#6
hipgirl avatar

hipgirl

New Zenner

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

Re: Half of the page_4.php doesn't work.

I found the solution last time but didn't write it down. Now I have the same problem. Took me a couple of hours to search the answer. I'd like to record the answer here in case anybody needs it.

http://www.zen-cart.com/forum/showpost.php?p=482375&postcount=4

Thanks.

Michelle