Page 1 of 1
Show attachments in news block

Posted:
Mon Aug 17, 2009 3:39 am
Author: golgoth
Is there a way to show attachments in IM 1.41 news block?
I just noticed that they don't show up, and i need at least attached images to be available in news articles <img>
Thanks
Re: Show attachments in news block

Posted:
Mon Aug 17, 2009 6:37 am
Author: Helter
this may require a re-write of the announcment block. I posted here so I can find this post tonight after work. Ill look at the block then and see If this can be done
Re: Show attachments in news block

Posted:
Fri Aug 21, 2009 4:06 am
Author: golgoth
Thanks a lot <img>
Remember though that the block in question is the news one, not the announcements!
EDIT: any news about the rewrite of the block?
Re: Show attachments in news block

Posted:
Mon Aug 24, 2009 4:37 am
Author: golgoth
So i suppose it's not possible? If not i'll find another way, but please just let me know something, as i told you through pm <img>
Re: Show attachments in news block

Posted:
Mon Aug 24, 2009 8:17 am
Author: Helter
Mike is working on it now. There were a few bugs with the standard news block and the way the code is written it is easy to show the last attachment, but if you have several news posts with attachments, it wont do to only display the last one so he is re-writing some of news.php
Re: Show attachments in news block

Posted:
Mon Aug 24, 2009 9:54 am
Author: golgoth
Many thanks then, i'll wait for the rewritten news block <img>
Re: Show attachments in news block

Posted:
Mon Aug 31, 2009 9:52 am
Author: Helter
here is news block 2. it has a few fixes. It will show attachments and has a direct link to the news post.
you will have to overwrite your current includes/news.php
Re: Show attachments in news block

Posted:
Mon Aug 31, 2009 12:31 pm
Author: golgoth
I just tried it and it works flawlessly

Since my site is about videogames i rely a lot upon images, and without thumbnails my homepage would be too big to browse.
I succeded in reducing images size in pixel, but without thumbnails some images are a bit too big in kB.
Thanks anyway, you helped me a lot <img>
Re: Show attachments in news block

Posted:
Fri Sep 04, 2009 1:38 am
Author: Helter
youll have to ask Mike about that.
Re: Show attachments in news block

Posted:
Fri Sep 04, 2009 1:49 am
Author: golgoth
Ok i will <img>