Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2011
    Posts
    13
    Plugin Contributions
    0

    Default Adding Page 2 to information box

    I've searched high and low and tried to find a solution but can't. I need to add Page 2 (already renamed it to images) into my information box. I already made sure that the Define Page Status for page_2 = 1. It shows up in the site map so I know the link is live. Not sure how else to add the link to this information box.

    Suggestions or links to do so appreciated.

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

    Default Re: Adding Page 2 to information box

    Look at includes/modules/sideboxes/more_information.php

    Find
    Code:
      if (DEFINE_PAGE_2_STATUS <= 1) {
        $more_information[] = '<a href="' . zen_href_link(FILENAME_PAGE_2) . '">' . BOX_INFORMATION_PAGE_2 . '</a>';
      }
    copy that and insert into
    includes/modules/sideboxes/information.php
    editing out "more_"
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Apr 2011
    Posts
    13
    Plugin Contributions
    0

    Default Re: Adding Page 2 to information box

    Awesome! It works.

    Thanks for helping me not stay up all night over something so simple.

  4. #4
    Join Date
    May 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: Adding Page 2 to information box

    I am totally new to zencart I want to add new page which needed a form in it. Can somebody help? Thanks

  5. #5
    Join Date
    Jun 2005
    Location
    Dhaka, Bangladesh
    Posts
    21
    Plugin Contributions
    2

    Default Re: Adding Page 2 to information box

    Quote Originally Posted by 4teddy4 View Post
    I am totally new to zencart I want to add new page which needed a form in it. Can somebody help? Thanks
    What does the form do?
    - If it is a plain html form and do not come back to zencart after you submit it, you can create an EZ-page from Admin -> Tools -> EZ-pages.
    - If you need to write custom php code to handle the submitted form, you need to add a new page to zencart and ahndle everything manually. In that case, check my post about basic zencart code structure.

    http://www.imranulhoque.com/zencart/...ode-structure/
    Imranul Hoque
    Director @ codeTrio
    www.imranulhoque.com

 

 

Similar Threads

  1. Adding Page 2, Page 3 and Page 4 links to Information Box
    By MillenniumJim in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Feb 2012, 07:47 AM
  2. Adding EZ-Page to More Information side box
    By dapottster in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 11 Sep 2009, 05:45 AM
  3. Adding A Link Page Under Left Side Information Box
    By PhysiqueBoutique in forum Basic Configuration
    Replies: 3
    Last Post: 3 Oct 2008, 06:23 PM
  4. Adding a page in the Information side box
    By thelatinbarbie in forum General Questions
    Replies: 3
    Last Post: 16 Oct 2007, 07:51 AM
  5. adding another defined page to the information box?
    By snarkys in forum General Questions
    Replies: 6
    Last Post: 22 Nov 2006, 01:06 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