开发者

With drupal boost module any way to still have randomly loaded images

I am using Drupals boost module to cache my very dyanmic website.

I also am using a views block to load in banner images from a content type and the view is set to randomly load an image.

However, because boost module is caching the pages as html, what ever random images is loaded when the page is cached is what I am s开发者_高级运维tuck with.

Is there any to mix the boost html cache with random loading images? The effect i am trying to get is a random banner but still use boost module.

Maybe a non-views solution.

Thanks for any ideas and if there is not solution and this is just a trade off of lots of caching please let me know.


Since Boost turns your Drupal site into static pages, the only way I can think of would be to have Javascript/jQuery handle randomizing the image that gets loaded. Something along the lines of imBannerRotater's random mode or other similar Javascript scripts should work.


You'll have to use AJAX to display the block (see discussion here).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