#1 2023-02-25 16:15:10

John.B
Member
2016-03-27
46

Smart Pocket does not display linked pages

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

 

#2 2023-02-26 15:56:42

John.B
Member
2016-03-27
46

Re: Smart Pocket does not display linked pages

I have found two solutions by myself.

Solution A:

Hide the menu item with the Smart Pocket-CSS:

Code:

.ui-collapsible.ui-last-child {
  display: none;
}

Or alternatively (Solution B) - change the link

Code:

$conf['links'] = array(
    'http://piwigo.org' => array('label' => 'PWG website', 'new_window' => false, 'eval_visible' => 'return true;'),
    );

to:

Code:

$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

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2024 · Contact