Keyword

Show selected extra fields in category listing

More
11 years 10 months ago #67151 by william white
Replied by william white on topic Re: Show selected extra fields in category listing
Update - If you upgrade to 2.6.2 this process will get much eaiser
see getk2.org/blog/item/1068-k2-v262-now-available

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

  • Voiceconnect Internet Solutions
  • Voiceconnect Internet Solutions's Avatar
  • Offline
  • Junior Member
More
11 years 1 month ago #67152 by Voiceconnect Internet Solutions
Replied by Voiceconnect Internet Solutions on topic Re: Show selected extra fields in category listing
Thanks this works great in the item list in category!!

i have now tried to use the same code in the tag list but it does not work - below is the code i am using that works in category but not in tags

<div class="farmprice">
<?php echo $this->item->extraFields->PriceinRmil->name; ?> <?php echo ' : '; ?>
<?php echo $this->item->extraFields->PriceinRmil->value; ?>
</div>

could you shed some light on my problem?

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

More
11 years 1 month ago #67153 by klikeri
This is really great feature.

But, I get value in <p> ..</p> tag. I would like to change that. Where I can do it?

Problem with echo name return ".." in code pls check

Thanks

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


Powered by Kunena Forum