Removing Slider on certain pages - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Removing Slider on certain pages (/showthread.php?tid=4261) |
Removing Slider on certain pages - tileyuk - 2013-02-05 Hi, im new to GetSimple, and i have it installed with the GSBigBusiness Theme. I want to have the slider on the home page but not the subsequent pages. I have got a separate template file but when i remove the section referring to the slider code the page doesn't display correctly. Has anybody experienced this problem before? or can somebody with more experience help me? Thanks RE: Removing Slider on certain pages - bhwebco - 2013-02-06 (2013-02-05, 23:16:45)tileyuk Wrote: Hi, im new to GetSimple, and i have it installed with the GSBigBusiness Theme. I want to have the slider on the home page but not the subsequent pages. I have got a separate template file but when i remove the section referring to the slider code the page doesn't display correctly. Has anybody experienced this problem before? or can somebody with more experience help me? Thanks Its probably best to ask in the specific template support forum if there is one but what I do for different pages is just create a separate template without the specific code then just assign the new template to that particular content in the pages section. However depending on how that template is styled you may have to adjust for margin and padding differences but get simple allows for giving the body and id which would let you set those variables at a per page level. Example create a template.php but just call it frontpage.php and make your adjustments, then let the default template.php handle the rest of your pages without whatever slider script is being used. I dont know how that template is structured and ive never even used a pre made template on GS for anything beyond a reference point so not sure if that helps. RE: Removing Slider on certain pages - Timbow - 2013-02-06 I had a quick look. There is something odd with the way the divs are closed means the white #wrapper div is broken by removing the slider. Was that your problem? Did you fix it? Here is a page template with the slider removed (which works). PHP Code: <?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); } RE: Removing Slider on certain pages - tileyuk - 2013-02-09 Ahhh excellent thanks very much! problem solved |