A hotel website has a "special packages" section.

On each page with a special package description, there is a listing of items that the package contains:

This package contains:
- 3 nights stay
- buffet breakfast
- 30 minutes massage
- bottle of wine for dinner
- fresh flowers in the room
- bike rental for 1 day

This listing is done using a text field with "number of values" set to "unlimited".

I would like to create a page with a view containing all packages. For each package, there should be:

This package contains, among other things:
- 30 minutes massage
- bottle of wine for dinner
- bike rental for 1 day

So I'm looking for a way to mark some values of the text field to show them in the view, while keeping the rest hidden.

Any help appreciated, thanks!

Petr

Comments

Ambroise A’s picture

When you create the content, you could have an other field containing a copy of this specific informations. It would be hidden for the normal display, but you could use it for this view. But it's not really user friendly for the creator of the content (if it's not you).

Otherwise, I think there is in view a way to display only the first values. But I'm not sure and in your example, your values are not the firsts of the list. So it's maybe not relevant.

I don't know a way to "flag" some specific value in a field, but may someone else could help you?