Forums / Basic Configuration / How to add new link and a page under 'More information' ?

How to add new link and a page under 'More information' ?

Locked

Views: 15,269

Results 1 to 20 of 39
This thread is locked. New replies are disabled.
7 Jun 2007, 10:32 PM
#1
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

How to add new link and a page under 'More information' ?

Hi,

I have ordered the new Zecart manual just to day but I really need to know how to add a link 'Stock List' under the 'More Information. and a page which will display the 'Stock List' .

I have read EZ FAQ page and still I am finding difficult to follow. Not even sure if that is the way to create a link under 'More Info' and create a new page?

I need some help please

Downunder QLD

7 Jun 2007, 11:35 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to add new link and a page under 'More information' ?

Download the "about us" module in the Downloads/other section on this site.

You will have to adjust this to be in the more info box and not the default Info box described in the instructions.

If you can get your head around ezpages this would be the better method

Zen-Venom Get Bitten

8 Jun 2007, 12:19 AM
#3
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

Thanks kobra

I read the 'readme' file. Its too much mucking around just to create a page and a link. I have no problem following those instructions but often we need to think of the client and how they could do this.

There is no way I can advise my clients to follow these instructions where they supposed do to be doing in in admin. They'll kill me :-(

I need to figure it out how this can be achieved within admin without hacking or installing yet another mod.

Look here is my client's requests below and it looks easy and common sense to be able to do this type of things easily. Think not

I really need your advise how to do this within admin please.

Client requested ----some where under the heading 'More Info' ----
I was wondering if I can add a new option below the Company profile button that says Stockists and is somewhere that I can enter Shops names and contact details even link to their website?
Is this something I can do myself, if yes could you let me know how.

Downunder QLD

8 Jun 2007, 3:06 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to add new link and a page under 'More information' ?

The reason for the intricate install for this is that it relies on the "legacy" method for using the defines page editor in the admin to edit the page content...

ezpages is again what yu need to grasp as once you do it you will be surprised at how easy and versatile these can be and from the admin side only

Zen-Venom Get Bitten

8 Jun 2007, 3:18 AM
#5
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

Ok simple question,

I know I can now create a page with EzPage under 'Important links'

Would it be possible to create a page and the link under 'More Information. using EzPages without any hacking?

Downunder QLD

8 Jun 2007, 10:23 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to add new link and a page under 'More information' ?

More Info has page_2, page_3, etc. these pages can be edited in the admin and you can get the internal url for each like: index.php?main_page=page_2 and add this to the ezpage box.

Edit the ez_pages_definitions.php and the line

define('BOX_HEADING_EZPAGES','Important Links');

to what you want. Then this box will contain all the previous links and can be edited through the admin defines editor for some and through ezpages for the others that you create.

You will then turn off the more info side box and turn on the expage side box that you re-titled to be be same heading text.

Zen-Venom Get Bitten

9 Jun 2007, 1:28 AM
#7
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

Kobra, I am almost with you but little confused.

When you say add this 'get the internal url for each like: index.php?main_page=page_2 and add this to the ezpage box. '
Do you mean add the link (and how ?) lime so below in ez_pages_definitions.php

define('BOX_HEADING_EZPAGES','Important Links');
??? index.php?main_page=page_2 ?? how do you insert it, give me an example please.

Other bit I am confused is
'You will then turn off the more info side box and turn on the expage side box that you re-titled to be be same heading text.'

Ol I'll turn off 'more info ' box then turn on 'extra side' box but which re-titled to be the same heading?
Title of the 'more info' is 'more Info' and title of Ezpage headding is 'Important links' so can you again please give me example what you mean.

Sorry to ask more details but once I get my head around it then you won me over :-)

Thanks

Downunder QLD

9 Jun 2007, 5:54 AM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to add new link and a page under 'More information' ?

When you say add this 'get the internal url for each like: index.php?main_page=page_2 and add this to the ezpage box. '
Do you mean add the link (and how ?) lime so below in ez_pages_definitions.php
To do this go to admin > tools > ezpages > select the "new file" button > enter a page title > select the location and an order > if a page created in ezpages enter the HTML Content text...

For another page i.e. like one that has been created and maintained in the defines editor you would have the internal url to this page written down from when you navigate in the front end to it.(what is in the browser address) which in total is like the following but you only need the red highlighted part

http://www.domain_name.com/index.php?main_page=page_2

Now back to the ezpage config in the admin > below the text entry box is a place for an internal link url > enter the red url info for the page you want > select insert

define('BOX_HEADING_EZPAGES','Important Links');
??? index.php?main_page=page_2 ?? how do you insert it, give me an example please.
Edit the ez_pages_definitions.php file and the above line text that is between the set of single quotes...to be whatever you want the box heading to say
Other bit I am confused is
'You will then turn off the more info side box and turn on the expage side box that you re-titled to be be same heading text.'

Ol I'll turn off 'more info ' box then turn on 'extra side' box but which re-titled to be the same heading?
Title of the 'more info' is 'more Info' and title of Ezpage headding is 'Important links' so can you again please give me example what you mean.
Recap: once all this is complete and you have the pages created and/or linked (there can be both types) Go the admin > tools > layout boxes controller > and find the sideboxes/ezpages.php entry > select and configure it > setting it to on.
Find the sideboxes/more_information.php entry and select it and set it to off.

Now the ezpages sidebox will be displayed on the front end and the more information sidebox will not.

This ezpage side box will have the pages that you have set to be contained within it and you can then instruct your clients on how to add an ez page to this box fully from the admin.

Zen-Venom Get Bitten

9 Jun 2007, 9:26 AM
#9
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

hey, looks like a good explanation. I'll have a go at it this weekend. Thanks Kobra. I'll keep you posted with my success.

Thanks again for detailed answer

Downunder QLD

9 Jun 2007, 10:55 PM
#10
helshop avatar

helshop

New Zenner

Join Date:
Jan 2007
Location:
York
Posts:
34
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

Hi
I would like to add an extra page to more information, I am doing this for the client so dont mind adding code if needed but I have already used page 2, 3 & 4. Is it possible to add a page 5 as they wish to show details of a school they are sponsoring.
www.hgfurniture.co.uk

Thanks
H

9 Jun 2007, 10:57 PM
#11
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to add new link and a page under 'More information' ?

helshop,

Look at the module "about us" in the downloads section as this outlines adding a page manageable from the admin to the "Information" sidebox...

You will have to adjust to include this in the "More Information" sidebox

Zen-Venom Get Bitten

10 Jun 2007, 2:19 AM
#12
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

Yes its possible to add more pages. Just duplicate and re name where ever you see page_4 or page 4 in the codes then don't forget to duplicate the files named page_4 etc and their content as well.

Downunder QLD

10 Jun 2007, 8:34 AM
#13
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

Just the subject I was looking for...all the time I've been installing Zencart and this is the first time I've ever had to use the "more information" sidebox.

(already know how to use the ez-pages, client doesn't want them, so please don't go there...lol and already have the **about us **mod installed for their About US page, and any pages beyond the 2-4 I need)

Tried searching for the "more information" sidebox, but the advanced search kicks out the word "more"..go figure!

Anyway...where do I go to change all the page name instances for Page 2, Page 3, etc. ? Do I follow all the same places as the About Us mod goes?

thank you,

betty

10 Jun 2007, 9:16 AM
#14
oavs avatar

oavs

Totally Zenned

Join Date:
Jan 2006
Location:
Downunder - QLD - Gold Coast
Posts:
921
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

Betty my dear you are not a lone. Some thing like this so profound can be so difficult but anyway here is how I did.

Create (or just duplicate one of the page_2/3/4 etc) files.
languages/english/MyTemplate/page_5.php
Change the title in the code to what you want it to be. Then save as page_5.php
eg.,

