Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default Add links in header?

    Hi All, I've looked around and searched and maybe missed it so apologies if I did.

    How does one add links to to the header where it says "Home" and "Login".

    Also, is there a way to have any cms on this? I'd like to have other pages of content that arent directly related to the cart but still have the cart columns.

    Thanks.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add links in header?

    If your additional links that you want are to be for the additional CMS type information, use ezpages, and set them up to be in the header nav area.

    Or you can add the correct code to the tpl_header.php file in the nav area.

    Ezpages implementation is a powerful addition. I am posting the ezpages summary here and hope it helps you.

    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.

    Admin Only Display

    Sometimes, when working on EZ-Pages, you will want to be able to work on a Live Site and see the results of your work, but not allow the Customers to see this until you are done.

    There are 3 settings in the Configuration ... EZ-Pages Settings for the Header, Footer and Sidebox Status:

    * OFF
    * ON
    * Admin Only

    The Admin Only setting is controlled by the IP Address(es) set in the Website Maintenance.

    This can be very handy when needing to work on a Live Site but not wanting customers to see the work in progress.
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add links in header?

    Thanks Kobra,
    It appears I have 1.27 which doesnt appear to have ez pages. Do I have to upgrade the whole thing? Or can I install seperately and from where?

    I started the upgrade process but got a bit nervous.

    DRE

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add links in header?

    If you are not using this as a live site, by all means install the most recent version.

    If you are live now...Install a second version with a separate DB and work with it to get it looking like your current site and add the additional customizations.

    The newer versions in the 1.3.x series are much more css driven and IMO make it much easier to alter. Another point is that as time goes on the 1.2.x series will not have many of the really functional things that are here and are to come.
    Post a url so that we can see what you have to port over and what difficulties there may be. Include any info on the template if a commercial one.

    To answer your direct question, there was a module for ezpages if it can be found in the downloads archive. or if you email me with what you want I have it also and will mail it back to you.
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add links in header?

    Hi Kobra,
    The site is in relatively early development so I worked directly on it after backing it up.

    My first attempt resulted in the illegal access error. I dont know if I followed the directions perfectly so likely my fault. Basically I uploaded all the change files from the patches then ran all the sql upgrade scripts. So after that, I just uploaded all the files from the complete download to the existing codebase with the assumption that the sql was properly upgraded.

    The error went away but my template was no longer working properly. I reverted to classic and it seems ok. However, I now have a little "?>" floating around in all my admin pages. You can see it here. http://kitealaska.com/catalog/admin/login.php. I've traced it to the file includes/autoload_func.php which appears to be trying to build some sort of string. Any clue what this is? I've only tested a small amount of functoinality so I'm hoping this is it.

    DRE

    ps, thanks for the help Kobra.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add links in header?

    This is indicative of a php tag not closed properly or an extra open tag.
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Jun 2006
    Posts
    122
    Plugin Contributions
    0

    Default Re: Add links in header?

    this might sound like a simple question, but how can i replace the ezpage navigation link in the header or footer with an image instead of a text link?

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add links in header?

    Just looked at your site...I didn't spot an ezpage link in the header...

    I did notice that you upgraded KUDOS!!!

    But you are currently using 3 stylesheets and these are proccessed in alpha order and will drive you crazy if not now...later..

    Quick way to correct: get one of the templates from the downloads area. Follow the install instructions carefully (most of them are just FTP the files to the correct locations) and you should then have a template based on the template_default fileset and this is where you want to be to proceed.
    but how can i replace the ezpage navigation link in the header or footer with an image instead of a text link?
    I don't think that you can introduce an image without creating some conflict as the area for these links is sized vertically for text. I may be wrong and you could try this but there is no faclity to do this through checkbox selections. It may work if the html code is entered correctly leaving the url box empty. you can try it with out much damage as you can delete it if it does not work. Don't forget to enable it.
    So you might try this bit of html to display your image like:
    Code:
    <a href="http://www.your_url.com" target="_blank">img src="../images/your_image.gif"</a>
    WARNING I am not a very good coder!!
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Jul 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Add links in header?

    Kobra,
    I really have no idea why I have so many stylesheets. Is this the standard install? Or did they somehow stack up when moving from 2.7 to 3.02. Its really very frustrating! I started moving forward with modifying the classic one but all these tables are just horrible! I usually develop with pure css-p.

    I did try to upgrade. I'm not really sure it worked other than I can login to the admin and click around the front. Still have that ?> floating around in the admin. I do know its indicative of an unclosed php tag but it wasnt there before I upgraded and I tracked it to a page that doesnt have an unclosed tag. So, another shrimp on the barbie.

    Here I am 15 hrs into a project bid at 4 hrs. Sigh.

  10. #10
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: Add links in header?

    Take a Break!!!
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. How to add links on the header?
    By lina0962 in forum General Questions
    Replies: 1
    Last Post: 28 Jun 2010, 01:15 AM
  2. Add EZ page links to header
    By livingstons in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 30 Apr 2008, 02:58 PM
  3. How do I add links to my site header?
    By hairul in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 21 Mar 2008, 05:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR