Thanks, unfortunate Ning strips out the code ;(
Can you mail to support at k2joom dot com I will take a look and see if I can get that working as well.
Tiago Manuel da Costa Silva said:Of course Simon.
The thing i did is temporary, because what i did was changing the print button for a pdf button.
Later i want to have a new button but i don´t know how to do it yet.
ok.
Procedure:
1º - I edit the file C:\xampp\htdocs\joomla\components\com_k2\templates\default\item.php
2º - I change the original code:
item->printLink; ?>" onclick="window.print();return false;">
item->printLink; ?>" rel="{handler:'iframe',size:{x:900,y:500}}">
For this code:
&lang= ','mywindow','width=800,height=400'
);return false;">
With this code i open the file i want, in my case to make the pdf (oh, I´m using FPDF), then i get the id of the article and the language so i can use $_GET on the "FILE TO OPEN", and print categories and extrafields on the pdf.
I don´t know if it the best way, but is working. Hope this can help.