Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Changing links to new pages

    I have added new information pages to the right of my site fine (including the links). I now have links in the header that I want to link to pages I have added.

    At the moment the header links go to external pages...this is an example of one of the links in the tpl_header.php file

    Code:
    	<li><a href="http://www.ampmgraphics.com/affordable-graphic-design.html"><span style="color: #666666">| </span> About us</a></li>
    The links in the includes/modules/sideboxes/mytemplate/information.php file look like this (and obviously work fine)

    Code:
      $information[] = '<a href="' . zen_href_link(FILENAME_ARTWORK) . '">' . BOX_INFORMATION_ARTWORK . '</a>';
    I have an about us page created and want to link to it in the header...how should that look? I tried a few things but it didn't work..
    Does anyone know?
    Thank you

  2. #2
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Changing links to new pages

    Do I need to include something else? Can anyone help ?

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Changing links to new pages

    I take it the URL in the address bar when you are on the About Us page is
    http ://www .ampmgraphics.com/affordable-graphic-design.html? This seems to be a flat HTML file in the domain base, a level above the ZC base folder. I would agree with the advice you say you received earlier to put the content in an ez-page and have it all in the same container. Then it will be easy to link to.

  4. #4
    Join Date
    Nov 2007
    Posts
    555
    Plugin Contributions
    0

    Default Re: Changing links to new pages

    Thanks Glenn...so basically scrap the top header links..add EZ pages and add them to the header..Still not getting EZ pages and how to add one..the about us links on the info section were easier to do.

    I can find plenty of info on what EZ pages are but not on how to add one

  5. #5
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Changing links to new pages

    Couldn't be easier ;)
    Admin > Tools > EZ_Pages > create new page > insert a title, make the appropriate link settings (even if you don't want the link to show in any of the standard locations, you need to set a non-zero sort order in the sidebox area), paste HTML content in the textarea (make sure to strip any <html>, <head> or <body> tags as those would be duplicates).

 

 

Similar Threads

  1. Changing links for Pages 2, 3, 4
    By enddes in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 2 Apr 2010, 02:54 PM
  2. Adding new Links and Pages to Infomation
    By andyferriby in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Oct 2008, 08:45 PM
  3. Bookmarks/Links in new pages?
    By joeduffer in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 5 Feb 2008, 06:33 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