simpson7647 Posted January 4, 2013 Share Posted January 4, 2013 Hi all, I currently have 5 buttons set up on the right block of the homepage using the TM Banner Block v1.0 It displays all fine until you go off the homepage onto any page in which it disappears. I would like to have this buttons appearing on the right block of the website permanently but how can I do this please? many thanks! Kind regards, Ryan, Link to comment Share on other sites More sharing options...
clayton29657 Posted January 4, 2013 Share Posted January 4, 2013 Helo simpson7647 Check in your modules tab in back office in positions. you made need to hook that module to other hooks. It sounds like it's hooked only on home page.. Back up your site just in case. I only throwing an option to your needs Clayton Link to comment Share on other sites More sharing options...
simpson7647 Posted January 4, 2013 Author Share Posted January 4, 2013 Thanks for the reply, ooo I see what you mean although unsure how to do it. Which would I hook it with please and where would I do this? thanks, Link to comment Share on other sites More sharing options...
simpson7647 Posted January 4, 2013 Author Share Posted January 4, 2013 Anyone able to help please? thanks, Link to comment Share on other sites More sharing options...
simpson7647 Posted January 7, 2013 Author Share Posted January 7, 2013 bumppppp Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 7, 2013 Share Posted January 7, 2013 Step 1 - Modules > Positions 2 - Right hand corner click on button "Transplant a module" 3 - Choose the Module and the Hook you wish to put it in. Exceptions can be ignored unless you have pages you do not want the module to display on. 4 - Click Save Link to comment Share on other sites More sharing options...
simpson7647 Posted January 7, 2013 Author Share Posted January 7, 2013 (edited) Hi Bill. thanks for the reply. I've tried this, clicked edit on the position but here it wont let me hook this to anything, just allow me to add info to the exceptions. I then tried going modules, (the module), and click configure, then manage hooks at the top. Then transplant a module and it now allows me to select all the options now. What would I try and hook it to here please so it will appear on all pages? many thanks, Edited January 7, 2013 by simpson7647 (see edit history) 1 Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 7, 2013 Share Posted January 7, 2013 Simpson, I have that mod, and I took a look and it seems that it is coded to display on home. Hopefully someone can post and help us out on how to override that. Or you can contact this guy, http://www.prestashop.com/forums/topic/163024-how-to-display-banner-on-all-pages/ He entered a line of code in his template that made it display. Sorry I can't help more. Link to comment Share on other sites More sharing options...
simpson7647 Posted January 8, 2013 Author Share Posted January 8, 2013 Hi Bill, thanks for your time and input. I'll message that member and hope he can help Thanks, Link to comment Share on other sites More sharing options...
MEG Venture Posted January 8, 2013 Share Posted January 8, 2013 Hi Thanks for contacting. I guess in the template file of your module, there is an if statement directing to display the module only on the homepage. We may need to remove that line. Could you please attach the .tpl file of your module? Or alternatively, you can copy and paste its contents. Regards. Link to comment Share on other sites More sharing options...
simpson7647 Posted January 8, 2013 Author Share Posted January 8, 2013 Hi Meg, Thanks for the reply. If you let me know which bit in which folder you require, I'll copy it / pm / email it to you thanks, Link to comment Share on other sites More sharing options...
MEG Venture Posted January 8, 2013 Share Posted January 8, 2013 modules>tm banner>*.tpl Link to comment Share on other sites More sharing options...
simpson7647 Posted January 8, 2013 Author Share Posted January 8, 2013 Thanks for the reply, hopefully this is what you require under : tmbannerblock.tpl as it looks right, {if $page_name == 'index'} <!-- tmbannerblock --> <div id="tmbannerblock"> {counter name=banner_count start=0 skip=1 print=false} {foreach from=$xml->link item=home_link name=links} <a class="banner{counter name=banner_count}" href='{$home_link->url}'><img src='{$this_path}{$home_link->img}'alt="" title="{$home_link->desc}" /></a> {/foreach} </div> <div class="clearblock"></div> <!-- /tmbannerblock --> {/if} thanks, Link to comment Share on other sites More sharing options...
MEG Venture Posted January 8, 2013 Share Posted January 8, 2013 ok please remove {if $page_name == 'index'} and {/if} lines and upload again. They will be visible in all pages. 2 Link to comment Share on other sites More sharing options...
simpson7647 Posted January 8, 2013 Author Share Posted January 8, 2013 Thank you very much Meg, you have solved it I just had a look at your website and wondering if you know how or have a module to add an image at the very top of the website next to the company logo? thanks, Link to comment Share on other sites More sharing options...
MEG Venture Posted January 8, 2013 Share Posted January 8, 2013 I changed the logo, made it bigger including the image, and then made some changes on the site css to resize the header. Link to comment Share on other sites More sharing options...
simpson7647 Posted January 8, 2013 Author Share Posted January 8, 2013 Hi Meg, ohh I see, so requires enlarging the size of the logo and then updating the code to the larger size. Sounds quite simple? Many thanks, Link to comment Share on other sites More sharing options...
Bill Dalton Posted January 8, 2013 Share Posted January 8, 2013 ok please remove {if $page_name == 'index'} and {/if} lines and upload again. They will be visible in all pages. Always so easy ... once you know how. Thank you MED! 1 Link to comment Share on other sites More sharing options...
ps3z Posted May 18, 2013 Share Posted May 18, 2013 (edited) hello everyone i have tm banner too but its not being modified for any positions. i would to get it down of slideshow.but its not allowing. someone could help me with this?? its solved by MEG VENTURE Thanks for everything. Best Regards Ps3z Edited May 18, 2013 by ps3z (see edit history) 1 Link to comment Share on other sites More sharing options...
Recommended Posts