Hi Mac,

I think that you have to change the title element in classes/templates/layout.html...

Cheers,

Pavlos


On 13/12/2017 06:43 μμ, Mac Reid wrote:
Hi all,

I am trying to modify the HTML title of the default theme. I have added a custom messages file (src/main/resources/custom_messages.properties) with a modified cas.login.pagetitle, but the title of the page shows up as My String - CAS - Central Authentication Service.

I then modified the default fragment for the header (src/main/resources/templates/fragments/head.html) to not insert a value to the title (comment out <title th:insert="::title">CAS - Central Authentication Service</title> or set the inner string to something else). The page title still shows the - CAS - Central Authentication Service string regardless.

Lastly, even when setting the title element in the casLoginView.html itself, the resulting page /still /shows the - CAS - Central Authentication Service string after rebuilding the WAR. I have tried emptying my browser cache between attempts to no avail.

How do I get rid of the '- CAS - Central Authentication Service' addition to the page title?

Thanks,

Mac Reid
--
- 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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/cdaea65b-8b10-4885-8a43-aea14bac5e07%40apereo.org <https://groups.google.com/a/apereo.org/d/msgid/cas-user/cdaea65b-8b10-4885-8a43-aea14bac5e07%40apereo.org?utm_medium=email&utm_source=footer>.

--
- 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/d734fb0b-5755-1a8c-3af5-6a00ec001386%40noc.edunet.gr.

Reply via email to