hippooflove Posted October 5, 2011 Share Posted October 5, 2011 I have also posted this in Paypal forum but not hopeful of getting an answer there as I already have 3 questions unanswered recently. I am hoping more people look at this section. Paypal offer the coding for a gift voucher button. I have created the code but do not know where to put it. Please can anybody help. Barry Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 6, 2011 Share Posted October 6, 2011 Hi Barry, If you would like to have this show up throughout your website, the best place to add it would be your header.tpl file. I hope this helps! -Mike Link to comment Share on other sites More sharing options...
hippooflove Posted October 7, 2011 Author Share Posted October 7, 2011 Thanks for the reply Mike. I tried this and it did not show up. I just pasted the code into the file. just below the "head". Was that right please? Kind regards Barry Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 7, 2011 Share Posted October 7, 2011 Hi Barry, Have you already cleared your browser's cache and regenrated htaccess since you made this change? -Mike Link to comment Share on other sites More sharing options...
hippooflove Posted October 9, 2011 Author Share Posted October 9, 2011 I have now removed it altogether Mike as it did not appear. Sorry not sure what you mean about regenerate htaccess Barry Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 10, 2011 Share Posted October 10, 2011 I have now removed it altogether Mike as it did not appear. Sorry not sure what you mean about regenerate htaccess Barry Hi Barry, To regenerate htaccess, go to your Back Office to Tools > Generators, and then click "Generate htaccess." Please let me know if you still have trouble with this, -Mike Link to comment Share on other sites More sharing options...
hippooflove Posted October 11, 2011 Author Share Posted October 11, 2011 Hi Mike I have now put the code back and followed your instructions but it still does not show. Any further thoughts please. Barry Link to comment Share on other sites More sharing options...
Mike Kranzler Posted October 11, 2011 Share Posted October 11, 2011 Hi Barry, I just spoke with a designer and he suggested that you add the code to the header.tpl file where I've marked it here: <!-- Header --> <div id="header"> <a id="header_logo" href="{$base_dir}" title="{$shop_name|escape:'htmlall':'UTF-8'}"> <img class="logo" src="{$img_ps_dir}logo.jpg?{$img_update_time}" alt="{$shop_name|escape:'htmlall':'UTF-8'}" {if $logo_image_width}width="{$logo_image_width}"{/if} {if $logo_image_height}height="{$logo_image_height}" {/if} /> </a> <div id="header_right"> {$HOOK_TOP} [iNSERT YOUR CODE HERE] </div> </div> Please let me know if that works for you. -Mike Link to comment Share on other sites More sharing options...
hippooflove Posted October 12, 2011 Author Share Posted October 12, 2011 Thank you for all you help Mike. Now all okay. Moved it around a bit and think I have settled for time being on right at top. Where your last post suggested it made it look a bit to busy in that area. once again many thanks Barry Link to comment Share on other sites More sharing options...
Recommended Posts