Hi ,
My suggestion is add at option configuration a field to set one page/album as default for home page .
For me, I wish set it to "index.php?/categories/flat" as my home page...
Piwigo 2.9.1
Operating system: Linux
PHP: 7.1.9 (Show info) [2017-09-24 22:09:11]
MySQL: 5.6.36-cll-lve [2017-09-24 22:09:11]
Graphics Library: ImageMagick 6.9.4-10
Last edited by ceinmart (2017-09-26 13:20:57)
Offline
I would also like FLAT view as default to be an option. Similar to Flickr.
In Flickr when you click a username it takes you by default to his photostream (flat view), not in the album view.
Offline
i just had a look at config php and i had some surprise. no idea when this parameter was implemented.
$conf['random_index_redirect'] = array( PHPWG_ROOT_PATH.'index.php?/categories/flat' => 'return true;' );
so now we can set a redirect for default. we can even redirect only for guests.
great modification, thanks to piwigo team.
Offline
Nice!!
Work like a charm!!!
Thank you!
eliz82 wrote:
i just had a look at config php and i had some surprise. no idea when this parameter was implemented.
Code:
$conf['random_index_redirect'] = array( PHPWG_ROOT_PATH.'index.php?/categories/flat' => 'return true;' );so now we can set a redirect for default. we can even redirect only for guests.
great modification, thanks to piwigo team.
Offline
Hi!
Perhaps I'm to dumb ...
I'd like to redirect 'index.php?/categories' to 'index.php?/page/my_additional_page'.
How would I do that?
Thank's for reading, Wilson
Offline
Hi:-)
mountwilson wrote:
Hi!
Perhaps I'm to dumb ...
I'd like to redirect 'index.php?/categories' to 'index.php?/page/my_additional_page'.
How would I do that?
Thank's for reading, Wilson
euh in Additional page plugin, you ca chose 1 page is a home page !
Offline
Yep, I know my home is pointing to another additional page which is using lightbox.
I want to completely disable/hide categories and replace it with another addition page.
My site has virtual albums and pages only, there's not a single physical album.
Thanks fir reading, Wilson
Offline