[SOLVED] Problem with themes
Moderator: crythias
[SOLVED] Problem with themes
I created a new theme and placed it under 'Kernel/Output/HTML/Company' and added it in SysConfig under 'Frontend::Themes' as described here. http://otrs.github.io/doc/manual/admin/ ... hemes.html.
The theme however does not appear under 'Preferences'. As a matter of fact, there is no option to select a theme, although theme is activated in SysConfig Is it possible to set a default skin for agents?
Thank you
The theme however does not appear under 'Preferences'. As a matter of fact, there is no option to select a theme, although theme is activated in SysConfig Is it possible to set a default skin for agents?
Thank you
You do not have the required permissions to view the files attached to this post.
Last edited by aph on 21 Jul 2014, 13:12, edited 1 time in total.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Re: Problem with themes
Do I have to register themes somewhere other than 'Frontend::Themes' as well?
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
Re: Problem with themes
Any idea why 'Theme' option does not appear in user preferences?
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Problem with themes
Please show us how/where you have configured the Themes. Is the Company directory readable for the webserver user (Did you run otrs.SetPermissions.pl after you have created the dir)?
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Problem with themes
I created the directory named 'Company' under ....\otrs\OTRS\Kernel\Output\HTML.
The same users that have access to the ....\otrs\OTRS\Kernel\Output\HTML\Standard directory also have access to ....\otrs\OTRS\Kernel\Output\HTML\Company directory.
On running the command
I get the following error
The same users that have access to the ....\otrs\OTRS\Kernel\Output\HTML\Standard directory also have access to ....\otrs\OTRS\Kernel\Output\HTML\Company directory.
On running the command
Code: Select all
C:\otrs\OTRS\bin>otrs.SetPermissions.pl --otrs-group=users
Code: Select all
bin/otrs.SetPermissions.pl - set OTRS file permissions
Copyright (C) 2001-2014 xxx, http://otrs.com/
Usage: otrs.SetPermissions.pl
[--otrs-user=<OTRS_USER>]
[--web-user=<WEBSERVER_USER>]
[--otrs-group=<OTRS_GROUP>]
[--web-group=<WEB_GROUP>]
[--admin-user=<ADMIN_USER>]
[--admin-group=<ADMIN_GROUP>]
[--admin-group-writable]
[--secure] (paranoid mode: all files readonly, does not work with PackageManager)
[--not-root]
<OTRS_HOME>
Try: otrs.SetPermissions.pl /opt/otrs
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Problem with themes
You didn't show us how you *configured* itrenee wrote:Please show us how/where you have configured the Themes
Then run the command as shown...aph wrote: On running the commandI get the following errorCode: Select all
C:\otrs\OTRS\bin>otrs.SetPermissions.pl --otrs-group=users
Code: Select all
bin/otrs.SetPermissions.pl - set OTRS file permissions Copyright (C) 2001-2014 xxx, http://otrs.com/ Usage: otrs.SetPermissions.pl [--otrs-user=<OTRS_USER>] [--web-user=<WEBSERVER_USER>] [--otrs-group=<OTRS_GROUP>] [--web-group=<WEB_GROUP>] [--admin-user=<ADMIN_USER>] [--admin-group=<ADMIN_GROUP>] [--admin-group-writable] [--secure] (paranoid mode: all files readonly, does not work with PackageManager) [--not-root] <OTRS_HOME> Try: otrs.SetPermissions.pl /opt/otrs
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Problem with themes
I created a directory ....'Kernel/Output/HTML/Company' In this directory I copied the dtl files and changed them. I then activated the theme under Frontend::Themes in Framework -> Core::Web.reneeb wrote: You didn't show us how you *configured* it
In Framework -> Frontend::Agent::Preferences, I have the following settings (which as far as understand defines that the 'Theme' option should be dispalyed under 'Edit your preferences' ) on running the command as shown I get the error
Code: Select all
The getpwnam function is unimplemented at C:\otrs\OTRS\bin\otrs.SetPermissions.pl line 314.
You do not have the required permissions to view the files attached to this post.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Problem with themes
Sorry, didn't read that you're using Windows. Forget the SetPermissions stuff...
Please post a screenshot...I then activated the theme under Frontend::Themes in Framework -> Core::Web.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Problem with themes
Here is the screenshot
ThanksYou do not have the required permissions to view the files attached to this post.
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Problem with themes
The option will appear in the preferences when there are at least to themes to choose from. As you have enabled only one (your own), the option is not shown.
So you should set your own theme as the standard theme.
So you should set your own theme as the standard theme.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Problem with themes
Working now! After creating a new theme, a drop down list appears.
Thanks!
Thanks!
OTRS 3.3.x (private/testing) on Windows Server 2008 with MSSQL database.
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache
OTRS 3.3.x (private/testing) on CentOS with MySQL database and apache