Zen Cart Logo
Forums / Basic Configuration / Unable to make a text appear from the sidebox

Unable to make a text appear from the sidebox

Locked

Views: 6,012

Results 21 to 25 of 25
This thread is locked. New replies are disabled.
16 Jul 2007, 3:42 PM
#21
ajeh avatar

ajeh

Oba-san

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

Unable to make a text appear from the sidebox

If you cloned page_2 identically then there is a define for:
DEFINE_PAGE_2_STATUS

that would now be called:
DEFINE_PAGE_5_STATUS

Where did you set the value of this define so it will show the define page for page_5?

16 Jul 2007, 10:12 PM
#22
bonheddwr avatar

bonheddwr

Zen Follower

Join Date:
Jun 2007
Location:
Cymru
Posts:
124
Plugin Contributions:
0

Re: Unable to make a text appear from the sidebox

Thanks for all of your comments Ajeh.

Ajeh:

If you cloned page_2 identically then there is a define for:
DEFINE_PAGE_2_STATUS

that would now be called:
DEFINE_PAGE_5_STATUS

Where did you set the value of this define so it will show the define page for page_5?

When I say clone, I mean copied each and every reference/file, and changed all of the 2's to 5! That's how basic my knowledge is, but I was nearly there.

I asked our friendly host (Terra Network) for some advice from and they gave me the following code to add to my database using the SQL tab of phpMyAdmin . The text in the page now appears correctly and the new page I created is listed under 'Define Page Status' in the stockroom. YIPEE! :clap:

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 5', 'DEFINE_PAGE_5_STATUS', '1', 'Enable the Defined
  Page 5
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', '83', now(), now(), NULL, 'zen_cfg_select_option(array(\'0\',
 \'1\',
\'2\', \'3\'),');

Right, back to my other problem of tryoing to find a way of including an extra field during the checkout process :dontgetit

18 Jul 2007, 4:20 PM
#23
romy avatar

romy

New Zenner

Join Date:
May 2007
Location:
york, pa
Posts:
98
Plugin Contributions:
0

Re: Unable to make a text appear from the sidebox

Thanks all.
I got it to work

10 Dec 2007, 4:24 PM
#24
techgadgets avatar

techgadgets

New Zenner

Join Date:
Nov 2007
Posts:
4
Plugin Contributions:
0

Re: Unable to make a text appear from the sidebox

hello i am also getting some problem in this module,
i am totally new to the scripting language kindly help me,
when ever a user click two parameters
company and link partners
the following error code is displayed
plz help me!!!!!!!!!!!!!!!!
Warning: require(includes/templates/template_default/templates/tpl_about_us_default.php) [function.require]: failed to open stream: No such file or directory in /home/techgadg/public_html/includes/templates/template_default/common/tpl_main_page.php on line 119

Warning: require(includes/templates/template_default/templates/tpl_about_us_default.php) [function.require]: failed to open stream: No such file or directory in /home/techgadg/public_html/includes/templates/template_default/common/tpl_main_page.php on line 119

Fatal error: require() [function.require]: Failed opening required 'includes/templates/template_default/templates/tpl_about_us_default.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/techgadg/public_html/includes/templates/template_default/common/tpl_main_page.php on line 119

10 Jan 2008, 12:32 PM
#25
gayelston avatar

gayelston

New Zenner

Join Date:
Aug 2006
Location:
Wales
Posts:
80
Plugin Contributions:
0

Re: Unable to make a text appear from the sidebox

Ajeh:

If you cloned page_2 identically then there is a define for:
DEFINE_PAGE_2_STATUS

that would now be called:
DEFINE_PAGE_5_STATUS

Where did you set the value of this define so it will show the define page for page_5?

Hi,
I have EXACTLY the same problem as bonheddwr & my page only shows the title.
I cloned page2 so can't understand why I should need to load a statement into mysql to make it work, but then again I don't understand what you mean by "where did you set the value of this define..."
Can you explain what that means please?
My friend said exactly the same last night, but it was getting REALLY late & we were both tired & he was too exasperated with me to try to explain in terms I can understand:blush:
I followed Kobra's old intructions for cloning page2 & have checked it time & time again, but still can't make any new input into the page5 (called Directories in the more_information box) appear on the front page when the link is selected.
Just the title appears, no new text.
Page5 doesn't appear in the configuration define page status page either, but it does appear everywhere else.
I REALLY need to get this sorted, so am desperately waiting for help.
If I need to put something into mysql I will need very basic instructions because I have never done it before.:dontgetit
Thanks in advance.
Regards
Gay
http://www.artyfactsforcrafts.com