Forums / Templates, Stylesheets, Page Layout / Directory Location for ez-pages added pages

Directory Location for ez-pages added pages

Locked

Started by pepethegaywaiter on 15 Feb 2007, 6:30 AM · Views: 2,383

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
15 Feb 2007, 6:30 AM
#1
pepethegaywaiter avatar

pepethegaywaiter

New Zenner

Join Date:
Feb 2007
Posts:
6
Plugin Contributions:
0

Directory Location for ez-pages added pages

http://www.carlisleco.net/index.php?main_page=page_2

I want each of the states to link to a page for each state listing contact information. I want to create each of these pages with ez-pages and I want them to be editable with ez-pages but I don't know where the pages that ez-pages creates. My thinking is that I can link the <option value=""> to the ezpages created page. Can anyone tell me where the page is created?

**** EDITED *** Never ever post in a forum, email, newsletter etc. the zenid or zenAdminID or you will be doomed!!** :eek:

15 Feb 2007, 7:07 AM
#2
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Directory Location for ez-pages added pages

EZ-pages are stored in the database.

the link would be something like this:

<a href="' . zen_ez_pages_link(3) . '">YOUR_LINK_TEXT</a>'

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Feb 2007, 7:23 AM
#3
pepethegaywaiter avatar

pepethegaywaiter

New Zenner

Join Date:
Feb 2007
Posts:
6
Plugin Contributions:
0

Re: Directory Location for ez-pages added pages

<form name="replocator"> <SELECT name="replocator" onChange="window.location=document.replocator.replocator.options[document.replocator.replocator.selectedIndex].value"> <option value=". zen_ez_pages_link(3) . '">Alabama <option value=". zen_ez_pages_link(3) . '">Alaska

Would that be the proper syntax?

15 Feb 2007, 7:43 AM
#4
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Directory Location for ez-pages added pages

That looks like it should work.

Remember that COLOR="Red"[/COLOR] should be replaced with whatever id number your EZ-page has.

(3) would be alabama
(4) would be alaska

If you are going to have 50 different pages, don't forget to set the number of EZ-pages allowed:

admin -> configuration - maximum values -> maximum display EZ-pages

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Feb 2007, 7:47 AM
#5
pepethegaywaiter avatar

pepethegaywaiter

New Zenner

Join Date:
Feb 2007
Posts:
6
Plugin Contributions:
0

Re: Directory Location for ez-pages added pages

Hmm. Doesn't seem to be working. Flags a 404 when I do that.

15 Feb 2007, 8:03 AM
#6
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Directory Location for ez-pages added pages

Have you created your EZ_pages?

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Feb 2007, 8:07 AM
#7
pepethegaywaiter avatar

pepethegaywaiter

New Zenner

Join Date:
Feb 2007
Posts:
6
Plugin Contributions:
0

Re: Directory Location for ez-pages added pages

Yes. The page id for alabama is 3 and alaska 4.

15 Feb 2007, 8:27 AM
#8
clydejones avatar

clydejones

Deceased

Join Date:
Nov 2005
Location:
Colorado Springs, CO USA
Posts:
7,017
Plugin Contributions:
12

Re: Directory Location for ez-pages added pages

try changing your option values

<option value="zen_ez_pages_link(3)">

see if that works

NOTE: We are sorry that Clyde is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 Feb 2007, 9:27 PM
#9
pepethegaywaiter avatar

pepethegaywaiter

New Zenner

Join Date:
Feb 2007
Posts:
6
Plugin Contributions:
0

Re: Directory Location for ez-pages added pages

Doesn't work any way I form the link. Does anyone know how to link to an sql table using html code?

16 Feb 2007, 2:41 AM
#11
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Directory Location for ez-pages added pages

I recently found when trying out ezpages that they need to have a sort order (in sidebox in my case) even though I didn't want them displayed in any of the standard locations. So

<a href="' . zen_ez_pages_link(3) . '">YOUR_LINK_TEXT</a>'

inserted in the header nav doesn't function until you give some standard location a sort order (does not need to be enabled); then it works fine.