PDA

View Full Version : Template components not automatically referencing their CSS. My fault, please assist.



Jonathan Solomon
May 5, 2024, 08:48 PM
Maybe I messed up an upgrade, but template components aren't referencing their own CSS.

I had to add the following line to the component "listing-details-gallery.tpl" to get it working:
flUtil.loadStyle(rlConfig.tpl_base + 'components/listing-details-gallery/listing-details-gallery.css');


Do you have ideas/suggestions for what could be wrong in my server setup or my upgrade process that I needed to add that line?
Thank you!

(running: 4.9.2, on php-7.4.33)

Rudi
May 6, 2024, 02:54 AM
It seems that you didn't upgrade all the files from the script, you need to check this file: includes/classes/rlStatic.class.php

Note you should apply the patch consistently: version by version