Quote:
Originally Posted by carpeperdiem
1) exclude xBanners on secure pages
2) hard code banners for secure pages
I don't know about your store, but my only secure pages are checkout/payment -- and I have an ENTIRELY different header and no top navigation in checkout and payment.
I turned https off for contact us...
Obviously, your needs may be more complex than mine.
J
|
I may well adopt your approach too, although I would maintain register.php as a secure page so that customers feel their username and password are "protected".
I'll have a go at parsing txs's variables so that I can replace the protocol method but within /skin/common_files/modules/TXS_Xtreme_Gear/xb_connector.tpl the html I need to parse is beyond my smarty skills:
$tpl_xbanners_code.$txs_pos contains "txs_xb_pos_101" and $txs_xb_pos_101 contains the html " <div class="xb_gallery " id="txs_xb...etc" but I don't know how to use $tpl_xbanners_code.$txs_pos to get to $txs_xb_pos_101.
If only I could say:
{$"{$tpl_xbanners_code.$txs_pos}" = $"{$tpl_xbanners_code.$txs_pos}"|replace:'http: //cdn':'https://www'}
...but I can't