Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
3 + 8 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
   

Re: Showing news items with image and video
by scasmar on 2012/4/23 12:28:50

Hello I am the owner of the site http://www.diariodeandalucia.es sorry for not answering before but I've been traveling, I see you already have solved the problem, but if you need any other help or something I will be happy to help.
Re: Showing news items with image and video
by bumpeboy on 2012/4/22 17:16:10

Thanks guys for helping me out the answer was as posted by Mamba to add the image on SCOOP. I have done it and its working fine thanks.


Re: Showing news items with image and video
by Mamba on 2012/4/9 8:49:28

I am not sure I understand what you want.

From you first message it seems like you want to add images so they are visible when you go to News. This is already default:

1) you add image to the particular News item:

Resized Image


2) You go to to /modules/news/ and you'll should see following:

Resized Image


It will show you the defined number of posts (5 is the default), the image and the Scoop from each of these News item.
Re: Showing news items with image and video
by Anonymous on 2012/4/9 8:48:42

It just depends on where you place images when editing news. The extended block text and images only show when reading the whole article. images placed in the initial block will normally show on the news index page. It's not showing like this on your site?
Re: Showing news items with image and video
by bumpeboy on 2012/4/9 7:29:59

Quote:

Mamba wrote:
The easy way is to just post the images or videos in the "The Scoop" using the BBCode or HTML code.

Select your appropriate Editor in Preferences, and then use the correct buttons to insert an image or video. That's how we do on XOOPS.

You can also attach an image to a News item, but make sure that you have set the right directories in /uploads, and when you attach the image, that you also provide the name for it.


Thanks mamba for your reply, i do understand that but am dealing with administrators who cannot get that.

There has to be an easier way if a certain block can display the TEXT from a post then there is a way the template can be coded to display TEXT plus image.

I think this is the code taken from news/template/news_item.html but i dont know how to fix it in the relevant block

le="color: #000000"><?php <div class="itemBody"> <{$story.imglink}> <{if $articlePicture != ''}><img src="<{$articlePicture}>" alt="<{$story.news_title}>" align="left" style="margin-right: 5px; margin-bottom: 5px" /><{/if}> <div class="itemText"><{$story.text}></div>





Who's Online

228 user(s) are online (162 user(s) are browsing Support Forums)


Members: 0


Guests: 228


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits