Overide help

Locked

Started by robwuk on 31 Jul 2006, 9:12 PM · Views: 3,681

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
31 Jul 2006, 9:12 PM
#1
robwuk avatar

robwuk

Zen Follower

Join Date:
Aug 2005
Location:
United Kingdom
Posts:
458
Plugin Contributions:
0

Overide help

i have created the relevant folders for the overide files to use ie

includes/languages/xstream/english.php
includes/languages/english/xstream
includes/languages/english/html_includes/xstream

includes/templates/xstream

now the weird thing is, its not loading all the files in my html_inludes/xstream
in the control panel under define page status it stops at page four, i have all these set to '1' for the value and these pages are viewing ok

now when i had a fifth one, i cant change the status of it, and it dosnt show up in the control panel under define page status nor does it show up on the page editor, why is this ive got three pages to add to all this

i have alread created the references in the english.php and the english.php in the admin folder aswell as admin/includes/languaghes/english/define_pages_editor.php

ive also created templates in the templates fold for these extra files but cant get them to view properlt, its showing the breadcrumb desicription aswell and the page title but no content

im getting a bit stressed now as i cant find a solution and there is no manual for this, ive followed links ie the wiki one but it doesnt go anywhere

Rob

31 Jul 2006, 11:18 PM
#2
kobra avatar

kobra

Black Belt

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

Re: Overide help

page 2,3,4 are hard coded and just creating a page_5 in the html folder does not enable it.

The easiest method to add additional pages is to use ezpages. I have posted this several times but will post it here for you also:

Summary

EZ-Pages is a fast, easy way of creating links and additional pages.

The additional Pages can be for:

  • New Pages
  • Internal Links
  • External Links
  • Secure or Non-Secure pages
  • Same or New Window

In Addition, there is the ability to create "related" links in the format of a Chapter (group) and its TOC (related pages/links).

Link Naming

Links are named by the Page Title. All Links need a Page Title in order to function.

If you forget to add a Page Title, then you will not be able to add the Link.

If you do not assign an Order for the Header, Sidebox or Footer, then the Link will not display even if you have a Page Title.

Link Placement

While you have the option of adding Additional Links to the Header, Footer and Sidebox with EZ-Pages, you are not limited to these three Link locations. Links can be in one or more locations simply by enabling the Order for the Location(s) where the Link should appear..

The Link Location Status for the Header, Footer and Sidebox is controlled simply by setting these to Yes or No for each setting. Then, set the Order in which the Link should appear for each location.

This means that if you were to set Header to Yes 30 and Sidebox to Yes 50 then the link would appear in both the Header and Sidebox in the Order of your Links.

The Order numbering method is up to you. Numbering using 10, 20, 30, etc. will allow you to sort the Links and add additional Links later.

Note: a 0 value for the Order will disable the Link from displaying.

Open in New Window and Secure Pages

With EZ-Pages, each Link can take you to the same, main window for your shop; or, you can have the Link open a brand new New Window. In addition, there is an option for making the Link open as a Secure Page or a Non-Secure Page.

Chapter and TOC

The Chapter and TOC, or Table of Contents, are a unique method of building Multiple Links that interact together.

While these Links still follow the rules of the Header, Footer and Sidebox placement, the difference is that only one of the Links, the Main Link, needs to be displayed anywhere on the site.

If you had, for example, 5 related Links, you could add the first Link as the Main Link by setting its location to the Header, Footer or Sidebox and set its Order, as usual.

Next, you need to assign a Chapter or Group number to the Link. This Chapter holds the related Links together.

Then, set the TOC or Table of Contents setting. This is a secondary Sort Order for within the Chapter.

Again, you can display any of the Links within a Chapter, as well as making any of these Links the Main Link. Whether the Links all show, or just one or more of the Links show, the Chapter is the key to grouping these Links together in the TOC or Previous/Next.

NOTE: While all Links within a Chapter will display together, you can have the different Links display in the Header, Footer or Sidebox on their own. Or, you can have the additional Links only display when the Main Link or one of the Additional Links within the Chapter has been opened.

The versitility of EZ-Pages will make adding new Links and Pages extreamly easy for the beginner as well as the advance user.

While this page was made in HTMLarea editor, any HTML editor could be used.

However, becareful ... HTML editors will often add the opening and closing tags for the and to the file you are working on.

These are already added to the pages via EZ-Pages.

External Link URL

External Link URLs are links to outside pages not within your shop. These can be to any valid URL such as:

http://www.sashbox.net

You need to include the full URL path to any External Link URL. You may also mark these to open in a New Window or the Same Window.

Internal Link URL

Internal Link URLs are links to internal pages within your shop. These can be to any valid URL, but should be written as relative links such as:

index.php?main_page=index&cPath=21

The above Link would take you to the Category for categories_id 21

While these links can be the Full URL to an Internal Link, it is best to write as a Relative Link so that if you change domains, are work on a temporary domain or an IP Address, the Link will remain valid if moved to another domain, IP Address, etc.

Internal Links can also open in a New Window or the Same Window or be for Secure or Non-Secure Pages.

EZ-Pages Additional Pages vs Internal Links vs External Links

The Type of Link that you create is based on an order of precidence, where HTML Content will superceed both the Internal Link and the External Link values.

The External Link URL will superceed the Internal Link URL.

If you try to set a combination of HTML Content, Internal Link and/or External Link, the Link will be flagged in the listing with a read icon to alert you to your mistake.

WARNING ...

When using Editors such as HTMLarea, if you hit enter in the HTML Content area
will be added. These will be detected as "content" and will override any Internal Link URL or External Link URL.

Zen-Venom Get Bitten

31 Jul 2006, 11:42 PM
#3
robwuk avatar

robwuk

Zen Follower

Join Date:
Aug 2005
Location:
United Kingdom
Posts:
458
Plugin Contributions:
0

Re: Overide help

Cheers for that, i will have a go, it looks a very complicated way of adding pages, the overide system in the past has been good, never had to do it this way.

I noticed one thing, the define pages only had a list of what was in the database, if i add records to the configuration database then i can set the value to load my date from the pages that are already written

Anyway, i will try this way and hopefully i may get somewhere

Rob

9 Jun 2007, 11:58 AM
#4
fishysteve avatar

fishysteve

New Zenner

Join Date:
Aug 2004
Posts:
13
Plugin Contributions:
0

Re: Overide help

Hey guys,
I have been looking at adding additional pages via the define pages editor because it looks like it would rank better with the search engines.
After much banging of my head against brick walls with the overide system to protect new pages from future upgrades I'm leaning towards ez pages again.
Glenn has been a really great help but I'm looking for something easier to maintain, http://www.zen-cart.com/forum/showthread.php?t=67876&highlight=pages+overide

I think my question is rather simple but I want to be sure.
Do I need to use the overide system with ez-pages to make new pages future proof and safe from upgrades?

Thanks
Steve

10 Jun 2007, 2:14 AM
#5
fishysteve avatar

fishysteve

New Zenner

Join Date:
Aug 2004
Posts:
13
Plugin Contributions:
0

Re: Overide help

anyone please?