Hey.
This is actually a three part question:
1. Is it possible to just copy and replace skin files I am using in OTRS 4 to OTRS 5 system? (We are talking about two different virtual machines, not one, so just upgrading is not an option.)
2. I deleted customer default skin files (first copied them), then changed them. After not getting effect I was going to, I pasted original files back. Now, there is nothing like default theme that was setup before, even if files never changed. It's all skewed ...
3. I read documentation about setting custom skin, but there it only says what you need to do with Agent skins. What EXACTLY do I need to do to use new skin. I did the following:
3.1 Copied all 'default skin' files and copied them to new 'custom' folder which I created in $OTRS_HOME/var/httpd/htdocs/skins/Customer/
3.2 Only changed backgound in <body> tag in Core.Default.css file
3.3 In SysConfig I changed from using 'default' option in customer frontend to 'custom' (as is the name of my folder).
Was this enough? Did I missed something?
Would appreciate answers to all of these questions,
Have a nice day
EDIT: I'm using Fedora 23, MySQL
Skins in OTRS 5
Moderator: crythias
Re: Skins in OTRS 5
Anyone?
Re: Skins in OTRS 5
Did you deleted the cache files and regenerated them?
On OTRS 5 you need to use the following commands:
/opt/otrs/bin/otrs.Console.pl Maint::Cache::Delete
/opt/otrs/bin/otrs.Console.pl Maint::Loader::CacheCleanup
/opt/otrs/bin/otrs.Console.pl Maint::Loader::CacheGenerate
The above commands should be run with the otrs user (su - otrs)
On OTRS 5 you need to use the following commands:
/opt/otrs/bin/otrs.Console.pl Maint::Cache::Delete
/opt/otrs/bin/otrs.Console.pl Maint::Loader::CacheCleanup
/opt/otrs/bin/otrs.Console.pl Maint::Loader::CacheGenerate
The above commands should be run with the otrs user (su - otrs)
Re: Skins in OTRS 5
Hi, I know this topic is a bit older but I've got a question about exactly that...
So, I've copied all of the files from the default skin into a new folder 'company' located in $OTRS_HOME/var/httpd/htdocs/skins/Agent
Next I changed some of the files, e.g. the background colour in Core.Default.css or the background in the #Logo section of Core.Header.css.
Then I deleted the cache files and regenerated them as said above, thanks for that!
But when I'm looking up the skins in the settings, there's just default and ivory showing up.
And if I set 'company' as default selected skin in the admin settings, nothing's changing at all as well.
Can anybody please tell me where my error lies? Thanks in advance!
Edit:
I created the following files, as suggested in the manual:
$/OTRS_HOME/var/httpd/htdocs/skins/Agent/company/css/*.css
$OTRS_HOME/var/httpd/htdocs/skins/Agent/company/img/Logo.png
$OTRS_HOME/Kernel/Config/Files/CompanySkin.xml
OTRS version 5.0.4 is running on Ubuntu 16.04 server
Edit:
It's working, nevermind. thank you anyway!
So, I've copied all of the files from the default skin into a new folder 'company' located in $OTRS_HOME/var/httpd/htdocs/skins/Agent
Next I changed some of the files, e.g. the background colour in Core.Default.css or the background in the #Logo section of Core.Header.css.
Then I deleted the cache files and regenerated them as said above, thanks for that!
But when I'm looking up the skins in the settings, there's just default and ivory showing up.
And if I set 'company' as default selected skin in the admin settings, nothing's changing at all as well.
Can anybody please tell me where my error lies? Thanks in advance!
Edit:
I created the following files, as suggested in the manual:
$/OTRS_HOME/var/httpd/htdocs/skins/Agent/company/css/*.css
$OTRS_HOME/var/httpd/htdocs/skins/Agent/company/img/Logo.png
$OTRS_HOME/Kernel/Config/Files/CompanySkin.xml
OTRS version 5.0.4 is running on Ubuntu 16.04 server
Edit:
It's working, nevermind. thank you anyway!
Re: Skins in OTRS 5
make sure that otrs user is the owner of folder "$OTRS_HOME/var/httpd/htdocs/skins/Agent/custom" and the sub folders inside it.
and don't forget as "possebon" said for otrs 5 you will need to run commands
$OTRS_HOME/bin/otrs.Console.pl Maint::Cache::Delete
$OTRS_HOME/bin/otrs.Console.pl Maint::Loader::CacheCleanup
$OTRS_HOME/bin/otrs.Console.pl Maint::Loader::CacheGenerate
in my case the problem was in the permissions of folder "$OTRS_HOME/var/httpd/htdocs/skins/Agent/custom"
because i created it with the user root so the otrs user couldn't write on it.
have fun
.
and don't forget as "possebon" said for otrs 5 you will need to run commands
$OTRS_HOME/bin/otrs.Console.pl Maint::Cache::Delete
$OTRS_HOME/bin/otrs.Console.pl Maint::Loader::CacheCleanup
$OTRS_HOME/bin/otrs.Console.pl Maint::Loader::CacheGenerate
in my case the problem was in the permissions of folder "$OTRS_HOME/var/httpd/htdocs/skins/Agent/custom"
because i created it with the user root so the otrs user couldn't write on it.
have fun
