Forums / General Questions / How can I do this???

How can I do this???

Locked

Started by wmorris on 5 Aug 2007, 6:39 PM · Views: 4,629

Results 21 to 40 of 40
This thread is locked. New replies are disabled.
6 Aug 2007, 2:47 PM
#21
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

How can I do this???

You should not have any files in /includes/languages/html_includes. This folder should not exist.

You should have a /includes/languages/english/html_includes folder and it should contain a define_clearwire.php file, even though it will be the define_clearwire.php in /includes/languages/english/html_includes/classic that you actually change.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Aug 2007, 2:50 PM
#22
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: How can I do this???

kuroi:

You should not have any files in /includes/languages/html_includes. This folder should not exist.

You should have a /includes/languages/english/html_includes folder and it should contain a define_clearwire.php file, even though it will be the define_clearwire.php in /includes/languages/english/html_includes/classic that you actually change.

I have delete define_clearwire.php file in that folder I still can't do anything

Then why all other files that contains that pages in that folder

6 Aug 2007, 2:54 PM
#23
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How can I do this???

Please list all the files in your /includes/languages/english/html_includes and the files in your /includes/languages/english/html_includes/classic folder and whioch files you can see in the Define Page Editor in Admin

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Aug 2007, 3:03 PM
#24
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: How can I do this???

kuroi:

Please list all the files in your /includes/languages/english/html_includes and the files in your /includes/languages/english/html_includes/classic folder and whioch files you can see in the Define Page Editor in Admin

theses are the files in /includes/languages/english/html_includes/

define_checkout_success
define_clearwire
define_conditions
define_contact_us
define_discount_coupon
define_fund_raisers
define_main_page
define_page_1
define_page_2
define_page_3
define_page_4
define_page_not_found
define_privacy
define_shippingingo
define_site_map

/includes/languages/english/html_includes/classic/

define_checkout_success
define_clearwire
define_conditions
define_contact_us
define_discount_coupon
define_main_page
define_page_1
define_page_2
define_page_3
define_page_4
define_page_not_found
define_privacy
define_shippinginfo
define_site_map

6 Aug 2007, 3:37 PM
#25
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: How can I do this???

I need this fixed ASAP

6 Aug 2007, 3:40 PM
#26
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How can I do this???

kuroi:

... and which files you can see in the Define Page Editor in AdminStill unanswered ...

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Aug 2007, 3:40 PM
#27
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How can I do this???

In the tpl_ file for page_1 you will see:

<?php if (DEFINE_PAGE_1_STATUS >= 1 and DEFINE_PAGE_1_STATUS <= 2) { ?>

There should be something similar in your tpl_ for the clearwire file ...

Do you have the define of:
DEFINE_CLEARWIRE_STATUS

set somewhere?

Without it, the value is 0 or OFF ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Aug 2007, 3:51 PM
#28
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: How can I do this???

have done that but I still getting no text on the main store in the clearwire page......

6 Aug 2007, 3:53 PM
#29
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How can I do this???

You posted your clearwire code ... it shows DEFINE_PAGE_1_STATUS ... did you check the file on the server that it is using the right define in it?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Aug 2007, 3:55 PM
#30
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: How can I do this???

Ajeh:

You posted your clearwire code ... it shows DEFINE_PAGE_1_STATUS ... did you check the file on the server that it is using the right define in it?

I have changed it to DEFINE_CLEARWIRE_STATUS

6 Aug 2007, 3:57 PM
#31
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How can I do this???

Where have you set the definition for:
DEFINE_CLEARWIRE_STATUS

to not be 0?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Aug 2007, 3:59 PM
#32
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: How can I do this???

Ajeh:

Where have you set the definition for:
DEFINE_CLEARWIRE_STATUS

to not be 0?

<?php if (DEFINE_CLEARWIRE_STATUS >= 1 and DEFINE_CLEARWIRE_STATUS <= 2) { ?>
6 Aug 2007, 4:02 PM
#33
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How can I do this???

So are you now saying that the problem that I have been trying to help you fix since post 9 > mtechama:

I have created a page 1 but when I go into admin Tools>Define Pages the drop down menu don't have the new page that I created.is fixed?

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Aug 2007, 4:04 PM
#34
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How can I do this???

That is not the definition of:
DEFINE_CLEARWIRE_STATUS

That is utilizing the defintion that apparently does not exist on your site ... therefor the value is 0 ... :eek:

The way the original pages are done, this value is set in the Admin by storing it in the configuration table ...

You can do this as well with your new page to keep things tidy and easy to locate. The original for page 2 reads:

insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('Define Page 2', 'DEFINE_PAGE_2_STATUS', '1', 'Enable the Defined Page 2 Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', '25', '82', now(), now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),');

You would need to change this to:

insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) values ('Define Clearwire', 'DEFINE_CLEARWIRE_STATUS', '1', 'Enable the Defined Page Clearwire Link/Text?<br />0= Link ON, Define Text OFF<br />1= Link ON, Define Text ON<br />2= Link OFF, Define Text ON<br />3= Link OFF, Define Text OFF', '25', '90', now(), now(), NULL, 'zen_cfg_select_option(array(\'0\', \'1\', \'2\', \'3\'),');

Now you will find the setting in the Configuration ... Define Pages ...

NOTE: Use the Tools ... Insert SQL Patch to add this to your database table ...

NOTE: Backing up before making these changes is always a good idea ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Aug 2007, 4:04 PM
#35
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: How can I do this???

Just me getting goofy.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

6 Aug 2007, 4:05 PM
#36
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: How can I do this???

kuroi:

So are you now saying that the problem that I have been trying to help you fix since post 9 is fixed?

The page I have created is in the Admin>tools>define page editor

I can edit the page but noting comes up in the clearwire page on the main store that is what I am saying

6 Aug 2007, 4:08 PM
#37
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: How can I do this???

kuroi:

Just me getting goofy.

I am totally confused

6 Aug 2007, 4:16 PM
#38
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,683
Plugin Contributions:
0

Re: How can I do this???

Thank you I got It.

So to add other pages I need to do it the same with the others

6 Aug 2007, 4:21 PM
#39
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: How can I do this???

A clone is a complete clone of all defines, files, directories, etc. etc. etc.

If you leave out 1 tiny peice to the clone then you have failed ... :eek:

You must be as umm ... er ... anal ... as possible if you wish to clone ...

This is why EZ-Pages exists to avoid this issue in 95% of all cases ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!