Hi Folks,
I use Piwigo included in my website and now Im searching for a way to give it a backlink to my site. The Links are pointing directly into the Albums and I want the Root/Home Link from Piwigo pointing back to the corresponding page of my site.
Actuelly I use the $_SESSION['back'] variable on my Site with the $conf['gallery_url'] to tell Piwigo where to go back. In the local/config/config.inc.php I have added something like
if (!empty($_SESSION['back'])) {
$conf['gallery_url'] = $_SESSION['back'];
}
For the first call of the albumsite this works fine. But a simple reload kills the backlinkurl. It returns to root. May someone please give me a hint, how to store the backlinkurl while surfing Piwigo?
Thank you all !
Denzel
Piwigo version: v2.9.3
PHP version: 5.3.15
MySQL version: 5.5.33
Piwigo URL: http://m.kleines-fest.de/piwigo
There is a jump-in to Piwigo from: http://m.kleines-fest.de/2017/HH_Start.php with the Sessionvariable set.
Offline