Keyword

K2 items with properties / icons

More
8 years 3 months ago #151055 by Marko
K2 items with properties / icons was created by Marko
Hi,

I am going to make a website with accessible hotels/appartements/pubs/... for disabled persons. I would like to add some "properties" of item/K2 article like parking for disabled person, accessible toilets, special room for disabled persons, etc. How can I manage that other will just click a "properties" of their hotel and then in item will appear icons for that.

Something like this: mojapot.net/apartma/vive-diem-schladming

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 3 months ago #151066 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 items with properties / icons
You can do this with extrafields.
In order to print extra HTML in your template, I would personally render each field seperately.

This code is a good starting point.
github.com/kricore/Advanced-templating-with-K2/blob/master/_inc/cheatsheet.php#L104-L109

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum