Work with K2 extra fields ?

5 years 9 months ago #1 by Jeff Beaulieu
Hi,

I use K2 for my website to show items. I especially use Extra Fields of K2 to show different details for visitor.

You can have a look to an exemple of one item here : http://psychofiches.com/fiches/53440-403

It's a french website. sorry.

In this page, I would like to show the last sections named "Complément d'information" where there is two extra fields only for Registered user : Références and Informations complémentaires.

I presently edit the item.php file from k2 for the item templating. Can I use your pluging inside of the item.php file instead of inside of an article ?

Thank you for your help and hope I'm clear enought with my question.

Jeff B.
The topic has been locked.
5 years 9 months ago #2 by Jeff Beaulieu
This is what I'm looking for. This is a part of the item.php file where I tried to put your plugin code. But when I refresh the item page on the website, I can see your plugin code instead of plugin doing the job supposed to do.
<td><span class="titleextrafields">Niveau de donnée probante:</span> <?php echo $extrafields[12];?><br></td>
	</tr>
	<tr>
	<td><span class="titleextrafields">Approche théorique:</span> <?php echo $extrafields[13];?><br></td>
	</tr>
	</table>
	<br>{f90filter manager SHOW}
	<p align="center" class="compinfo">Complément d'information</p>
	<p><span class="titleextrafields">Références: </span><?php echo $extrafields[14];?></p>
    <p><span class="titleextrafields">Informations complémentaires: </span><br><?php echo $extrafields[15];?></p>
    {/f90filter}
The topic has been locked.
5 years 9 months ago #3 by Function90
Hello Jeff,

Sorry to say but, this plugin does not work with K2 fields. It only work with K2 item description.

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
The topic has been locked.
5 years 9 months ago #4 by Jeff Beaulieu
Thank you for your answer,

Hope you will add this option in a futur upgrade of your plugin.

Jeff B.
The topic has been locked.
5 years 9 months ago #5 by Function90
Hello Jeff,

If there will be any trigger before displaying the content. We will add it very soon.

Thank you
Team Function90
You can share your views regarding our extension at JED ( extensions.joomla.org/profile/profile/details/225115#extensions )

Hire Professional Joomla Developers. ( www.function90.com/contact-us.html )
The topic has been locked.
Powered by Kunena Forum
Cron Job Starts