Hi Andy, Actually this line cas.javascript.file=/themes/hbmsu/js/cas.js is commented in my properties file that's why I did not create the JS folder. Anyway I added the JS folder and uncommented that line and tried again and it gave the same error.
Do I need to enable any extra dependency or change in the configuration to have it activated? Best Regards, Mohannad On Monday, May 28, 2018 at 10:49:14 AM UTC+4, Andy Ng wrote: > > 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/c7354d5a-55fa-4f19-81d2-513f67d0ec5b%40apereo.org.
