Announcement

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

#331 2018-07-09 11:14:00

Fazli
Member
2017-04-26
38

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

Hi,
I had also written this problem in the Themes section under the topic  "
"undefined | Previous" links on listing photos", even I emailed the problem to the author of the theme, Thomas Kuther but I couldn't get any answer yet. That's why I am writing about it again, and beg your pardon for this. The problem is as on the topic in the root of the Themes section. (https://piwigo.org/forum/viewtopic.php?id=28758).
Could you pay your attention, if possible. Best regards.

Offline

 

#332 2018-07-09 21:19:28

kuzco
Member
2013-09-17
56

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

Hello,
probably I am too blond today, but how can I make sure that prictures are visible by defualt in fullscreen ?
PhotoSwipe fullscreen is active.

Piwigo: 2.9.2
Theme: 2.3.2

Regards
kuzco

Last edited by kuzco (2018-07-09 21:52:30)

Offline

 

#333 2018-07-09 22:48:16

teekay
Member
2013-06-12
391

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

kuzco wrote:

Hello,
probably I am too blond today, but how can I make sure that prictures are visible by defualt in fullscreen ?
PhotoSwipe fullscreen is active.

Piwigo: 2.9.2
Theme: 2.3.2

Regards
kuzco

What do you mean exactly? Fullscreen when? When clicking on the in the thumbnail view?

Offline

 

#334 2018-07-12 03:53:26

MarcRJacobs
Member
Houston, Texas
2013-05-27
30

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

Hi;

Is there a way to add a top level menu item to Bootstrap Darkroom. I would like to add a "Blog" item between Albums and Discover. I can add items to sub-menus, but I'd like to make it easier for people to get back to my blog.

Any help would be greatly appreciated.

Thanks,
Marc

Offline

 

#335 2018-07-13 08:36:05

teekay
Member
2013-06-12
391

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

MarcRJacobs wrote:

Hi;

Is there a way to add a top level menu item to Bootstrap Darkroom. I would like to add a "Blog" item between Albums and Discover. I can add items to sub-menus, but I'd like to make it easier for people to get back to my blog.

Any help would be greatly appreciated.

Thanks,
Marc

https://github.com/tkuther/piwigo-boots … navigation

Offline

 

#336 2018-07-13 18:14:54

MarcRJacobs
Member
Houston, Texas
2013-05-27
30

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

Hi Teekay;

I appreciate the response, but I tried both ways ie: localfiles and in template-extensions/bootstrap_darkroom/menubar_links.tpl

Both methods seem to create a pull-down menu with links inside it. I'm looking for a direct link in the top bar, with no pull down.

I also checked the detailed docs at: [Github] Piwigo file include/config_default.inc.php@L133

Seems to all be the same. Is this possible?

Thanks,
Marc


teekay wrote:

MarcRJacobs wrote:

Hi;

Is there a way to add a top level menu item to Bootstrap Darkroom. I would like to add a "Blog" item between Albums and Discover. I can add items to sub-menus, but I'd like to make it easier for people to get back to my blog.

Any help would be greatly appreciated.

Thanks,
Marc

https://github.com/tkuther/piwigo-boots … navigation

Offline

 

#337 2018-07-13 20:08:40

teekay
Member
2013-06-12
391

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

It‘s one single method and all 3 steps are required.

Offline

 

#338 2018-07-18 00:41:30

Pho3nyx
Member
2018-03-29
38

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

Hello, i don't like that my email address appear in the credit at the footer of the theme (spam issues etc) to fix this i removed some code from the file footer.tpl , the problem is everytime you upgrade the theme the edit get lost and i have to do this again.
You planning to offer a remove credit/email option in your theme (some piwigo theme have this option)?

Offline

 

#339 2018-07-18 10:56:38

teekay
Member
2013-06-12
391

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

Pho3nyx wrote:

Hello, i don't like that my email address appear in the credit at the footer of the theme (spam issues etc) to fix this i removed some code from the file footer.tpl , the problem is everytime you upgrade the theme the edit get lost and i have to do this again.
You planning to offer a remove credit/email option in your theme (some piwigo theme have this option)?

No, not planned. This is a core configuration issue and shouldn't be passed down to the theme.

You can either use the ContactForm plugin which replaces the mailto: with a link to the contact form.
Or use a personal plugin: https://github.com/tkuther/piwigo-boots … the-footer

Last edited by teekay (2018-07-18 11:01:57)

Offline

 

#340 2018-07-18 12:05:59

Pho3nyx
Member
2018-03-29
38

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

Done with email address, how to remove the piwigo link at the bottom with a personal plugin?

