Hi teekay;
Thanks for the reply.
Got it, awesome. I stuck it into the bottom of /themes/bootstrap_darkroom/template/menubar_categories.tpl?
Works PERFECT, even with a nice divider.
Thanks so much,
~Marc
Last edited by MarcRJacobs (2018-03-18 01:01:50)
Offline
teekay wrote:
So, I just release 2.0.0. Enjoy!
Really great theme ;) many thanks to you! It should be blundled
We 're still using Boostrap 3 so it could be useful to split this forum's discussion, isn't ?
For exemple contact form plugin doesn't seem supported in Darkroom v1 then it could be more easy to follow development sync...
Offline
Hi Teekay,
what exactly do you mean with "script code section"?
Ralf
Offline
Hi Ralf;
I was able to solve my issue by adding the suggested menu item in the bottom of
/themes/bootstrap_darkroom/template/menubar_categories.tpl
By putting it there it added an "All Albums" item, plus a divider at the top of the "Albums" menu. It ended up being even better than I had hoped for.
This may not be the correct place to put the code, but it works perfectly. Attached you can see the code. The code is stock except for lines 30 and 31.
The downside to doing this type of mod is that every update will overwrite the code. I just keep a text file of changes I've made to handle this.
Best of luck,
Marc
Offline
MarcRJacobs wrote:
Hi Ralf;
I was able to solve my issue by adding the suggested menu item in the bottom of
/themes/bootstrap_darkroom/template/menubar_categories.tpl
By putting it there it added an "All Albums" item, plus a divider at the top of the "Albums" menu. It ended up being even better than I had hoped for.
This may not be the correct place to put the code, but it works perfectly. Attached you can see the code. The code is stock except for lines 30 and 31.
The downside to doing this type of mod is that every update will overwrite the code. I just keep a text file of changes I've made to handle this.
Best of luck,
Marc
My idea was to put it in the AdditionalPages's script section for the carousel code, but having it globally is an even better idea. Take care that menubar_categories.tpl will be overwritten on theme updates. Use themes/bootstrap_darkroom/local_head.tpl instead with smarty syntax, like:
{footer_script require='jquery'} $(document).ready(function() { $('#categoriesDropdownMenu .dropdown-menu').prepend('<a class="dropdown-item" href="index/categories">All Albums</a><div class="dropdown-divider"></div>'); }); {/footer_script}
That's persistent and the cleanest way.
Offline
Jessy wrote:
teekay wrote:
So, I just release 2.0.0. Enjoy!
Really great theme ;) many thanks to you! It should be blundled
We 're still using Boostrap 3 so it could be useful to split this forum's discussion, isn't ?
For exemple contact form plugin doesn't seem supported in Darkroom v1 then it could be more easy to follow development sync...
This was discussed/decided here: http://piwigo.org/forum/viewtopic.php?id=28276
TL;DR v1 isn't really developed anymore and won't be marked compatible with Piwigo 2.10+
Offline
teekay wrote:
MarcRJacobs wrote:
Hi Ralf;
I was able to solve my issue by adding the suggested menu item in the bottom of
/themes/bootstrap_darkroom/template/menubar_categories.tpl
By putting it there it added an "All Albums" item, plus a divider at the top of the "Albums" menu. It ended up being even better than I had hoped for.
This may not be the correct place to put the code, but it works perfectly. Attached you can see the code. The code is stock except for lines 30 and 31.
The downside to doing this type of mod is that every update will overwrite the code. I just keep a text file of changes I've made to handle this.
Best of luck,
MarcMy idea was to put it in the AdditionalPages's script section for the carousel code, but having it globally is an even better idea. Take care that menubar_categories.tpl will be overwritten on theme updates. Use themes/bootstrap_darkroom/local_head.tpl instead with smarty syntax, like:
Code:
{footer_script require='jquery'} $(document).ready(function() { $('#categoriesDropdownMenu .dropdown-menu').prepend('<a class="dropdown-item" href="index/categories">All Albums</a><div class="dropdown-divider"></div>'); }); {/footer_script}That's persistent and the cleanest way.
Hi teekay;
Love your idea, but a little confused. I rem'd out my line in menubar_categories.tpl, and created a new template called local_head.tpl in the same folder, inserted your code, but it didn't work. Maybe I'm not clear on what smarty syntax is? Any ideas?
Thanks,
Marc
Offline
MarcRJacobs wrote:
Hi teekay;
Love your idea, but a little confused. I rem'd out my line in menubar_categories.tpl, and created a new template called local_head.tpl in the same folder, inserted your code, but it didn't work. Maybe I'm not clear on what smarty syntax is? Any ideas?
Thanks,
Marc
local_head.tpl needs to be in top-level inside the bootstrap_darkroom folder, so themes/bootstrap_darkroom/local_head.tpl
Offline
Hi,
ist there away to disable the globe symbol which is displayed on the homepage and category pages when OSM Streetmap is installed?
I do not find any setting for it.
Cheers
Ralf
Offline
teekay wrote:
MarcRJacobs wrote:
Hi teekay;
Love your idea, but a little confused. I rem'd out my line in menubar_categories.tpl, and created a new template called local_head.tpl in the same folder, inserted your code, but it didn't work. Maybe I'm not clear on what smarty syntax is? Any ideas?
Thanks,
Marclocal_head.tpl needs to be in top-level inside the bootstrap_darkroom folder, so themes/bootstrap_darkroom/local_head.tpl
Ahhh, much better. Thank you! Guess I still have lots to learn about Piwigo and your theme. :-)
~Marc
Offline
Ralf wrote:
Hi,
ist there away to disable the globe symbol which is displayed on the homepage and category pages when OSM Streetmap is installed?
I do not find any setting for it.
Cheers
Ralf
You could hide it using custom CSS
li.osm-button { display: none; }
Offline
Hi Teekay,
thanks a lot :-)
Offline
Hi;
When I click on the magnifying glass the search, is is possible to have the box that opens up to type into be black text on a white background?
I can find a setting for this with inspect element.
Thanks,
Marc
Offline
PolyWogg wrote:
>> If you replace the two $COMMENT_IMGs with $current.TITLE it should do what you want for now.
YES! That works perfectly! Thank you, thank you, thank you!
Soooo, is there a way for me to make that "permanent" somehow? I just realized the last update of course overwrote it and my "titles" below images disappeared.
Or a simple way to enter that quickly? I've bookmarked it all so I can do it more easily, just wondering if you have a recommendation for a workflow. I was wondering if I could paste that function into the "override" function.
Paul
aka PolyWogg
Offline
Hello, nice theme (i think the best of piwigo) :)
I have 2 request if possible:
1) I would like to remove the top line with the album, user connection, piwigo language menu from the album and the thumbsnail pages like in the full image page (basically i want that the only top menu showed is like here https://pwgdemo.kuther.net/picture/16-d … lack_white for all the gallery pages)
2) In the top menu is possible to show only the name of the gallery and the name of the file?
For example https://pwgdemo.kuther.net/picture/16-d … lack_white show:
Home / Landscape / Black & White / DSC02718-Bearbeitet
i would like something like that would show just:
Black & White / DSC02718-Bearbeitet
Thanks in advantage for your help.
Offline