Announcement

  •  » Themes
  •  » [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

#361 2018-09-06 13:08:39

vuk
Member
2018-09-05
8

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

teekay wrote:

Thanks. A fix is underway.

Thanks, now it's working ok.

But yesterday i found another issue when RV Thumb Scroller plugin is enabled.

If "Picture details" button is clicked in PhotoSwipe and then at the image page the "Thumbnails" (^) button is clicked, we get the strange looking page with two links above image thumbnails. First of these links is invalid and goes to 404 page. Second link is generating another strange page with some wrong thumbnails and links.

Screen record is here:
https://drive.google.com/open?id=1nwo7N … NMrEGDRlrt

Last edited by vuk (2018-09-06 16:10:27)

Offline

 

#362 2018-10-17 23:30:49

Jessy
Member
2018-03-07
18

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

jntcargo wrote:

JNTcargo is the best Movers in dubai and we are best serrvices to relocation in dubai.
***deletespam***

Still to erase, isn't?

Offline

 

#363 2018-10-18 20:28:17

executive
Member
2017-08-16
386

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

To report  spam, click the "Report" link under the post.

Offline

 

#364 2018-10-20 00:50:31

Jessy
Member
2018-03-07
18

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

executive wrote:

To report  spam, click the "Report" link under the post.

Sorry ;) done for now...

Offline

 

#365 2018-10-20 00:58:35

Jessy
Member
2018-03-07
18

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Here it should be upgraded to v4 isn't? and ;) could be hosted locally...

settings.tpl

Code:

function getBootswatchThemes() {
    $.getJSON("https://bootswatch.com/api/3.json", function (data) {

Last edited by Jessy (2018-10-20 01:01:55)

Offline

 

#366 2018-10-20 09:34:58

teekay
Member
2013-06-12
392

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Jessy wrote:

Here it should be upgraded to v4 isn't? and ;) could be hosted locally...

settings.tpl

Code:

function getBootswatchThemes() {
    $.getJSON("https://bootswatch.com/api/3.json", function (data) {

That's unused  legacy code, I should remove it.

Offline

 

#367 2018-10-28 14:48:18

Jessy
Member
2018-03-07
18

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Really minor HTML markup error: th/dt (file: picture_info_tabs.tpl)

Code:

<th scope="row">{'Who can see this photo?'|@translate}</dt>

Offline

 

#368 2018-11-03 11:26:21

teekay
Member
2013-06-12
392

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Jessy wrote:

Really minor HTML markup error: th/dt (file: picture_info_tabs.tpl)

Code:

<th scope="row">{'Who can see this photo?'|@translate}</dt>

Fixed in master. Thanks!

Offline

 

#369 2018-11-11 18:49:05

ari
Member
2014-11-05
9

Re: [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

teekay wrote:

Guillaume C wrote:

Now rest to resolve the favicon problem.

Code:

    <link rel="shortcut icon" type="image/x-icon" href="./local/favicon.ico">
    <link rel="icon" sizes="192x192" href="themes/bootstrapdefault/img/logo.png">
    <link rel="apple-touch-icon" sizes="192x192" href="themes/bootstrapdefault/img/logo.png">

I don't want use a personal template for a simple favicon ;-)

-> Simple suggestion : is it possible to set favicon and apple-touch-icon like options in a future version ?

The best thing would be to extend the PersoFavicon plugin. Until then, you can use a custom plugin in Administration -> Plugins -> LocalFiles Editor -> Personal Plugin. Paste this between the <?php ... ?> tags:

Code:

add_event_handler('loc_begin_page_header', 'changeAppIconFilter' );
function changeAppIconFilter() {
  global $template;
  
  $template->set_prefilter('header', 'changeAppIcon');
}

function changeAppIcon($content, &$smarty) {
  $search = '#themes/bootstrapdefault/img/logo.png#';
  $replacement = 'local/mylogo.png';
  return preg_replace($search, $replacement, $content);
}

Upload the image somewhere in the Piwigo folder, local/ is a good spot. Change the $replacement line accordingly.
Make sure the Personal Plugin is enabled in Administration -> Plugins -> Manage

I'm using the great Bootstrap Darkroom theme in my blog/gallery.
I recently noticed that the favicon in Firefox Mobile and Chome Mobile was Piwigo's default one, instead of the one I had set with PersoFavicon. The were no issues at all in non-mobile browsers - my custom favicon was used in that case. I found the post above, it didn't fix the problem, until I did a little change in the code:

$search = '#themes/bootstrap_darkroom/img/logo.png#';


That solved the issue in my case.

Last edited by ari (2018-11-11 18:50:02)

Offline

 
  •  » Themes
  •  » [Theme] Bootstrap Darkroom (w/ PhotoSwipe, HTML5 video & more)

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2018 · Contact