Keyword

Select Extra fields to display.

More
12 years 2 months ago - 12 years 2 months ago #102734 by piotr
Select Extra fields to display. was created by piotr
Hi

I use K2 content module to display articles list on position-1 (a panel that slides down with jquery on main page) and it has everything desactivated but /Extra field/ on the /Item view options (common for either source)/ in order to show extra field on the listing such as: Author, Date, Location, Type etc.

I would like to display only Author and Location on the K2 content module AND keep all the extra fields on the article view (there are like 8 of them, but too many to show in a list)

I hope this isn't another unsolvable question of mine :)

Any help greatly appreciated.

[edit]
Joomla! 2.5.6 and K2 v2.5.7

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

More
12 years 2 months ago #102735 by Lefteris
Replied by Lefteris on topic Re: Select Extra fields to display.
Hi. You cannot do this. The only way to achieve this is to hide the extra fields you want using CSS.

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

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

More
12 years 2 months ago #102736 by piotr
Replied by piotr on topic Re: Select Extra fields to display.
Ugh, just what I have thought..

How can I hide one or some elements with css if I have 6 <li>'s in a row with
"typeSelect group1" class ?
I think I could eventually make some of them a Multiple Select type and display:none all the class="typeMultipleSelect" ...

do you hanve any other solution or this is something you would do too ?
Thanks for your interest in this issue

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

More
12 years 2 months ago #102737 by Lefteris
Replied by Lefteris on topic Re: Select Extra fields to display.
Make a template override and put the id of each extra fields in your markup ( as a classname or id). Then you can target each one by this markup.

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

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

More
12 years 1 month ago #102738 by Steven Johnson
Replied by Steven Johnson on topic Re: Select Extra fields to display.
Thanks for this thread.

I have a K2 module content where I am showing the item title / item image / and one extra field.
I have created a custom module template.

For my item templates I have displayed specific custom fields as described here:
jbeginner.com/tutorials/extensions/how-to-display-k2-extra-fields/

Adding this code:
Log in  or Create an account to join the conversation.

More
12 years 1 month ago #102739 by Steven Johnson
Replied by Steven Johnson on topic Re: Select Extra fields to display.
After a little more research I found this thread

getk2.org/community/New-to-K2-Ask-here-first/161676-Display-specific-extra-field-in-module-position-#161687

I think this is close to my soltion I will try posting on this thread.

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