Offline

 

#341 2018-07-18 13:45:30

teekay
Member
2013-06-12
391

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

Pho3nyx wrote:

Done with email address, how to remove the piwigo link at the bottom with a personal plugin?

You don't :-)

Code:

{*
    Please, do not remove this copyright. If you really want to,
    contact us on http://piwigo.org to find a solution on how
    to show the origin of the script...
*}

  {'Powered by'|translate}  <a href="{$PHPWG_URL}" class="Piwigo">Piwigo</a>

Offline

 

#342 2018-07-19 00:44:54

Pho3nyx
Member
2018-03-29
38

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

I'm pretty sure that there are piwigo theme with that option :)

Offline

 

#343 2018-07-21 19:41:46

nicolas
Former Piwigo Team
2004-12-30
1172

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

Hi,

like all themes you can use inheritance : create a sub theme for Bootstrap Darkroom and adapt the template you want.

In themes folder create a directory (bootstrap_darkroom_inherited for example) and put the following index.php file :

Code:

<?php
/*
Theme Name: Bootstrap Darkroom
Version: 2.0.2
Description: A mobile-ready & feature-rich theme based on Boostrap 4, with PhotoSwipe full-screen slideshow, Slick carousel, over 30 color styles and lots of configuration options
Theme URI: http://piwigo.org/ext/extension_view.php?eid=831
Author: Thomas Kuther
Author URI: https://https://github.com/tkuther/piwigo-bootstrap-darkroom
*/

require_once(PHPWG_THEMES_PATH . 'bootstrap_darkroom/include/themecontroller.php');
require_once(PHPWG_THEMES_PATH . 'bootstrap_darkroom/include/config.php');

$themeconf = array(
    'name' => 'bootstrap_darkroom_inherited',
    'parent' => 'bootstrap_darkroom',
    'load_parent_css' => false,
    'load_parent_local_head' => true,
    'local_head' => 'local_head.tpl',
    'url' => 'https://kuther.net/'
);

// always show metadata initially
pwg_set_session_var('show_metadata', true);

// register video files
$video_ext = array('mp4','m4v');
$conf['file_ext'] = array_merge ($conf['file_ext'], $video_ext, array_map('strtoupper', $video_ext));

$controller = new \BootstrapDarkroom\ThemeController();
$controller->init();

Create a template directory in bootstrap_darkroom_inherited. Copy the footer.tpl template from Bootstrap Darkroom in the newly template directory. Adapt it.
Tell me if it's not clear.

Offline

 

#344 2018-07-22 15:00:51

Pho3nyx
Member
2018-03-29
38

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

nicolas wrote:

Hi,

like all themes you can use inheritance : create a sub theme for Bootstrap Darkroom and adapt the template you want.

In themes folder create a directory (bootstrap_darkroom_inherited for example) and put the following index.php file :

Code:

<?php
/*
Theme Name: Bootstrap Darkroom
Version: 2.0.2
Description: A mobile-ready & feature-rich theme based on Boostrap 4, with PhotoSwipe full-screen slideshow, Slick carousel, over 30 color styles and lots of configuration options
Theme URI: http://piwigo.org/ext/extension_view.php?eid=831
Author: Thomas Kuther
Author URI: https://https://github.com/tkuther/piwigo-bootstrap-darkroom
*/

require_once(PHPWG_THEMES_PATH . 'bootstrap_darkroom/include/themecontroller.php');
require_once(PHPWG_THEMES_PATH . 'bootstrap_darkroom/include/config.php');

$themeconf = array(
    'name' => 'bootstrap_darkroom_inherited',
    'parent' => 'bootstrap_darkroom',
    'load_parent_css' => false,
    'load_parent_local_head' => true,
    'local_head' => 'local_head.tpl',
    'url' => 'https://kuther.net/'
);

// always show metadata initially
pwg_set_session_var('show_metadata', true);

// register video files
$video_ext = array('mp4','m4v');
$conf['file_ext'] = array_merge ($conf['file_ext'], $video_ext, array_map('strtoupper', $video_ext));

$controller = new \BootstrapDarkroom\ThemeController();
$controller->init();

Create a template directory in bootstrap_darkroom_inherited. Copy the footer.tpl template from Bootstrap Darkroom in the newly template directory. Adapt it.
Tell me if it's not clear.

This was for my problem?

Offline

 

#345 2018-07-22 15:21:05

nicolas
Former Piwigo Team
2004-12-30
1172

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

Pho3nyx wrote:

This was for my problem?

I understand you want to remove your email address from footer. By making a sub-theme, you can adapt footer and remove your email. If I misunderstood, tell me.

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