Forums / General Questions / Placing a link directly on the Main Page

Placing a link directly on the Main Page

Locked

Views: 1,075

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
30 Jul 2008, 1:55 PM
#1
wwwursa avatar

wwwursa

Zen Follower

Join Date:
Oct 2007
Posts:
163
Plugin Contributions:
0

Placing a link directly on the Main Page

Is there a way to place a link directly on the main page that will go to an EZ page?

Also, it there a way to place a link directly on the main page to bring up an email form in the same way the "Contact Us" link does?

30 Jul 2008, 2:05 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Placing a link directly on the Main Page

When you say "Main Page" - you could mean a variety of things...

Links to easypages are made by configuring one or more of the following:-

The EZPages sidebox menu
The EZPages header menu
The EZPages footer menu

When you create an EZPage, remember to give it a sort order, or it won't display in any of the menus.

You can also add the URL of an easypage to any of the DEFINED pages:-

EG: index.php?main_page=page&id=15

30 Jul 2008, 4:34 PM
#3
wwwursa avatar

wwwursa

Zen Follower

Join Date:
Oct 2007
Posts:
163
Plugin Contributions:
0

Re: Placing a link directly on the Main Page

By main page I meant the first form that appears between the left ad right side sideboxes when the first page of a ZenCart website appears.

30 Jul 2008, 4:50 PM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Placing a link directly on the Main Page

Content for the first (or main) page is entered in ADMIN>>>TOOLS>>>DEFINE PAGES EDITOR...Define Main Page.

Here, you can add any content you like, including a hyperlink:-

<a href="index.php?main_page=page&id=15">My Internal Link To an EZPage</a>

30 Jul 2008, 8:09 PM
#5
wwwursa avatar

wwwursa

Zen Follower

Join Date:
Oct 2007
Posts:
163
Plugin Contributions:
0

Re: Placing a link directly on the Main Page

Thank you,

I find this one line of code very powerful to hyperlink to EZ pages. It works beautifully. I suspect that it also work for products since they all have ID numbers.

Is tne same feature available to hyperlink to a subject in the Information sidebox such as "Contact Us"?

I don't see an ID number in the "Contact Us" section as I was able to see in the EZ pages section.

Perhaps is requires slightly different code.

In advance, Thanks for your help.

1 Aug 2008, 11:25 AM
#6
wwwursa avatar

wwwursa

Zen Follower

Join Date:
Oct 2007
Posts:
163
Plugin Contributions:
0

Re: Placing a link directly on the Main Page

Anyone know the code line to hyperlink to a subject in the Information sidebox such as "Contact Us"?

1 Aug 2008, 11:45 AM
#7
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Placing a link directly on the Main Page

Just click on 'Contact Us' on your site (or someone else's) and the URL will be in your browser's address bar. Just remove the zenid part.