<?php define('NAVBAR_TITLE', 'Page 2); define('HEADING_TITLE', 'Page 2'); define('TEXT_INFORMATION', 'Page 2 info information goes here.'); ?>

To

<?php define('NAVBAR_TITLE', 'Stockists'); define('HEADING_TITLE', 'Stockists'); define('TEXT_INFORMATION', 'Stockists info information goes here.'); ?>

-------NEXT-------------------------------------
Go to following folder > languages/english/html_includes/MyTemplate/
Create following file (or duplicate one of the existing page_2/3/ or 4 files and rename it as 'page_5.php' . This is the page will have the content when you edit it in admin.
languages/english/html_includes/MyTemplate/page_5.php

-------NEXT-------------------------------------
Go to following folder > includes/templates/MyTemplates/templates/

Duplicate one of the existing page_2/3/ or 4 files and rename it as 'page_5.php'
It should look like following
includes/templates/MyTemplates/templates/tpl_page_5_default.php

Change the following content as follows:

<div class="centerColumn" id="pageTwo"> <?=tm_head(HEADING_TITLE)?> <div class="prod_descr2"> <?php if (DEFINE_PAGE_2_STATUS >= '1' and DEFINE_PAGE_2_STATUS <= '2') { ?> <div id="pageTwoMainContent" class="content">

TO

<div class="centerColumn" id="pageFive"> <?=tm_head(HEADING_TITLE)?> <div class="prod_descr2"> <?php if (DEFINE_PAGE_5_STATUS >= '1' and DEFINE_PAGE_5_STATUS <= '2') { ?> <div id="pageFiveMainContent" class="content">

UPLOAD THE LOT, In admin/tools/Define Pages Editor

Your new page_5 should appears define_page_5.php. Edit as usual.

Let me know how you go.

Downunder QLD

10 Jun 2007, 10:54 AM
#15
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to add new link and a page under 'More information' ?

To change just the name displayed in the sidebox you can find the defines for it in the english.php file and edit the name between the single quotes...

Zen-Venom Get Bitten

10 Jun 2007, 7:49 PM
#16
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

Thank you oavs and kobra...just what I needed :thumbsup:

plus bookmarked for future use!

11 Jun 2007, 12:29 AM
#17
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

One other question though on the page 2, Page 3, etc. though....

Can they ever have regular page names or are they always going to have to be just named with page numbers when calling the pages? I know I can name thm in the sidebox, that one was easy, but I mean the actual names in the url.

betty

11 Jun 2007, 3:00 AM
#18
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to add new link and a page under 'More information' ?

Bettysue,

get the "blank sidebox" and the "about us" module in the downloads section. Now these are configured for a new "blank box" in the first case and a new entry in the information box for the latter. you would need to change this to the more info box

You should be able to sort the files/edits required to effect a name change from this or just create several additional entries with your naming and turn off the page_2 etc in the admin > config > defines pages > area

Zen-Venom Get Bitten

11 Jun 2007, 3:08 AM
#19
bettysue avatar

bettysue

Inactive

Join Date:
May 2004
Posts:
747
Plugin Contributions:
0

Re: How to add new link and a page under 'More information' ?

Hi Kobra,

I already have them installed. In fact I have sidebox blank 1 & 2 installed, about us 1, 2. Plus have pages 2,3, and 4 in use.

I got real tired real fast of the whole about us install process (although am very thankful to the author) and the page to page internal and external editing and renaming which is why I was hoping for a slightly easier way. I need to add about 15 pages in all.

thank you for the advice it is always appreciated,

betty

11 Jun 2007, 3:26 AM
#20
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How to add new link and a page under 'More information' ?

BettySue,

You can drop all this file editing if you just create the ezpages for all of these different pages - then you can turn off both the information and mor info sideboxes and turn on the ezpages.php side box.

Then all pages are named are you want and are editible in the admin under admin > tools > ezpages

This is copy and paste the current ones into newly created ezpages

Zen-Venom Get Bitten