- Posts: 262
COMMUNITY FORUM
Show Only X Extrafileds per menu
- FeSys
-
Topic Author
- Offline
- Elite Member
Less
More
14 years 10 months ago #85308
by FeSys
Show Only X Extrafileds per menu was created by FeSys
Hi..I use K2 category menu to show latest items with their extra-fields, Hence as each item has 15 extra-fields, this make the front page So long and need to be shortened by showing say only 3 extra-filed.Would you mind helping me to show only X extra-fields on my front page.Thanks
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 10 months ago #85309
by william white
Replied by william white on topic Show Only X Extrafileds per menu
See line 131 and line 149 of the attached category_item.php file.
I added a counter variable at 131 and then an if statement at 149 to cut off the display of extra fields at 3
Add this file to one of your overrides and test.
I added a counter variable at 131 and then an if statement at 149 to cut off the display of extra fields at 3
Add this file to one of your overrides and test.
Please Log in or Create an account to join the conversation.
- FeSys
-
Topic Author
- Offline
- Elite Member
Less
More
- Posts: 262
14 years 10 months ago #85310
by FeSys
Replied by FeSys on topic Show Only X Extrafileds per menu
Many Thanks "WILLIAM"
I'll test this file.. You Rock!.
I'll test this file.. You Rock!.
Please Log in or Create an account to join the conversation.
- william white
-
- Offline
- Platinum Member
Less
More
- Posts: 3722
14 years 10 months ago #85311
by william white
Replied by william white on topic Show Only X Extrafileds per menu
Another, mabee better way, depending on the circumstance
see line 47 and 141
see line 47 and 141
Please Log in or Create an account to join the conversation.
- FeSys
-
Topic Author
- Offline
- Elite Member
Less
More
- Posts: 262
14 years 10 months ago #85312
by FeSys
Replied by FeSys on topic Show Only X Extrafileds per menu
Hey "William"
What is the core difference here between file a, and B you attached? .. Thanks
William White said:Another, mabee better way, depending on the circumstance see line 47 and 141
What is the core difference here between file a, and B you attached? .. Thanks
William White said:Another, mabee better way, depending on the circumstance see line 47 and 141
Please Log in or Create an account to join the conversation.