Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Is this possible EZ pages linked in header?

Is this possible EZ pages linked in header?

Locked

Views: 1,982

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
7 Sep 2006, 9:56 PM
#1
lynnema avatar

lynnema

New Zenner

Join Date:
Aug 2006
Posts:
22
Plugin Contributions:
0

Is this possible EZ pages linked in header?

I am using the Simple Zen Template, and wanted to know if it is possible to link custom EZ pages in the same area that the "shopping cart, contact us and my account" links are? If so, how can I do this?

Here is my site thus far, such as it is:

http://www.jessweiss.com/sportsmaster/store/

Thanks in advance!

7 Sep 2006, 10:09 PM
#2
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

Re: Is this possible EZ pages linked in header?

hey your site looks great. I am curious how you got the shopping cart link and account at the top right....is this a module or did you hard code it?

7 Sep 2006, 10:11 PM
#3
lynnema avatar

lynnema

New Zenner

Join Date:
Aug 2006
Posts:
22
Plugin Contributions:
0

Re: Is this possible EZ pages linked in header?

Thanks so much for the compliment! I am using the "simple zen" template, and it is a function of that template. The stylesheet shows the possibility of using images, and of using text, and that is where it places it. Hope that explains it!

Just as an update - I figured out how to put the links where I want them to go... but is it possible to link EZ pages in that location? Thanks again!

7 Sep 2006, 10:30 PM
#4
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

Re: Is this possible EZ pages linked in header?

Hmmm which links are those then, I had assumed it was the easy links. They were just some hardcoded links?

You can move anything anywhere you want my editing the main template file but you have to make sure you don't mess up the php. Where do you want to move it.

I am about to download that template. Thanks!

I am frustrated with the EZ links because everything else in the defualt template are lists but this , why I don't know.

8 Sep 2006, 12:43 PM
#5
lynnema avatar

lynnema

New Zenner

Join Date:
Aug 2006
Posts:
22
Plugin Contributions:
0

Re: Is this possible EZ pages linked in header?

I completely understand. I just want to figure out how to get the url address for the EZ pages, so I can put them where I want to, instead of in the default lists. Anyone, anyone?

8 Sep 2006, 12:58 PM
#6
drbyte avatar

drbyte

Sensei

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

Re: Is this possible EZ pages linked in header?

Here are three ways, depending on what you are trying to do and where. All accomplish almost the same end result.

<a href="<?php echo zen_ez_pages_link($pageNum);?>"><?php echo $pageTitle; ?></a>
zen_href_link(FILENAME_EZPAGES, 'id=' . $pageNum, 'NONSSL');

(or 'SSL' if appropriate)

index.php?main_page=page&id=12345

(must manually make your URL as HTTPS or not)

8 Sep 2006, 1:22 PM
#7
lynnema avatar

lynnema

New Zenner

Join Date:
Aug 2006
Posts:
22
Plugin Contributions:
0

Re: Is this possible EZ pages linked in header?

DrByte:

Here are three ways, depending on what you are trying to do and where. All accomplish almost the same end result.

<a href="<?php echo zen_ez_pages_link($pageNum);?>"><?php echo $pageTitle; ?></a>

> 
> ```
zen_href_link(FILENAME_EZPAGES, 'id=' . $pageNum, 'NONSSL');

(or 'SSL' if appropriate)

index.php?main_page=page&id=12345

> (must manually make your URL as HTTPS or not)

Thank you so very much! I finally found the third method... much trolling was involved... :P What is the advantage or disadvantage to using each method? Does it matter much? You guys are the best!
8 Sep 2006, 1:58 PM
#8
bjraines avatar

bjraines

Zen Follower

Join Date:
Jun 2006
Posts:
223
Plugin Contributions:
0

Re: Is this possible EZ pages linked in header?

Man I was with ya until the SSL stuff. I thought all I had to do was just purchase the SSL from my host. Now I have to worry about links I make? Boy oh boy

9 Sep 2006, 9:18 AM
#9
lynnema avatar

lynnema

New Zenner

Join Date:
Aug 2006
Posts:
22
Plugin Contributions:
0

Re: Is this possible EZ pages linked in header?

I'm not too sure about the SSL stuff myself. But the third method of using <a href="index.php?main_page=page&id=12345"> does work... you can find the page id number in the admin page where you create the EZ pages themselves. You probably just want to be careful that you aren't creating new links for pages that have to be secured, like your shopping cart. But if the pages are just informational, I wouldn't worry about it too much.

11 Sep 2006, 7:04 PM
#10
personalisedpresent avatar

personalisedpresent

New Zenner

Join Date:
Aug 2006
Posts:
45
Plugin Contributions:
0

Re: Is this possible EZ pages linked in header?

lynnema:

I'm not too sure about the SSL stuff myself. But the third method of using <a href="index.php?main_page=page&id=12345"> does work... you can find the page id number in the admin page where you create the EZ pages themselves. You probably just want to be careful that you aren't creating new links for pages that have to be secured, like your shopping cart. But if the pages are just informational, I wouldn't worry about it too much.

Not to sure where to edit the links/code is it header.php?? also where do I add the code and what code!! sorry im new to html!!
Thank very Much!

13 Sep 2006, 8:49 PM
#11
pensive612 avatar

pensive612

Zen Follower

Join Date:
May 2006
Posts:
313
Plugin Contributions:
0

Re: Is this possible EZ pages linked in header?

Lynnema,

any chance you could post the code to your tpl_header??

i've been attempting to do the same thing, (with my own template) and it seems like yours has it down...

if you wouldn't mind...?

thanks.

adam.