Skip to content

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

Notifications You must be signed in to change notification settings

Piwigo/piwigodotorg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

// 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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6