Hi Mohannad, The structure in general is definitely correct (For that I mean [src > main > resources > static > themes > hbmsu > css > ...])
One thing I spotted is that you didn't seems to have [src > main > resources > static > themes > hbmsu > js > ...] I am suspecting that the line: cas.javascript.file=/themes*/hbmsu/js/cas.js* must required you to specified the [.. > static > themes > hbmsu > js ] folder, which I think you didn't include in your CAS path. See if you create this: [src > main > resources > static > themes > hbmsu > js > cas.js] Will that make your error goes away. If so, then try removing the line [cas.javascript.file=/themes*/hbmsu/js/cas.js]* to see if it will work if you remove the line, so you don't need to keep unnecessary folder in your project. Cheers! - Andy On Monday, 28 May 2018 14:14:38 UTC+8, Mohannad Henno wrote: > > Hi Andy, > > Thank you for your reply and for sharing the discussion links. My folder > structure looks very similar to the one mentioned in the posts; here is it. > > > <https://lh3.googleusercontent.com/-nB3dgmEilzE/WwudyoogyJI/AAAAAAAADzE/XTWyElYf_CQFs265XJfK-P9Dl_-VePKtQCLcBGAs/s1600/Screen%2BShot%2B2018-05-28%2Bat%2B10.07.30%2BAM.png> > > In the hbmsu.properties file I have added the following: > > standard.custom.css.file=/themes/hbmsu/css/cas.css > admin.custom.css.file=/themes/hbmsu/css/admin.css > cas.javascript.file=/themes/hbmsu/js/cas.js > > > Simply i copied all CSS and JS files from the default theme to change them > later. > > Best Regards, > Mohannad > > On Sunday, May 27, 2018 at 6:53:18 PM UTC+4, Andy Ng wrote: >> >> Hi Mohannad, >> >> I think the problem might be some of your files / folder is put on the >> wrong directory. >> >> See if you can write out how your files layouts, that might be helpful to >> solving your problem. >> >> Meanwhile, you can also check out some theme customization discussion >> post, to see if it is helpful to you or not. >> https://groups.google.com/a/apereo.org/forum/m/#!topic/cas-user/J3g7AroO2mM >> >> 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/b7cab3b0-3f6e-44d2-8708-5f5e2b555ccf%40apereo.org.
