Search the Community
Showing results for tags 'override'.
-
When I add styles to custom.css file, they do not override all.min.css. I find myself always adding the !important when I shouldn't have to. What is going on with this minify stuff? Is this being autocompiled? Am I suppose to be using a GUI tool to recompile? Still I had no luck, even when in the /includes/head.tpl I made it look like this: <link href="{$WEB_ROOT}/templates/{$template}/css/custom.css" rel="stylesheet"> <link href="{$WEB_ROOT}/templates/{$template}/css/all.min.css?v={$versionHash}" rel="stylesheet"> Here is the original /includes/head.tpl: https://github.com/WHMCS/templates-six/blob/master/includes/head.tpl --- https://github.com/WHMCS/templates-six/releases http://docs.whmcs.com/Customising_the_Six_Theme
- 6 replies
-
- custom.css
- override
-
(and 1 more)
Tagged with:
-
Hello, I want to override values passed to template files. In .tpl file I have variable of logged user - "$loggedinuser.firstname" I'm trying to create hook "ClientAreaPage", in dump of $vars I see: [loggedinuser] => Array ( [userid] => "84" [firstname] => "John" [lastname] => "Stuff" => "email@email.com" ) I'm trying to modify firstname from "John" to "Mr. John" with hook, to display it in client area, but with no luck How to change that value and return to template. I don't want to change variables in template in case of template update. Version 7.1.2 Thanks.