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.
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.
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?
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.
Last edited by shackle; 29 Aug 2007 at 09:11 PM.
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.