Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 03-02-2008, 11:24 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Lightbulb Addon: Random Front Page Photo

After reading how people were hacking their core pixelpost files to get a random image I thought I'd see if I could make a quick solution that would not require any hacking - so here it is:

This addon will give you a random frontpage image WITHOUT hacking your pixelpost files. All you need to do is put the randomfrontpage.php file in your addons directory and place <RANDOMFRONT> on the FIRST line of your image_template.html file. In my initial testing it is working ok.

Here's a Demo

Download the Addon
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
  #2  
Old 03-03-2008, 12:10 AM
fredxeric's Avatar
fredxeric Offline
pixelpost guru
 
Join Date: Sep 2006
Location: Montréal, Québec, Canada
Posts: 407
Send a message via AIM to fredxeric Send a message via MSN to fredxeric
great works...

It is working smootly...

Last edited by fredxeric; 03-03-2008 at 12:41 AM.
Reply With Quote
  #3  
Old 09-01-2008, 06:04 PM
thymiane3000 Offline
forum loafer
 
Join Date: Jul 2008
Posts: 4
Random link in navigation bar

Hi Guys,

Great Add-on!

I have what is probably a stupid question. All I am trying to do is put a "random" option in my navigation bar. I have uploaded the "random_image.php" add-on and turned it on, but nothing appears in the nav bar.

Does it not work with certain templates? I am using Smokescreen, but it also doesn't seem to work with other templates.

Any thoughts/help would be appreciated.

Thanks!
Reply With Quote
  #4  
Old 09-01-2008, 09:16 PM
kevincrafts's Avatar
kevincrafts Offline
pixelpost guru
 
Join Date: Jul 2007
Location: Colorado
Posts: 434
Use this addon: http://www.pixelpost.org/extend/addons/random-image/
__________________
Kevin | Light & Dark Photoblog

Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:40 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs