PHP-Nuke Services - Addons, Modules, Blocks Vizitati www.westdesign.ro Select Interface Language:EnglishRomanian
  Login or Register HomeForumsDownloadsYour AccountWeb LinksContact   
SectionsShow\Hide
MultiheadlinesShow\Hide
LoginShow\Hide
~ Welcome, alien
Nickname Password
(Register)

~ Membership:

Greetings to the newest member jincesoft
~ New Today: 0
~ New Yesterday: 0
~ Overall: 4306

~ People Online:
~ Visitors: 11
~ Members: 0
~ Total: 11
~Aikon is offline
on Yahoo Msg.
Link to meShow\Hide

aikons.net
Search in FeedsShow\Hide
Search in feeds
HistoryShow\Hide
On 17 May


Speed Up   Pause   Speed Down
DictionaryShow\Hide
Enter the word

Romanian users only

- aikons.net - PHP-Nuke Services Forum Index


Reply to topic Page 1 of 1
Adding a title to the scroll block
Message Author
Reply with quote
Post Posted: Saturday 30 September, 2006 01:32

Great utility without doubt, but the scroll block lists all feeds from a category.. no problem there, but there's no distinction between the feeds, they're just listed as it finds them. People therefore don't know where the source is..

So if I had a feed for yahoo and google news for example.. it should look like this...

Google News

Headlines
Headlines
Headlines

Yahoo News

Headlines
Headlines
Headlines


Whereas now its just

Headlines
Headlines
Headlines
Headlines
Headlines
Headlines
Headlines
Headlines

What do I need to add to get it to read the title of each feed and display it before the feed links ? Smile

View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Saturday 30 September, 2006 11:57

When creating the block you could choose to add [in the block] the small logo, the people will certainly know from where is that feed from.
[like on my homepage - "Security" block]

Or if you really want without logo open the just created file from /blocks [block-Multiheadlines-1.php or something]and replace the line:

Code:
$result = $db->sql_query("SELECT * FROM ".$prefix."_multiheadlines_news WHERE news_cat='$category_id' ORDER BY news_time DESC LIMIT 0, ".$nr_news);
with
Code:
$result = $db->sql_query("SELECT * FROM ".$prefix."_multiheadlines_news WHERE news_cat='$category_id' ORDER BY news_site ASC LIMIT 0, ".$nr_news);


View user's profile Send private message Visit poster's website
Reply with quote
Post Posted: Saturday 30 September, 2006 15:34

WoW talk about a rapid response, thank you so much !! I will get this in place..

Having a bit of trouble with one feed, its only importing one item even though it imports all items from other feeds. They're all from the same service too.. Will post about that seperately though, and thanks once again for the rapid response.


_________________
View user's profile Send private message Visit poster's website
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Page Generation: 0.61 Seconds