Active
Project:
Views Slideshow: Dynamic Display Block
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
1 Sep 2011 at 09:33 UTC
Updated:
10 Jul 2013 at 03:05 UTC
Jump to comment: Most recent
Comments
Comment #1
ppblaauw commentedYou could try to change 'every page' to TRUE in the views-slideshow-ddblock-main-frame--vsdupright30p.tpl.php file so the css is included in aggregation:
Change:
to
Hope this helps you further, please let me know.
Comment #2
vegardjo commentedThanks, got it to work, but I'm not seeing the same as you here. You have two drupal_add_css functions where I only have one, and you have a different syntax than me. I have:
However, changing this to your syntax:
(it actually works with both every_page set to TRUE and FALSE now..)
Seems like one of us is looking at the wrong file? I do believe I downloaded the 7.x theme pack from the correct place, but I might be wrong?
Comment #3
ppblaauw commentedYou are right.
I have a newer version of the slideshow themes, which is not uploaded to ddblock.myalbums.biz.
Will upload them soon.
Comment #4
ParisLiakos commentedsubscribe.Aggregation from Performance page under configuration breaks the slideshows
Comment #5
ppblaauw commentedYou can change in the views-slideshow-ddblock-main-frame--vsduprightxxp.tpl.php file (replace xx with the slideshow theme version used):
into
to exclude the css from the aggregation
or
to include the css in the aggregation
Comment #6
ParisLiakos commentedtried but not working.
i will take a closer look when i can.javascript is working OK only css isnt there.
i ll have to check the aggregated css file to see if its included.
and if it is,why not working
Comment #7
jbova commentedThe last section of code from #5 worked.
Comment #8
ParisLiakos commentedI can confirm its working.disregard #6, i was changing the line in wrong template:/
Thanks!
Comment #9
jawi commentedWorked for me.
Comment #10
jlea9378 commentedI was having a problem where the CSS wasn't loading when I was authenticated, even with CSS aggregation disabled. It would work for anonymous users though.
Enabling CSS aggregation broke it for anonymous and it remained broken when logged in.
However, the above fix resolved both issues! =)
Comment #11
jlea9378 commentedRTBC?
Comment #12
jawi commentedHad some trouble on a new d7 installation
#5 fixed the caching problem.
Comment #13
damienmckennaThis needs an actual patch in order for it to be marked RTBC.
Comment #14
damienmckennaFYI this is true of many DDBlock's template files, not just for this submodule.
Comment #15
labboy0276 commentedI can confirm #5 works as well, the code that I inherited with this site I am fixing was a little bit different, but the same:
drupal_add_css(drupal_get_path('module', 'views_slideshow_ddblock') . '/css/views-slideshow-ddblock-cycle-vsddefault.css', array('group' => CSS_THEME, 'every_page' => TRUE));