Hello all,
I use Piwigo 13.6.0 with the themes "Stripped" and "Smart Pocket".
In the Stripped interface, besides the albums, I also have some links to several built-in pages that I created with "Additional Pages". Linked with $conf['links'] = array( xyz ); in local/config/config.inc.php
This also works quite well.
If I go to the page with a mobil / smartphone, I see the albums withe the photos displayed wonderfully.
If I click on the "Burger", I see the top term "Albums", and the top term "Links". If I select a link to one of the HTML pages, the page is unfortunately not displayed.
Is it possible to force the "Smart Pocket" theme to display the HTLM link-pages normally?
Offline
I have found two solutions by myself.
Solution A:
Hide the menu item with the Smart Pocket-CSS:
.ui-collapsible.ui-last-child { display: none; }
Or alternatively (Solution B) - change the link
$conf['links'] = array( 'http://piwigo.org' => array('label' => 'PWG website', 'new_window' => false, 'eval_visible' => 'return true;'), );
to:
$conf['links'] = array( 'http://piwigo.org&mobile=false' => array('label' => 'PWG website', 'new_window' => false, 'eval_visible' => 'return true;'), );
so by appending "&mobile=false" to the link.
Does anyone else have another suggestion?
Offline