June 30, 2015

OutPut Modifier “Contains” | MODX Community Forums

OutPut Modifier “Contains” | MODX Community Forums


Back to MODX.com |

Forums |

Docs |

Bugs |

Blog

MODX Forums

Login to MODX Don’t have a MODX.com account? Create one

modx.com username

password

Forgot Login?

Remember Me

.

MODX Community Forums →

Products →

Revo Discussions & Support .

View Latest Posts

or Search:

Answered

OutPut Modifier “Contains”

Subscribe: RSS

Login to Post

258 Posts

Send PM

lokust Reply #1, 3 years, 3 months ago

Hi there, I’ve created a new output modifier “contains” ( from the Evo/Phx version: http://setpro.pl/software/ditto-stuff/obtaining-by-or )

1

2

It’s a dynamic form by the way, where the checkboxes for the different paper editions are being listed by getResources. You can see the frontend of the form here: http://twedo.qaraqter.nl/informatief/adverteren/advertentie-plaatsen/

I’ve tried using the If snippet with the inarray operator instead, but that won’t fly either…

Does anyone have any idea to why this doesn’t work?

4,767 Posts

Send PM

Bruno17 Reply #7, 1 year, 2 months ago

doesn’t

1

[[!+fi.adv-paper-edition:FormItIsChecked=`[[+pagetitle]]`]]

work?

——————————-

you can buy me a beer, if you like MIGX

http://webcmsolutions.de/migx.html

Thanks!

24 Posts

Send PM

suikerzout Reply #8, 1 year, 2 months ago

Hi Bruno,

Thanks for your quick reply! Strangely enough it seems to work again now, but I replaced FormItIsChecked earlier with the other method due to issues with submitting..

Will test it more thoroughly later to see if it holds together..

31 Posts

Send PM

Henk Reply #9, 11 months, 1 week ago

Based on the discussion in this topic I created the following:

1

2

3

4

5

6

7

44d6c328-5efd-4d9d-a277-4bb26c36a9e7

modx,xpdo,objects,modifier,contains

Leave a Reply

Your email address will not be published. Required fields are marked *