Keyword

How to make ordered/unordered list in k2extrafields?

  • jmcruznet
  • jmcruznet's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 1 week ago #100011 by jmcruznet
How to make ordered/unordered list in k2extrafields?

I want to make something like this:

Amenities:

. List one

. List two

. List three

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

More
13 years 1 week ago #100012 by william white
Replied by william white on topic How to make ordered/unordered list in k2extrafields?
Create an override.

Just above the foreach tht displays extra fields in item.php echo "Amenities"

Comment out the line in the foreach loop that displays the name of the extra fields and only display the value

This will be close to what you want i think.

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

  • jmcruznet
  • jmcruznet's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 1 week ago #100013 by jmcruznet
But that will comment out all extrafields labels? I might have two unordered list like "Amenities List" and "Floor List"

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

More
13 years 1 week ago #100014 by william white
Replied by william white on topic How to make ordered/unordered list in k2extrafields?
I see, didnt know you had other lists you wanted to display....You will probably have to extract the extra fields one by one for this in an override...How many fields do you have, how are they gruped, and what are their names?

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

  • jmcruznet
  • jmcruznet's Avatar Topic Author
  • Offline
  • Junior Member
More
13 years 1 week ago #100015 by jmcruznet
I have

Amenities:


List One
List Two
List Three

Landmarks:


List One
List Two
List Three

Actually I might have 3 to 5 List. But if you could give me sample on how to code the list above, I can use them as my guide. Thanks again.

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


Powered by Kunena Forum