Active
Project:
Composite Layout
Version:
6.x-1.0-beta8
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
8 Jul 2011 at 15:24 UTC
Updated:
19 Jul 2011 at 07:17 UTC
Hi,
I need to do some theming on a drupal page using composite.
I'd like to get classes on each displayed node, depending or their display order (like item-1, item-2, etc.).
I did not found any way to do this, even a global php variables because nodes are not loaded in the order they are displayed.
Is there a way to do it ?
Best regards,
Slivo
Comments
Comment #1
bengtan commentedHi,
A quick look in the source code didn't show up anything. I suspect you'll have to create the variable and track things yourself. Perhaps override some of the themeing and use a static variable to keep count?