Closed nucleocreativo closed 4 years ago
Please use the K2 forum https://www.joomlaworks.net/forum/k2 for such questions.
Sorry but I think that it is code problem before the row href=$attachment->link; return error 404, with the row href=JRoute::_('media/k2/attachments/'.$attachment->filename); work! Thanks
Which file and line exactly?
The files are item.php and category-item.php in default template
Yes, but where exactly? Inside your template's html/com_k2/ folder?
In this directory: components/com_k2/templates/default
Looks like you have Advanced SEF enabled. This is the issue in K2 v2.10.3. It'll be resolved in the upcoming K2 v2.10.4.
In the meantime you can just use the URL router from 2.10.2. More here: https://github.com/getk2/k2/issues/522
Thanks!
Hello,
the attachment item link return 404 error with the SEF URL option is active.
Thanks