osCmax v2.5 User Manual
Results 1 to 3 of 3

how do i make an infobox hidden on some pages but not all?

This is a discussion on how do i make an infobox hidden on some pages but not all? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; how do i make one or two infobox only active in somepages for example i want the affiliate box to ...

      
  1. #1
    New Member
    Join Date
    Nov 2005
    Posts
    14
    Rep Power
    0


    Default how do i make an infobox hidden on some pages but not all?

    how do i make one or two infobox only active in somepages
    for example i want the affiliate box to show only in main page and not in products info page?


  2. #2
    New Member
    Join Date
    Nov 2005
    Posts
    14
    Rep Power
    0


    Default

    hmm i still dont know how to do this.

    someone could pls tell me.

    i want to hide affiliate infobox in 1st page just like review infobox, where is it being called.

    Thanks in advance

    Eric

  3. #3
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default

    I haven't done this, but go into includes/boxes/ and edit affiliate.php
    locate this line
    Code:
    include (bts_select('boxes', $box_base_name)); // BTS 1.5
    That's what displays the box. If I were trying to NOT display this box on the index.php page I would just put an if-then statement around it that looked to see what page I was on and then only display if the page wasn't index.php )or whatever your default homepage may be).
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

Similar Threads

  1. Specials infobox on all pages?
    By adiwillow in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 03-20-2006, 07:48 AM
  2. Hidden configuration
    By msadriano in forum osCommerce 2.2 Discussion
    Replies: 2
    Last Post: 12-31-2005, 10:39 PM
  3. A own oscomshop homepage+pages to make how?:: who nows?
    By doumawis in forum osCommerce 2.2 Modification Help
    Replies: 6
    Last Post: 02-01-2005, 09:32 AM
  4. How do you make all pages secure?
    By smc13 in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 07-31-2004, 04:22 AM
  5. Whats the best way to make and add new pages
    By Dutchy in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 01-10-2003, 10:34 AM

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
  •