Hi Michele,

For fragments, by default even if you are using theme, it will point to the 
main fragment.

This is because thymeleaf render path by attaching the path with the 
prefix, instead of using the one in the theme directory.


Refering 
to: 
https://github.com/apereo/cas/blob/v6.0.0/webapp/resources/templates/casLoginView.html

As you can see, fragment is called like this: <a href="
*fragments/cookies.html*">cookies fragment</a>

Hence, even in themed login, it will still point to (in your case): 
/etc/cas/templates/ + fragments/cookies.html = 
/etc/cas/templates/fragments/cookies.html

My current work around is only to add back the themed name to 
casLoginView.html in the theme directory (e.g. <a href="*mytheme/*
*fragments/cookies.html*">cookies fragment</a> ), there might be ways to 
make it modular but I am out of idea during that time.

See if the above help you!


Cheers!
- Andy

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/66bdbcba-75b9-4bf2-a5d2-1398d133760a%40apereo.org.

Reply via email to