Keyword

Attachments Not Showing

  • Reu Smith
  • Reu Smith's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #122515 by Reu Smith
Attachments Not Showing was created by Reu Smith
2a.rfimarketing.com/resources/case-studies
Each item in this category has a downloadable document that goes with each item. The items are there but for some reason they are not showing.

Here is what I have done so far -
  • Checked show attachments in Item view options in category listings for Case Study category
  • Checked show attachments in Item view options in Case Study category
  • Checked show attachments in parameters (even though it is for rss)
  • Checked category_item.php for correct code
  • Ran debug to see if there was an error - no error pertaining to attachments
  • Added a extra field to a single item, it shows up.


Using
  • Joomla 3.2
  • K2 v2.6.7
  • PHP 5.3.26
  • Theme Yoo-Nano3
  • K2 Template Default
  • Chrome, Safari, FF browsers - Cache is turned off


I can't seem to get the attachments to show up in category or item view. I can get extra fields to show but not the attachments. Help me out. I am at a loss of why it is not showing.

Please Log in or Create an account to join the conversation.

  • olsen
  • olsen's Avatar
  • Offline
  • Elite Member
  • Joomla and K2 Freelancer
More
11 years 5 months ago #122516 by olsen
Replied by olsen on topic Re: Attachments Not Showing
Do you have a menu item that links to more than one category?? Check the options there too.

Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #122517 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Attachments Not Showing
Check with another template (in case the code was stripped which is highly unlikely).

Also make sure the Case Study category is not inheriting its settings from another category.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #122518 by Nick Bode
Replied by Nick Bode on topic Re: Attachments Not Showing
I checked to make sure the category was show-ing attachments.

I checked the main files. I don't remember all the specific files right now. I think - item.php, category.php, and a few others.

What should I be looking for and in which files? I could be looking at all the wrong lines of code.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #122519 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Attachments Not Showing
To make sure it is not a template issue, change your template to the system or default one.

If you can see the attachments then you have to download a fresh copy of K2 read this tutorial - getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates - and check your overrides.

Please Log in or Create an account to join the conversation.

More
11 years 5 months ago #122520 by Nick Bode
Replied by Nick Bode on topic Re: Attachments Not Showing
I had hope, I updated and made a new sub-template. No change.
I see the code to call for attachments in category_item.php in lines 195 and 223 through 241.

I cleared the cache and the disabled the cache in my browser.
Still not showing.

Please Log in or Create an account to join the conversation.

  • Reu Smith
  • Reu Smith's Avatar Topic Author
  • Offline
  • New Member
More
11 years 5 months ago #122521 by Reu Smith
Replied by Reu Smith on topic Re: Attachments Not Showing

Nick Bode wrote: I had hope, I updated and made a new sub-template. No change.
I see the code to call for attachments in category_item.php in lines 195 and 223 through 241.

I cleared the cache and the disabled the cache in my browser.
Still not showing.


That is crazy. I used my google auth to log-in and it changed my username. The nick bode are replies from Reu

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 5 months ago #122522 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Attachments Not Showing
Please update to K2 v.2.6.8 DEV build and let me know if that solved the issue. - getk2.org/assets/get/

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #122523 by Deltafidesign
Replied by Deltafidesign on topic Re: Attachments Not Showing
Same issue here. Downloaded your DEV pack and tested with default Joomla template on 3.2.1 Joomla version but no attachments displayed. Also, if I use Simple Image Gallery PRO and I click on the link "Image gallery" at the top ot the k2 article, it doesn't scroll down to the gallery (that is correctly displayed anyway) meanwhile the media and comment links work fine and scroll down.

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 4 months ago #122524 by Yiota
Replied by Yiota on topic Re: Attachments Not Showing
Hello,

Are the attachments visible and downloadable through the backend?
Make sure that they are present in the media/attachments folder.

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago - 11 years 4 months ago #122525 by Detlef
Replied by Detlef on topic Re: Attachments Not Showing

Yiota Ziaggou wrote: Hello,

Are the attachments visible and downloadable through the backend?
Make sure that they are present in the media/attachments folder.


I have the same issue since joomla 3.2.1 and K2 2.6.7
A download through the backend is not possible. New page with "File doesn t exit" comes up!

Hope for a simple solution

EDIT:

It will NOT work when you choose a file from the server!
II WORKS when you choose a file from the PC

Regards

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 4 months ago #122526 by Yiota
Replied by Yiota on topic Re: Attachments Not Showing
Please try to upgrade with K2 SVN version 2.6.8 and check again.
Download it from here: getk2.org/assets/get/

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #122527 by Detlef
Replied by Detlef on topic Re: Attachments Not Showing

Yiota Ziaggou wrote: Please try to upgrade with K2 SVN version 2.6.8 and check again.
Download it from here: getk2.org/assets/get/


Same result,also with the dev version....

It will NOT work when you choose a file from the server!
II WORKS when you choose a file from the PC

regards

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 4 months ago #122528 by Yiota
Replied by Yiota on topic Re: Attachments Not Showing
What I need you to try is to check on a smaller sized attachment file to see if you can download that one.
Usually when the file is big there is the issue with memory_limit in your server.

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #122529 by Detlef
Replied by Detlef on topic Re: Attachments Not Showing

Yiota Ziaggou wrote: What I need you to try is to check on a smaller sized attachment file to see if you can download that one.
Usually when the file is big there is the issue with memory_limit in your server.



It s not an issue about sizes for me!


We know, file from PC works well.

When I choose a file from server e.g

IMG_258724_1254.jpg --> its works I can download from backend

But when I have spaces between

IMG 258424 1235.jpg --> NOT working. File looks like IMG%2025824%201235.jpg

Also I figured out, when I choose a file from server I HAVE to fill the Title manually. When not, I don t see the download link at the front end.

hope this will help you

Please Log in or Create an account to join the conversation.

  • Yiota
  • Yiota's Avatar
  • Visitor
11 years 4 months ago #122530 by Yiota
Replied by Yiota on topic Re: Attachments Not Showing
I believe it is common sense not to use spaces in your file names.

For the empty title you can make a modification to the item.php or the category_item.php or the module (depending on where you want them to show) in your template's overrides (if you do not use already you can read here:http://getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates)

Check if the title is empty to load something like an icon or a specific text otherwise to load the title.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum