Skip to content

About

This is a Piwigo plugin which manage pages of piwigo.org (yes, piwigo.org is partly built on top of Piwigo)

Resources

Stars

1 star

Watchers

0 watching

Forks

 
 

Latest commit

 

History

2,723 Commits

Folders and files

Repository files navigation

Piwigo.org website

Adding a page

Create a .tpl file in template/ and a lang.php file with the same name in language/.

Edit function porg_get_pages() in include/functions_piwigodotorg.php and add your page to the list

Testing other languages

Changing language using the footer is url based, to test another locale change $user['language'] in main.inc.php. But please, do not commit that change!

// adapt language depending on url
function porg_user_init()
{
    global $user, $page;

    $page['porg_domain_prefix'] = '';
-   $user['language'] = 'en_UK';
+   $user['language'] = 'fr_FR';
    [...]
}

About

This is a Piwigo plugin which manage pages of piwigo.org (yes, piwigo.org is partly built on top of Piwigo)

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages