Announcement

#1 2009-11-27 13:36:44

alexpreyer
Member
Hammelburg (Ger)
2009-11-27
179

Set Recent Pictures as Startpage

I'm brand new on Piwigo and I'm faszinated about the features. Many wishes I had, I could realize with the help of this forum. But for one thing, I haven't found a solution or plugin.
I want on my start page see first the recent uploaded pictures. May better, the recent pictures and below the category thumbs.
I'm really sure, there's is an easy way, but cound't found it yet.

Thanks a lot

Offline

 

#2 2009-11-27 14:45:01

P@t
Piwigo Team
Nice
2007-06-13
4098

Re: Set Recent Pictures as Startpage


P@t

Offline

 

#3 2009-11-27 14:52:11

VDigital
Former Piwigo Team
Paris (FR)
2005-05-04
17680

Re: Set Recent Pictures as Startpage

My advice:

If recent period is 3 weeks and you are going for a 6 weeks trip, your start page could be empty during 3 weeks.

Solution:

1 - [extension by rub] Dynamic Recent Period (install / activate / change the number of periods)
This plugin will change the recent period to have recent pictures in any case.
It changes the recent period based on upload dates (you can consider to have the 3 last upload dates as recent even the last one is 3 years old).

2 - [extension by Piwigo Team] LocalFiles Editor (install /activate)
First tab: Config

Code between <?php and ?> like this:

<?php

// random_index_redirect: list of 'internal' links to use when no section is defined on index.php.
// An example is the best than a long explanation :
//
//  for each link is associated a php condition
//  '' condition is equivalent to 'return true;'
//  $conf['random_index_redirect'] = array(
//    PHPWG_ROOT_PATH.'index.php?/best_rated' => 'return true;',
//    PHPWG_ROOT_PATH.'index.php?/recent_pics' => 'return is_a_guest();',
//    PHPWG_ROOT_PATH.'random.php' => '',
//    PHPWG_ROOT_PATH.'index.php?/categories' => '',
//    );
$conf['random_index_redirect'] = array(PHPWG_ROOT_PATH.'index.php?/recent_pics' => '',);

?>


Piwigo.com: Start and run your own photo gallery. Signup and get 30 days to try for free, no commitment.
8-)

Offline

 

#4 2009-11-27 14:55:19

alexpreyer
Member
Hammelburg (Ger)
2009-11-27
179

Re: Set Recent Pictures as Startpage

Thanks all for this fast response. The PWC Stuff Plugin makes exactly what I want - Great. The dynamic recent plugin I already installed.

Thanks so much

Alex

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact