+ Reply to Thread
Results 1 to 2 of 2

Thread: Template components not automatically referencing their CSS. My fault, please assist.

  1. #1

    Template components not automatically referencing their CSS. My fault, please assist.

    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)
    Last edited by Jonathan Solomon; May 5, 2024 at 08:52 PM.

  2. #2
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,191
    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

+ Reply to Thread