[cas-user] Re: Applying Custom Theme CAS 5.3.x

2019-01-02 Thread Andrew Evans
You need to place resources under your resources directory and not etc/cas/. I am still working out the css and js but I got the html to work that way. I had to copy the default casLoginView and create a theme view under the appropriate folder in templates though. On Wednesday, September 26,

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-28 Thread Fahmi L. Ramdhani
Thank you David. The problem is solved by *creating the src/main/resources* directory and *moving the template files*. Thank you very much to all. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions:

Re: [cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-28 Thread David Curry
The static/themes/skeleton and templates/skeleton subdirectories do not belong in etc/cas/config; they belong in src/main/resources in your overlay so that they get bundled into cas.war. Like this: /opt/workspace/cas-overlay-template/ ├── LICENSE.txt ├── README.md ├── build.cmd ├── build.sh* ├──

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-28 Thread Fahmi L. Ramdhani
Thanks Doug and all. My files and directories structure is: */opt/workspace/cas-overlay* - build.cmd - build.sh - *[etc]* - [cas] - [config] - cas.properties - log42j.xml - *skeleton_in_ID.properties* - *skeleton.properties*

RE: [cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-27 Thread Doug Campbell
for you. Doug From: cas-user@apereo.org [mailto:cas-user@apereo.org] On Behalf Of Andy Ng Sent: Thursday, September 27, 2018 10:28 PM To: CAS Community Subject: [cas-user] Re: Applying Custom Theme CAS 5.3.x Hi Fahmi, Sorry I am not able to provide a solution to your problem. Mainly

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-27 Thread Andy Ng
Hi Fahmi, Sorry I am not able to provide a solution to your problem. Mainly because there are not enough information provided. I can say for sure that 5.3.x custom theme do works (I am using 5.3.3 myself), so most likely it is not because of version problem, but is actually something in your

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-27 Thread Fahmi L. Ramdhani
This customization is based on the link https://groups.google.com/a/apereo.org/forum/#!searchin/cas-user/themes/cas-user/k-yfoou7Zy0/BXry1PxgFAAJ. The directory structure is the same as the example you provided. But after rebuilding and try new theme, there is an error message: 2018-09-26

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-27 Thread Andy Ng
Hi, it is a bit hard to look through your directory structure, so I can't really comment on that now. However, there are examples out there with successful custom theme implementation, maybe those will help you understand the directory better:

[cas-user] Re: Applying Custom Theme CAS 5.3.x

2018-09-26 Thread Fahmi L. Ramdhani
In etc/cas/config/cas.properties: cas.theme.paramName: theme cas.theme.defaultThemeName: skeleton spring.thymeleaf.cache=false cas.view.templatePrefixes[0]: file:///etc/cas/templates cas.messageBundle.baseNames=classpath:/skeleton_in_ID.properties,classpath: messages Help me on this issue.