Custom Skin not registered OTRS 6
Moderator: crythias
Custom Skin not registered OTRS 6
Upgraded to OTRS 6 and now my custom skin isn't registered so you can choose it.
The theme works.
Made a new XML file and added it to the Config dir and rebuild the config, but still it does't show under sysconfig.
Anything different from OTRS 5 that needs to be done?
The theme works.
Made a new XML file and added it to the Config dir and rebuild the config, but still it does't show under sysconfig.
Anything different from OTRS 5 that needs to be done?
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Custom Skin not registered OTRS 6
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
Re: Custom Skin not registered OTRS 6
thanks just what i needed
Re: Custom Skin not registered OTRS 6
Hmm any idea why no icons is showing? doesn't help to change back to default theme/skin.
have cleared the cache.
have cleared the cache.
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Custom Skin not registered OTRS 6
What do you mean by icons?
Have you checked your browsers console for any JavaScript errors?
Have you checked your browsers console for any JavaScript errors?
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
Re: Custom Skin not registered OTRS 6
no console errors.
Re: Custom Skin not registered OTRS 6
has it something to do with /opt/otrs/Kernel/Output/JavaScript/Templates ?
Not sure the function of this yet.
Not sure the function of this yet.
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Custom Skin not registered OTRS 6
These are normal Font Awesome icons defined in the Defaults.pm (for the admin area, at least).
Does var/httpd/htdocs/common/css/ contain a css file and a few fonts?
Does your HTML source code contain any class starting with 'fa fa-'? If so, you probably messed up with some configs and Font Awesome is not getting loaded.
Try adding class 'fa fa-paperclip' to a random div to see if anything appears.
Also try a hard page refresh in your browser and a CacheCleanup in the console if Loader::Enabled::CSS is not disabled.
Does var/httpd/htdocs/common/css/ contain a css file and a few fonts?
Does your HTML source code contain any class starting with 'fa fa-'? If so, you probably messed up with some configs and Font Awesome is not getting loaded.
Try adding class 'fa fa-paperclip' to a random div to see if anything appears.
Also try a hard page refresh in your browser and a CacheCleanup in the console if Loader::Enabled::CSS is not disabled.
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
Re: Custom Skin not registered OTRS 6
Hmm there's only font-awesome.min.css in the folder.
But on another test system where the icons works there is no font files in that directory either.
Tried clear caching and another browser.
nothing showed when adding a div with fa fa-paperclip
also did a yum reinstall of the otrs rpm
But on another test system where the icons works there is no font files in that directory either.
Tried clear caching and another browser.
nothing showed when adding a div with fa fa-paperclip
also did a yum reinstall of the otrs rpm
-
- Znuny superhero
- Posts: 889
- Joined: 15 Dec 2016, 15:13
- Znuny Version: All
- Real Name: Emin
- Company: Efflux GmbH
- Contact:
Re: Custom Skin not registered OTRS 6
The '/css' was too much, but it looks like missing files are not the problem
Kernel/Output/HTML/Templates/Standard/HTMLHead.tt loads Font Awesome.
I'd guess you have changed that file in your old custom theme and installed it in OTRS 6, without making any changes to the file.
If CustomerHTMLHead is untouched in your theme, the icons should work in the customer front end.
If that's the case, you should copy HTMLHead.tt and add your custom changes to that file.
More errors might occur if you did not fully update your theme.
Best regards
Kernel/Output/HTML/Templates/Standard/HTMLHead.tt loads Font Awesome.
I'd guess you have changed that file in your old custom theme and installed it in OTRS 6, without making any changes to the file.
If CustomerHTMLHead is untouched in your theme, the icons should work in the customer front end.
If that's the case, you should copy HTMLHead.tt and add your custom changes to that file.
More errors might occur if you did not fully update your theme.
Best regards
Professional OTRS, Znuny & OTOBO services: efflux.de | efflux.de/en/
Free and premium add-ons: German | English
Free and premium add-ons: German | English
Re: Custom Skin not registered OTRS 6
Thanks, I forgot I added <meta name="format-detection" content="telephone=yes" /> to my HTMLHead.tt
works now
works now
Re: Custom Skin not registered OTRS 6
Is there something extra needed to add custom skin for Customer?
Tried doing the same as for Agent skin but feels like something is missing.
../Config
../Config/XML
Tried doing the same as for Agent skin but feels like something is missing.
../Config
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="1.0" init="Framework">
<ConfigItem Name="Loader::Customer::Skin###101-test-Cust" Required="0"
Valid="1">
<Description Translatable="1">Test Customer Skin</Description>
<Group>Framework</Group>
<SubGroup>Frontend::Customer</SubGroup>
<Setting>
<Hash>
<Item Key="InternalName">test-Cust</Item>
<Item Key="VisibleName">test-Cust</Item>
<Item Key="Description">Test Customer Skin</Item>
<Item Key="HomePage">www.test.com</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
Code: Select all
<?xml version="1.0" encoding="utf-8" ?>
<otrs_config version="2.0" init="Changes">
<ConfigItem Name="Loader::Customer::Skin###101-test-Cust" Required="0"
Valid="1">
<Description Translatable="1">Test Customer Skin</Description>
<Group>Framework</Group>
<SubGroup>Frontend::Customer</SubGroup>
<Setting>
<Hash>
<Item Key="InternalName">test-Cust</Item>
<Item Key="VisibleName">test-Cust</Item>
<Item Key="Description">Test Customer Skin</Item>
<Item Key="HomePage">www.test.com</Item>
</Hash>
</Setting>
</ConfigItem>
</otrs_config>
Re: Custom Skin not registered OTRS 6
Anyone know what's needed to be done with Customer skins in OTRS 6?