Announcement

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

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

Jessy
Member
2018-03-07
44

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

 

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

executive
Member
2017-08-16
1214

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

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

Offline

 

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

Jessy
Member
2018-03-07
44

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

 

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

Jessy
Member
2018-03-07
44

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

 

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

teekay
Member
2013-06-12
427

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

 

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

Jessy
Member
2018-03-07
44

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

 

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

teekay
Member
2013-06-12
427

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

 

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

ari
Member
2014-11-05
10

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

 

#369 2018-12-21 12:28:56

mulanee
Member
2006-11-25
38

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

Hello,

Switching to custom CSS even with nothing inside, I get an error message
<code>
Warning: filemtime(): stat failed for ./themes/bootstrap_darkroom/css/custom/bootstrap.min.css in /home/clemelis/www/galerie/include/template.class.php on line 1894

Warning: file_get_contents(./themes/bootstrap_darkroom/css/custom/bootstrap.min.css): failed to open stream: No such file or directory in /home/clemelis/www/galerie/include/template.class.php on line 1990</code>

What can I do?

Last edited by mulanee (2018-12-21 12:29:42)

Offline

 

#370 2018-12-21 14:37:40

Maxometr
Member
2018-12-21
3

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

How can I change the font size in the Info tab (I want to make it smaller)? This tab is where the data about the picture: date of publication, exif, rating...

Last edited by Maxometr (2018-12-21 14:38:42)

Offline

 

#371 2018-12-21 15:25:40

teekay
Member
2013-06-12
427

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

mulanee wrote:

Hello,

Switching to custom CSS even with nothing inside, I get an error message
<code>
Warning: filemtime(): stat failed for ./themes/bootstrap_darkroom/css/custom/bootstrap.min.css in /home/clemelis/www/galerie/include/template.class.php on line 1894

Warning: file_get_contents(./themes/bootstrap_darkroom/css/custom/bootstrap.min.css): failed to open stream: No such file or directory in /home/clemelis/www/galerie/include/template.class.php on line 1990</code>

What can I do?

Read https://github.com/tkuther/piwigo-boots … -Bootstrap

Offline

 

#372 2018-12-21 15:26:57

teekay
Member
2013-06-12
427

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

Maxometr wrote:

How can I change the font size in the Info tab (I want to make it smaller)? This tab is where the data about the picture: date of publication, exif, rating...

You can use CSS overrides via LoacalFile editor or the custom CSS form in the theme's settings

Offline

 

#373 2018-12-21 16:09:46

Maxometr
Member
2018-12-21
3

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

teekay wrote:

Maxometr wrote:

How can I change the font size in the Info tab (I want to make it smaller)? This tab is where the data about the picture: date of publication, exif, rating...

You can use CSS overrides via LoacalFile editor or the custom CSS form in the theme's settings

But you can me some example to write. To the font on here smaller size to do. And then I can adjust, but initially can not write. Thank you.

Offline

 

#374 2018-12-21 17:40:35

mulanee
Member
2006-11-25
38

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

>Read https://github.com/tkuther/piwigo-boots … -Bootstrap

Compilation, no way for me.
Why CSS custom in the setup doesn't work?

Offline

 

#375 2018-12-21 21:13:51

teekay
Member
2013-06-12
427

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

mulanee wrote:

>Read https://github.com/tkuther/piwigo-boots … -Bootstrap

Compilation, no way for me.
Why CSS custom in the setup doesn't work?

Then do not select the "Custom" bootstrap theme. That's something different than custom CSS. You don't need it.

Last edited by teekay (2018-12-21 21:17:50)

Offline

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

Board footer

Powered by FluxBB

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