Hello,
According the below post :
www.joomlaworks.net/forum/k2-en/49661-payment-for-items-in-k2
I wrote a plugin for k2 that can feature an item after paypal payment. So now I need that display the transactions for each item. A good position can be "Edit item page" (in admin) and for that need to
add a new tab. For example after latest (attachment).
Also I can see in this file a related code :
administrator\components\com_k2\views\item\tmpl\default.php
<?php if(count(array_filter($this->K2PluginsItemOther)) && $this->params->get('showK2Plugins')): ?>
<!-- Tab other plugins -->
<div class="k2TabsContent k2TabsContentLower" id="k2TabPlugins">
<div class="itemPlugins">
<?php foreach($this->K2PluginsItemOther as $K2Plugin): ?>
<?php if(!is_null($K2Plugin)): ?>
<fieldset>
<legend><?php echo $K2Plugin->name; ?></legend>
<?php echo $K2Plugin->fields; ?>
</fieldset>
<?php endif; ?>
<?php endforeach; ?>
</div>
</div>
<?php endif; ?>
If it's possible how can be done?
With best.