Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Define page status - settings don't appear to be working?

Define page status - settings don't appear to be working?

Locked

Views: 8,005

Results 21 to 27 of 27
This thread is locked. New replies are disabled.
8 Apr 2007, 3:56 AM
#21
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Define page status - settings don't appear to be working?

douglerner:

So the text refers to the define page editor contents for that page? But why would you want a link that goes to a page which didn't display anything?

doug

You wouldn't ... so ... don't choose that option in that case.

All the switch settings are configured similarly. In "some" cases they don't apply as equally.

You only need to apply common sense ... if you don't want it to operate that way, don't set it that way.

8 Apr 2007, 3:59 AM
#22
ajeh avatar

ajeh

Oba-san

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

Re: Define page status - settings don't appear to be working?

Scenario:
I am re-writting the page ... I don't want you to see it ...

I am a typical store owner and do not know how to edit code ...

I need a switch or a configuration setting in the admin to turn off that text ...

I am a typical store owner and do not know how to edit code ...

I don't need all that stuff nor want all that stuff in the define page text editor ... I just want what I have in my language file define statement ...

I need a switch or a configuration setting in the admin to turn off that text ...

I am a typical store owner and do not know how to edit code ...

I want to turn off the Link in the more_information sidebox and add the link in the footer with EZ-Pages ... but I want the Define text to show ...

8 Apr 2007, 4:01 AM
#23
douglerner avatar

douglerner

New Zenner

Join Date:
Apr 2007
Posts:
71
Plugin Contributions:
0

Re: Define page status - settings don't appear to be working?

DrByte:

You wouldn't ... so ... don't choose that option in that case.

All the switch settings are configured similarly. In "some" cases they don't apply as equally.

You only need to apply common sense ... if you don't want it to operate that way, don't set it that way.

So the setting is just there "for completeness"? :)

Getting back to my other question for a minute, how do I change the link text itself from "Page 2" to something else?

In this tutorial section:

https://www.zen-cart.com/tutorials/index.php?article=242

it says I should change the definitions in the "page_2.php" file. But even after doing that the link text itself does not change....

doug

8 Apr 2007, 4:07 AM
#24
douglerner avatar

douglerner

New Zenner

Join Date:
Apr 2007
Posts:
71
Plugin Contributions:
0

Re: Define page status - settings don't appear to be working?

Ajeh:

Scenario:
I am re-writting the page ... I don't want you to see it ...

I am a typical store owner and do not know how to edit code ...

I need a switch or a configuration setting in the admin to turn off that text ...

I am a typical store owner and do not know how to edit code ...

I don't need all that stuff nor want all that stuff in the define page text editor ... I just want what I have in my language file define statement ...

I need a switch or a configuration setting in the admin to turn off that text ...

I am a typical store owner and do not know how to edit code ...

I want to turn off the Link in the more_information sidebox and add the link in the footer with EZ-Pages ... but I want the Define text to show ...

I guess temporarily hiding makes sense. But it would make more sense to just hide the link itself and not confuse people with an empty page, I would think... Anyway, I get it now. Thanks!

doug

8 Apr 2007, 4:10 AM
#25
ajeh avatar

ajeh

Oba-san

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

Re: Define page status - settings don't appear to be working?

And when there are 1000s of Zen Carts out there and 10% want this working one way and 25% want it working another way and 35% want it another way and ... and ... and ... :eek:

You make a switch and let the store owner set it the way s/he wants to set it at any given moment of the day ... :lamo:

8 Apr 2007, 4:13 AM
#26
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Define page status - settings don't appear to be working?

douglerner:

Getting back to my other question for a minute, how do I change the link text itself from "Page 2" to something else?

In this tutorial section:

https://www.zen-cart.com/tutorials/index.php?article=242

it says I should change the definitions in the "page_2.php" file. But even after doing that the link text itself does not change....

doug

The "link name" for the sidebox content is actually in the english.php file.
The "page_2.php" file contains the heading and breadcrumb definitions, as those are read "only" when page_2 is loaded (cuz "page_2" will load page_2.php language file and tpl_page_2_default.php template file, etc etc ...) but since the sidebox links are on "all "pages, it needs to be defined globally ... hence you'll see it in the english.php file, which loads for all pages.

8 Apr 2007, 4:25 AM
#27
douglerner avatar

douglerner

New Zenner

Join Date:
Apr 2007
Posts:
71
Plugin Contributions:
0

Re: Define page status - settings don't appear to be working?

DrByte:

The "link name" for the sidebox content is actually in the english.php file.
The "page_2.php" file contains the heading and breadcrumb definitions, as those are read "only" when page_2 is loaded (cuz "page_2" will load page_2.php language file and tpl_page_2_default.php template file, etc etc ...) but since the sidebox links are on "all "pages, it needs to be defined globally ... hence you'll see it in the english.php file, which loads for all pages.

Thanks. That worked.

The settings sure are scattered here and there, aren't they!

doug