

![]() |
| | Thread Tools |
Featured News Module | |||||||||||
|
Developed by Yankidank Developer Last Online: Feb 2012
While working on a new template for Pligg I was trying to come up with the best way to manage articles that would appear on top of the homepage to feature select stories. I originally was thinking that I could use the "Groups" feature for Pligg, or even create a "Featured" category. Then I thought that those methods would not allow me to appropriately label my news and were not the best way to handle the featured news articles that I wanted on the homepage. That's when I turned to CMStheme's Featurify module, which allows admins to manually set up images that link to news article and rotate those images somewhere in your template. A few hours later I had created a "Featured" module for Pligg. How it works The first thing you will need to do is upload and install the module. Then add a snippet of code to the template file where you want the featured news to appear. You can do this by adding the following line to a .tpl file: Code: {$featured} Code: {if $pagename == 'index' && count($templatelite.get) == 0}{$featured}{/if} The module is set to only grab the latest 4 news items from your Featured News list. The most recent item will be used to display the first news article with a larger image, while the second, third and fourth most recent article appear with a smaller thumbnail. The template file used for this module ( /modules/featured/templates/featured.tpl ) has been designed to work with the new Arthemia Pligg template. If you are using another template you will want to customize this file to make it look better in your own template. You can also make some small tweaks to the file to change how many stories you want to appear, how many characters the smaller stories get in their descriptions before being cut off and other cosmetic changes. Lastly, make sure that you CHMOD 0777 the /modules/featured/phpthumb/cache/ directory to ensure that thumbnails are able to be added to that folder. Credits CMStheme for his Featurify module. phpthumb for generating and caching image thumbnails Download Now
Screenshots Show Your Support
|
Similar Downloads | ||||
| Download | Developer | Category | Replies | Last Post |
| Arthemia Free Pligg Template | Yankidank | Free Templates | 309 | 03:31 PM 02-06-2012 |
| Headlinr: Featured News Manager | PLMCHL | Free Modules | 12 | 01:47 PM 07-10-2011 |
| Comments |
| ||||
|
Second post reserved for changelog.
The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
| |||
|
when i submit a new story, all characters convert to "?" character! My language is Persian. |
| |||
|
My site cannot show the thumb image in the front page, though it is uploaded successfully Do you know what is the problem? Focus HK - 新聞.影片.資訊.娛樂 |
| ||||
|
Going to the image URL I see a forbidden message. Probably a permissions issue. Perhaps CHMODing /modules/featured/phpthumb/phpThumb.php to 777, or you need to CHMOD /modules/featured/phpthumb/cache/ to 777.
The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
| |||
|
I have downloaded and tested the template. I got two problems: 1. The image of featured news is broken, it didn't show up. 2. The image on the submitted is shown above the news text, not on the left side like the screenshots. Do you know how to fix it? Thanks. |
| ||||
|
1. Make sure that you chmod 0777 the /modules/featured/phpthumb/cache/ directory. 2. The featured images? If you are talking about upload module images it's up to you to position and style them from the upload module settings page. The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
| |||
|
Nice module Who can add featured stories? Only admin? Can I just click "mark as featured" on any of users` stories? I mean in Manage>Stories |
| ||||
| Only admins, see attached screenshots on first post and the rest of the first post content.
The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
| |||
| Quote:
But i can see the pictures by clicking "view image" in the admin panel. http://focus.hkbloggers.net/index.php |
![]() |
| Tags |
| featured, featurify, module, mod_security rule, news, whitelist |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Fixes to Profile Extra Fields Module v0.2 and Extended Profile Module v0.1 | redwine | Questions and Comments | 11 | 12-20-2010 04:18 PM |
| Module that allows users to put their adsense ads on their news. | Ganha | Questions and Comments | 4 | 06-09-2009 08:07 PM |
| Removing adsense from Featured Module? | submitlink | Questions and Comments | 1 | 08-16-2008 12:11 PM |
| How to Change Headline of FEATURED MODULE | weismangroup | Questions and Comments | 2 | 06-13-2008 11:21 PM |
| No upcoming news module on pages other than published news? | AshMCairo | Questions and Comments | 2 | 08-07-2007 10:25 AM |