LISE - is there a way to add conditions based on order?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

LISE - is there a way to add conditions based on order?

Post by rbaby »

Hello,

How would I go about adding a condition to my LISE? If I wanted to apply different rules for order position 1-6, what's the best way to go about it? Here's a rather dumb way to explain:

if list item order 1 = add div label "left"
if list item order 2 = add div label "center"
if list item order 3 = add div label "right"

--

if list item order 4 = add div label "left"
if list item order 5 = add div label "center"
if list item order 6 = add div label "right"

Thank you for any guidance.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: LISE - is there a way to add conditions based on order?

Post by Jo Morg »

This is a sample related to Bootstrap, but can be adapted to just about any arrangement you like: http://cmsms.dev.sm-art-lab.com/snippet ... marty.html
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
rbaby
Forum Members
Forum Members
Posts: 144
Joined: Thu Feb 07, 2008 10:28 pm

Re: LISE - is there a way to add conditions based on order?

Post by rbaby »

Jo Morg wrote:This is a sample related to Bootstrap, but can be adapted to just about any arrangement you like: http://cmsms.dev.sm-art-lab.com/snippet ... marty.html
Jo, thank you so much! I will try this :).
Locked

Return to “Modules/Add-Ons”