Zen Cart Logo

How to add pages

Views: 942

Results 1 to 5 of 5
2 Feb 2015, 11:12 AM
#1
thebluedragon avatar

thebluedragon

New Zenner

Join Date:
Dec 2014
Posts:
13
Plugin Contributions:
0

How to add pages

Hi people,
I'm still new to all this and I'm slowly learning but when it comes to editing the code I'm getting lost. Basically I'm updating the website https://www.ecloudonline.co.uk/index.php and the owners want a page where I can upload posters for some of their events. I have added a link on the navigation called "Adverts" but where do I need to create a blank page to add the images?

This is how the link code looks right now in the file "tpl_drop_menu.php", I just copied and pasted one of the other links but I can't understand how to edit link. I'm know it is the middle bit I need to edit but I don't know how.

<li id='adverts'><a  href="index.php?main_page=index&cPath=8&pg=store"><?php echo 'Adverts' ?></a>

I hope you can understand what I'm trying to say as I'm not good with wording.

2 Feb 2015, 11:45 AM
#2
thebluedragon avatar

thebluedragon

New Zenner

Join Date:
Dec 2014
Posts:
13
Plugin Contributions:
0

Re: How to add pages

I think I'm slowly getting there. Ive basically searched the entire folder for a similar page and copied and pasted each page haha

2 Feb 2015, 12:11 PM
#3
thebluedragon avatar

thebluedragon

New Zenner

Join Date:
Dec 2014
Posts:
13
Plugin Contributions:
0

Re: How to add pages

I'm super stuck now. I've managed to get a blank page to load up, I have the header set-up saying "Adverts" but I can't work out how to get the centre area to load up. I've created a page called "define_adverts.php" which just says "Under Construction" in the file "\includes\languages\english\html_includes" but it doesn't load.

Any ideas? sorry about all the posts

2 Feb 2015, 12:19 PM
#4
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,096
Plugin Contributions:
56

Re: How to add pages

Take a look at the "About Us" plugin (http://www.zen-cart.com/downloads.php?do=file&id=86%29; it's got all the "pieces" required to bring up a basic page (languages, modules and templates).

I also found the following, by Googling zen cart create new page, which pretty-much spells it out step-by-step: http://lifefeed.net/zencart/static_page.php

2 Feb 2015, 2:32 PM
#5
dw08gm avatar

dw08gm

Totally Zenned

Join Date:
Sep 2008
Location:
DownUnder, overlooking South Pole.
Posts:
1,017
Plugin Contributions:
2

Re: How to add pages

TheBlueDragon:

Hi people,
I'm still new to all this and I'm slowly learning but when it comes to editing the code I'm getting lost. Basically I'm updating the website https://www.ecloudonline.co.uk/index.php and the owners want a page where I can upload posters for some of their events. I have added a link on the navigation called "Adverts" but where do I need to create a blank page to add the images?

This is how the link code looks right now in the file "tpl_drop_menu.php", I just copied and pasted one of the other links but I can't understand how to edit link. I'm know it is the middle bit I need to edit but I don't know how.

<li id='adverts'><a href="index.php?main_page=index&cPath=8&pg=store"><?php echo 'Adverts' ?></a> ``` > > I hope you can understand what I'm trying to say as I'm not good with wording.

If the new pages are particular to events, the Events Calendar mod (works in 154) allocates pages to events as well as to products.

http://www.zen-cart.com/downloads.php?do=file&id=521