Sorted out! Thanks for listening.
I found this code here on the forum, it seems to work well to call specific fields, but sctrip_tags doesn't work, could you help me: <?php foreach ($items as $key=>$item): ?> <?php $k2obj = new K2ModelItem(); $fields =...
Thanks for the answer, in the templates, I did just that, it works well, but in third party modules it is more complicated to control. I tried to use the K2 Content module using extra fields, but it doesn't seem to work inside the module:...
Hello, I'm developing a system based on extra fields, everything works fine, however I noticed that extra fields, even TEXT types, can save <script> or <iframe> tags without any problem, if a curious user wants to insert these tags , ends...
Thanks! There is another problem that I fixed on my own. If the user clicks add an attachment, and saves without selecting any files, an unexpected error occurs in the frontend. I created a function with JS so that the article cannot be...
I discovered an error while trying to save my attachments. The system was not saving the title attribute. I analyzed the code, and found a typo. Where was: title_attibute I changed to: title_attribute administrator\components\com_k2\models\item.php K2 2.10
I've changed the media permissions of joomla, and it's still accepting all kinds of files. Sending to the joomla files the lock works, in the attachment tab of K2 it continues to accept any kind of file.
Sorry the English, I guess I was not clear. I would like the attachment to be saved only if the user entered the title and description. I need the title and attribute fields to be obligatory.
Hello, what file do I edit so that the Title and Attribute fields of the attachments may be required? Is it possible to limit uploading only .PDF files? K2 2.7 Joomla 3.3.3
Hello, would greatly help an option to edit the title options and attribute the annexes after shipping. Currently this can only be done via database or sending the file again, which is impractical for normal customers. Taking advantage of...
More