How can I change the featured story urls to url method 2?
Thanks a lot in advance!
Best,
Michael


![]() |
| | 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 | 311 | 11:39 PM 02-09-2012 |
| Headlinr: Featured News Manager | PLMCHL | Free Modules | 12 | 01:47 PM 07-10-2011 |
| Comments |
| |||
|
How can I change the featured story urls to url method 2? Thanks a lot in advance! Best, Michael |
| |||
|
I've got a problem with the Image of the featured. Nat 'n Alex United - Your source for news about Nat 'n Alex Wolff. Code: if (!$this->ImageMagickVersion() && !phpthumb_functions::gd_version()) {
return $this->ErrorImage('Neither GD nor ImageMagick seem to be installed on this server. At least one (preferably GD), or better both, MUST be installed for phpThumb to work.');
} elseif ($HeaderFourBytes == "\xD7\xCD\xC6\x9A") { // WMF
return $this->ErrorImage($this->ImageMagickVersion() ? 'ImageMagick failed on WMF source conversion' : 'ImageMagick is unavailable and phpThumb() does not support WMF source images without it');
} elseif ($HeaderFourBytes == '%PDF') { // "%PDF"
return $this->ErrorImage($this->ImageMagickVersion() ? 'ImageMagick and GhostScript are both required for PDF source images; GhostScript may not be properly configured' : 'ImageMagick and/or GhostScript are unavailable and phpThumb() does not support PDF source images without them');
} elseif (substr($HeaderFourBytes, 0, 3) == "\xFF\xD8\xFF") { // JPEG
return $this->ErrorImage('Image (JPEG) is too large for PHP-GD memory_limit, please install ImageMagick or increase php.ini memory_limit setting');
} elseif ($HeaderFourBytes == '%PNG') { // "%PNG"
return $this->ErrorImage('Image (PNG) is too large for PHP-GD memory_limit, please install ImageMagick or increase php.ini memory_limit setting');
} elseif (substr($HeaderFourBytes, 0, 3) == 'GIF') { // GIF
return $this->ErrorImage('Image (GIF) is too large for PHP-GD memory_limit, please install ImageMagick or increase php.ini memory_limit setting');
}
return $this->ErrorImage('Unknown image type identified by "'.$HeaderFourBytes.'" ('.phpthumb_functions::HexCharDisplay($HeaderFourBytes).') in SourceImageToGD() ['.__LINE__.']'); The reason why it is might a unknown image is because the image is saved as code in the mysql not as a picture link. The thing is I can see the pic in the admin menue but not in the frontpage Soluted on a not so cool but really good ideo for my site (mostly just for members which need to get verified manually) I made the link of the picture which can seen at the admin site for this featured post. It can also seen by registred, admins & gods but nor by unregistered. Also I let them cropp by simple <img> tags Anyways THANKS for that template Last edited by marvinpoo; 04-04-2010 at 05:49 PM. |
| |||
| Quote:
|
| |||
|
his module comes with a google ad?, i cant seem to find the file that contains that ad. I have searched for all filles and nothing, maybe its from the arthemia theme that i am using, but arthemia has a directory with 3 files called "ads" and none of them have adsense. See atchement Last edited by chuckroast; 07-13-2010 at 08:42 PM. |
| ||||
|
No this module does not have adsense either. Neither does the Arthemia template. You've most likely installed the adsense sharing module. |
| |||
|
You are right, never thought of that, how stupid
|
| |||
|
Does anyone know why the images for the Features are not being displayed? I see the images saved in the database and also when I do "View Image" in Manage Featured Admin section. But in the front page they are not being displayed. Thank you.
|
| ||||
|
Right click > View Image, and see where the link is pointing to. It would be helpful if you listed your site so we could just look ourselves. The Twitter Module for Pligg CMS! Register, Login, and Submit Stories with Twitter. An absolute MUST HAVE for all Pligg sites! |
| |||
|
Hello, I use this great module on my website. I need to crop (resize) the images for the featured news. How can I use the Smart Image Resizer (SIR) for doing this? Is that possible? I hope to receive your great support on this issue. Thanks! |
![]() |
| 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 |