What can I find here?

Here you can find various tutorials regarding custom development of Joomla extensions and templates. Also, here you can read articles on how to install our free Joomla themes and how to customize it to suit your needs. 

Need custom stuff?

If  you need a custom Joomla development like templates, modules, components or plugins contact us using email form >>>

Who's Online

Image Scroller

move previous
move next
Leading news module PDF Print E-mail
Monday, 23 July 2007

This module displays selected articles from your database. All you need to do is to enter id of article you wish to display. If you wish to display more than one article just separate id of articles by comma (","). 

 

 

Image
Parameters

 

Parameters:

  • Module class suffix - A suffix to be applied to the css class of the module, this allows individual module styling
  • Text's length - Set the length of the text
  • Enable cache - Select whether to cache the content of this module
  • Article ID - Select id of articles you wish to display


If you set up text length to "0" then module will display articles in list format without introtext.

 

 

 

 





Digg!Reddit!Del.icio.us!Google!Live!Facebook!Slashdot!Technorati!Yahoo!
Comments (14)Add Comment
...
written by Arman, July 26, 2007
I do have the following problem during the installation
Leading News

Warning: Invalid argument supplied for foreach() in /home/httpd/vhosts/vet.am/httpdocs/modules/mod_lead_rest.php on line 34
could you please help me
...
written by Zoran, July 26, 2007
Well seems to me that you have not added id of article properly.
Open the desired article which you wish to publish in this module in your browser. Then check id of article in address bar (look for "id" variable). Then simply enter that number in Article ID of module. If you wish to diplay more than one article separate id of artiles with comma (","). It should work now.
...
written by Vision, July 29, 2007
Hi,

great module, but can you make it with support of images?
...
written by Zoran, July 30, 2007
I am developing new module which will support images. It should be done next week
...
written by ddd, July 31, 2007
cxddasd asd asd asd asd asdasd asd asdasd
...
written by Bryce, September 04, 2007
Do you know if there as a mod that will place RSS feeds in the Joomla NewsFlasher columns?
...
written by rafiq, December 18, 2007
This shows error!
as below!

get( 'length_text', 150 ) ); //id of artcles you wish to display $articleid = trim( $params->get( 'articleid' ) ); $now = date( "Y-m-d H:i:s", time() $mosConfig_offset*60*60 ); //allowed tags $allowed_tags = ""; /*************guery for list articles and its output*************************/ $query = "SELECT a.id,a.created,a.title,a.introtext FROM #__content AS a" ."
LEFT JOIN #__content_frontpage AS f ON f.content_id = a.id" . "
WHERE ( a.state = '1' AND a.checked_out = '0' AND a.sectionid > '0' )" . "
AND ( a.publish_up = '0000-00-00 00:00:00' OR a.publish_up = '". $now ."' )" . "
AND a.id IN(". $articleid .")" . "
ORDER BY a.created DESC"; $database->setQuery( $query ); $rows = $database->loadObjectList(); /*reduces number of queries*/ $bs = $mainframe->getBlogSectionCount(); $bc = $mainframe->getBlogCategoryCount(); $gbs = $mainframe->getGlobalBlogSectionCount(); $lead = '
'; foreach ($rows as $row) { $Itemid = $mainframe->getItemid( $row->id, 0, 0, $bs, $bc, $gbs ); if ($Itemid == NULL) { $Itemid = ''; } else { $Itemid = '&Itemid='. $Itemid; } $row->introtext = preg_replace("/{[^}]*}/","",$row->introtext); $row->introtext = strip_tags($row->introtext,$allowed_tags); /*reduces the length of the introtext*/ if((strlen($row->introtext) strlen($row->title)) > $text_len) { $row->introtext = substr($row->introtext,0,($text_len-strlen($row->title))).'...'; } $link = sefRelToAbs( 'index.php?option=com_content&task=view&id='. $row->id . $Itemid ); if($text_len == 0) { $lead.='
'.$row->title.''; } else { $lead.='
'.$row->title.'
'.$row->introtext.''; } } $lead.='
'; echo $lead; ?>
...
written by Shaik Amjad, December 18, 2007
IT's nice buddy
...
written by Shaik Amjad, December 18, 2007
Wow! it very cool program
...
written by harini, January 16, 2008
its very nice programme
...
written by harini, January 16, 2008
cool blog good info
...
written by srinu, January 16, 2008
its very beautifull
...
written by bangaram, January 19, 2008
hi chanti
...
written by Azamkl, July 07, 2008
Tested and tried it. So far, I have problems in setting the gap between the news and also the sorting error. I have set which news should be on top in Joomla admin panel, but the news still showing differently.

Write comment

Copyright 2007. All Rights Reserved.
busy
 
< Prev