Announcement

  •  » Requests
  •  » Option to set the page/album as default at home page

#1 2017-09-25 03:10:10

ceinmart
Member
2017-08-17
17

Option to set the page/album as default at home page

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

 

#2 2017-09-26 11:37:47

eliz82
Member
Romania
2016-04-27
257

Re: Option to set the page/album as default at home page

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

 

#3 2017-10-24 21:30:47

eliz82
Member
Romania
2016-04-27
257

Re: Option to set the page/album as default at home page

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

 

#4 2017-10-24 23:36:21

ceinmart
Member
2017-08-17
17

Re: Option to set the page/album as default at home page

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

 
  •  » Requests
  •  » Option to set the page/album as default at home page

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2019 · Contact