osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Customization/Mods

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 12-14-2005, 02:17 PM
New Member
 
Join Date: Nov 2005
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
technoboy
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?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 03-01-2006, 08:28 AM
New Member
 
Join Date: Nov 2005
Posts: 14
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
technoboy
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 03-02-2006, 12:43 AM
Active Member
 
Join Date: Oct 2005
Location: wherever I happen to be at the moment
Posts: 461
Thanks: 4
Thanked 79 Times in 73 Posts
Rep Power: 7
met00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nicemet00 is just really nice
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 07:33 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax