lcorbett Posted April 21, 2010 Share Posted April 21, 2010 I installed a third party module (who's installation instructions were woefully inadequate), and of course I went there first to ask this question...twice...with no response. So I'll try to make this as general as possible. I think I know what I need to do, just don't know how to do it. For the record, the 3rd party module is Gold Coupon. Maybe if somebody who has installed this module is reading this, they can help me out, here. I looked at the source code of the menu item whose page is NOT styled and compared it to a navigation item whose page IS styled, (Affiliates, for instance), and noticed this difference first off: STYLED page: <base href="https://www.ravensheart.biz/orders/" /> UNSTYLED page: <base href="https://www.ravensheart.biz/orders/clientarea.php/" /> So my question is...how/where do I access the file to change the URL in the <base> tag? Thanks in advance, Lori 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted April 21, 2010 Share Posted April 21, 2010 The base tag is in your header.tpl file. If you are using a custom page then the base href can be customised as below if you want to use SSL for your page. This is from one of my mods STEP 3) Edit your header.tpl Replace {if $systemurl}<base href="{$systemurl}" />{/if} With {php}global $CONFIG;$this->assign('url', (($_SERVER['HTTPS'] == 'on') ? $CONFIG['SystemSSLURL'] : $CONFIG['SystemURL']));{/php} <base href="{$url}/" /> 0 Quote Link to comment Share on other sites More sharing options...
lcorbett Posted April 21, 2010 Author Share Posted April 21, 2010 Thanks, Sparky! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.