Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2006
    Posts
    242
    Plugin Contributions
    0

    Default Display custom sidebox only on one page.

    I'm making a custom sidebox, and I was wondering what I need to do to make it so it only displays on 1 page. Similar to how the tell a friend box works when you view a product.


    Thanks to whoever maybe able to help.

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

    Default Re: Display custom sidebox only on one page.

    Look at /includes/templates/template_default/common/tpl_main_page.php (in the top comments) for directions and examples of how to do this kind of thing.

    What one page are you wanting this on?

  3. #3
    Join Date
    Apr 2006
    Posts
    242
    Plugin Contributions
    0

    Default Re: Display custom sidebox only on one page.

    Thats to remove the entire columns for some pages.

    I'm not looking to do that I want a one sidebox to show up one 1 page, and no other pages without affecting my other sideboxes. ( just like the tell a friend sidebox works)

    Could this also be done with TPL_main_page.php cause I don't see anything up top saying what I would need to do to achieve this?

    Thanks.

    Quote Originally Posted by gjh42 View Post
    Look at /includes/templates/template_default/common/tpl_main_page.php (in the top comments) for directions and examples of how to do this kind of thing.

    What one page are you wanting this on?
    Last edited by shackle; 29 Aug 2007 at 09:11 PM.

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

    Default Re: Display custom sidebox only on one page.

    The principles are applicable to all types of selective display functions.

    Many sidebox files have a $show_sidebox kind of variable near the top; for any that do, you can put a test above that to set "show" to true or false depending on conditions.

 

 

Similar Threads

  1. Display individual sidebox on only one Ez Page
    By creamcrackers in forum General Questions
    Replies: 10
    Last Post: 29 Mar 2012, 04:06 PM
  2. v150 Sidebox on one ez page ID only
    By buildingblocks in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 29 Feb 2012, 12:52 AM
  3. How to show a custom sidebox only on my home page?
    By SandraSD in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 16 Dec 2009, 08:43 AM
  4. display only one feature product in sidebox
    By MatchManhattan in forum Setting Up Specials and SaleMaker
    Replies: 1
    Last Post: 21 May 2008, 06:53 AM
  5. Limit subcategory display in sidebox to one level only
    By kusogaki in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 19 Feb 2008, 11:04 PM

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