Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2009
    Posts
    22
    Plugin Contributions
    0

    Default Add Links to 'More Information' Sidebox

    My store uses v1.3.9h which is current as of today.
    There are very extensive css changes and a few code changes. All revised files are in override directories.
    I am trying to add custom php pages to the "more information" sidebox.


    Here is what has worked:

    Added the following line to includes/modules/sideboxes/override/more_information.php

    $more_information[] = '<a href="' . zen_href_link(advanced_search) . '">' . 'advanced search' . '</a>';

    OK. Worked perfectly. The link showed up and the expected page loaded. A page with a header, sideboxes and footer with an advanced search "panel" in the main area. Problem is, that 'advanced search' is not the page I want. I just used it as a test of concept.



    Here is whats not working:

    Opened: includes/english/advanced_search.php
    Saved it as: includes/english/advanced_searchxx.php
    So now There is a duplicate page with a slightly different name in the same directory.

    Then added the following two lines to includes/modules/sideboxes/override/more_information.php

    $more_information[] = '<a href="' . zen_href_link(advanced_searchxx) . '">' . 'advanced searchxx 1' . '</a>';

    $more_information[] = '<a href="http://wwwmysite.com/index.php?main_page=advanced_searchxx">' . 'advanced searchxx' . '</a>';

    The links showed up just fine. In both cases hovering over them showed what I think would be the correct address (in status bar):

    h t t p : / / w w w. mysite . com/index.php?main_page=advanced_searchxx (spaces intentional)

    But what loaded was the usual page but instead of the expected content there was a:
    Page Not Found Custom 404 Error Page.........
    By the usual page I mean the correct header, sideboxes, footer, yet the main box content was the 404.

    SO:

    What's happening is that the cart cannot see the new page that I created.
    Its seeing the old page just fine. Maybe it's an issue of the "new" page not being "registered" somewhere, but I have no clue about that.

    The site is s o f a b e d - m a t t r e s s dot com
    The more information sidebox is called "Mattress Information"

    If I could get this to work, then it would be easy to make additional pages which would be linked to via the "more information" sidebox.

    Please help.

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Add Links to 'More Information' Sidebox

    Have you seen this (as a guide if nothing else)?:

    http://www.zen-cart.com/index.php?ma...oducts_id=1125

  3. #3
    Join Date
    Feb 2009
    Posts
    22
    Plugin Contributions
    0

    Default Re: Add Links to 'More Information' Sidebox

    Seen it, and studied it. There is a lot more than I want, and if what I am looking for is in there, it's eluding me.

 

 

Similar Threads

  1. How to add more links to "More information" Side Box.
    By SandraSD in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Jul 2009, 03:27 PM
  2. Replies: 1
    Last Post: 18 May 2009, 10:44 PM
  3. add images to More Information links
    By hmreseller in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Nov 2007, 08:27 PM
  4. Links in 'More Information' sidebox disappear in IE
    By tj1 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 3 Jun 2007, 05:17 AM
  5. Additional Links to the 'More Information' Sidebox
    By gbnet in forum Basic Configuration
    Replies: 4
    Last Post: 17 Jan 2007, 05:46 AM

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