Keyword

How to display on the front page some of the extra fields?

  • Emilio
  • Emilio's Avatar Topic Author
  • Offline
  • New Member
More
14 years 8 months ago #80978 by Emilio
In english:How to display on the front page some of the extra fields?The module should give the option to choose which fields show... but how we do it through code php?En español:¿como mostrar en la pagina frontal una parte de los extra fields?El modulo deberia dar la opcion de escoger que campos mostrar... pero como no es asi; entonces, como podemos mostrarlos a traves de codigo php?

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

More
14 years 7 months ago #80979 by Stephen LaFond
Would also like to know how to achieve this, looking at some things a few people did with the extra fields. Currently I am working on some code for the K2 content module, will post if anything comes up.

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

More
14 years 7 months ago #80980 by scyllar
hello may this help you:
go to components\com_k2\templates\default\item.php
and appr. line 250 i found the code
div class="itemExtraFields"
within this div tag you may find useful scripts
sorry not including full scripts for it is not allowed in this post
I believe you could make use of this and change the module to your like.

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

More
14 years 7 months ago #80981 by Stephen LaFond
My other topic that i started after this, what is in the topic I created is what I have known all along. community.getk2.org/forum/topics/k2-content-module-extra-fields

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


Powered by Kunena Forum