-
Notifications
You must be signed in to change notification settings - Fork 93
Attachment link in item not work with SEF URL active #528
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
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: #522 |
Thanks! |
Hello,
the attachment item link return 404 error with the SEF URL option is active.
Thanks
The text was updated successfully, but these errors were encountered: