evapatriq Posted August 13, 2015 Share Posted August 13, 2015 Hi guys. I am using a 3rd party template which works great save for the knowledge-base and announcement pages. I have already updated the htaccess file and now I am told by WHMCS support staff that the reason for the error is my custom template is using relative paths. They have said that for the formatting to show I now need to use the {$WEB_ROOT} merge field in front of your relative paths (refer to /templates/six/includes/head.tpl for an example). Does anyone know which file(s) to edit and does it require just placing {$WEB_ROOT}/ in front of template? e.g. <link rel="stylesheet" type="text/css" href="templates/{$template}/html/css/style.css"> becomes <link rel="stylesheet" type="text/css" href="{$WEB_ROOT}/templates/{$template}/html/css/style.css"> Can anyone there is help? Thanks Patrick 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted August 14, 2015 Share Posted August 14, 2015 do you need to apply changes to CSS and JS URLs, check these files template/header.tpl template/footer.tpl template/includes/head.tpl 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.