Active
Project:
jCarousel Lite
Version:
5.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
14 May 2009 at 23:05 UTC
Updated:
15 May 2009 at 02:52 UTC
Is there a way to wrap the output of the jCarousel view in an 'if' statement so that it only displays if there's any content within the view. I'm using this for user content on their profiles and for certain users the various divs (with their margins and the arrows) still show up even if they haven't yet posted any content.
Thanks, this module rocks!
Comments
Comment #1
pribeh commentedSorry,
Changing title to reflect the real issue I'm experiencing: For each view (on a profile page) that contains only one node (blog) the "jCarousel lite view" shows nothing but the arrows. So, to clarify, for every user that's only posted one blog nothing displays in the jCarousel view. Is this expected default behavior or is there a way around this?
Comment #2
pribeh commentedK, just thinking out loud here - I've modified the jCarousel-view module to display 3 nodes at a time. I use panels 2 & APK to help display uid-related view pane content. Ideally, I would find a way to print/display a regular (list-type) view if say the user has only posted 3 nodes. If a user had more than 3 nodes then the jCarousel-view would display instead. I'll try to theme this but otherwise I'm curious if there's a way to implement something along these lines within the module itself.