I was surprised I wasn’t able to do this easier, but it looks like others have struggled with this as well. I did get it fixed, and was able to limit the word count. I didn’t make a override yet but I will.
I wanted vcards or .vcf files to uploaded and downloaded from a joomla site so the customer could update them themselves.
I had K2 installed on the site and it was easy for me to download the .vcf file, but uploading was unsupported.
JCE was installed and I discovered that JCE “File Manager” add-on has an allowable file extensions built in. It was easy for me to add the extension. Then I used “JCE File Browser” to upload the files. Here is the article that helped me out.
I am using K2 component on a Joomla site and find it very useful.
I was setting up Front-End adding and editing of K2 blog items. Here is a great video for setting that up.
I ran into this issue with the template that has a “HTML” override for the K2/templates/default/category_item.php. The code looks like this.
The issue was the templates “Modal”. I removed the highlighted class and rel tag, and added “_blank”. Now the “Edit item” button was showing and I could click it and edit the post. It of course opened in a new window.
I looked at the code from the original K2 component/templates/default/category_item.php file. It has “data-k2-modal=”edit”” to open in a modal. I added this line and I was close enough.
One issue remained where the “close” button didn’t close the window; however, if I clicked outside the modal window it would close the modal window.