The simpler media website CMS
I have modified the zpBootstrap theme, employing a dark theme & a light theme. The modifications reduce blank space, and eliminates the Admin Toolbox. Tested on ZP 1.6.5 and 1.6.6. The original credit for this theme goes to Vincent Bourganel. Unfortunately the theme appears to be abandoned by Vincent with no activity in more than 3 years. Fretzl forked and updated the repository, making it compatible with Zenphoto 1.6 and PHP 8.1.x. These themes are cloned from that repository.
If you install the PWA, the resulting app is full screen. and when viewing, the gallery should look & feel similar to viewing images you took on your phone. I’d like to develop a new menu manager that slides over the content, rather than pushing content down. This mod to zpBootstrap is devoted to showing images and not much else. If you are looking for a theme that includes a lot of text and other graphic content, this theme is probably not for you.
Both light & dark themes employ a thin shadowbox border around images. The “light” theme is more appropriate for lighter themed images like my sister's images at “Tori” in the menu. Although she’s running on Squarespace and I don’t code anything for that site. We will probably run a demo site with her images using the ‘light’ theme.
Demo site:https://light.loweprofile.com
Albums “Light” and “Video” (albums’ 1 & 3) are the only galleries. All other album thumbs are placeholders for demo.
Repositories:
https://github.com/tplowe56/zpBootstrap-dark
https://github.com/tplowe56/zpbootstrap-light
There is one code modification outside of the theme, to facilitate removing the admin toolbox.
Go to:
zp>>zp-core/css/admintoolbox.css
Comment out this code, which is at the top of the page:
body { margin-top: 32px !important; }
Try it out if you like. Comment, contact & registration forms have been modded for zpbootstrap-dark & zpbootstrap-light but I/m sure there are some areas I missed. I realize there are capabilities within ZP to code different versions of the same theme. I haven't ever coded for that yet…..so for now it’s separate themes.
Comments
Haven't compared the changes but we welcome such projects and committment! Great!
You did use the "official" fork on https://github.com/zenphoto/zpBootstrap as the base? That is the one we tried to keep compatible and not really the one fretzl did on his repository.
If you gladly abandon our fork and point to your repo(s) if you take it over from now on and update the theme entry on our site.
I don't like that part actually. The admin toolbox is technically not part of the theme/frontend but the backend and gives some extra functionality. I strongly recommend to not remove it or at least make that an option if you really want to be able to. Regardless we will always refer to it on support and expecting it to be available with any theme.
There is no real standard way the basic them basically just uses an option to load different CSS files. You should be able to implement that and join the theme versions.
Yes.
I have been removing the Admin Toolbox for several years. 90% of users are now on mobile. The admin tool box serves no purpose on mobile. You can access the back end, but the back end is not formatted for mobile. So why even display on mobile?
If you guys can present a case for the Toolbox on mobile I’d like to hear it.
My user case is showing images in a private gallery. As zenPhoto is currently coded, a logged in user is shown the toolbox at all times (except fancybox), it is never hidden. If the toolbox is hidden, it creates a cleaner interface on all platforms & devices.……. users have zero distractions on the interface.
My preferred solution would be a more robust menu manager that can handle access to the back end. I just link to the back end in the menu manager if needed for now.
Here are some examples:
Admin toolbox removed
https://www.loweprofile.com/images/zp/admin.removed.jpg
All below show toolbox employed.
Full size https://www.loweprofile.com/images/zp/admin.browser.jpg
Full size https://www.loweprofile.com/images/zp/admin.scroll_up.jpg
Full size https://www.loweprofile.com/images/zp/admin.pwa.jpg
Well, yes, our backend is not yet setup properly for mobile usage if you refer to phones (but that will be coming of course, all a matter of time). But it is usable on (larger) tablets. So I suggest to use a switch so it is available (we can add that to the default CSS or you do it via the theme) or make it an theme option.
I personally use the toolbox all the time as it is a shortcut for administration but of course that is via desktop.. It also shows if you site is in maintenance mode you otherwise don't notice. Also ZP shows unpublished items if you are logged in, so it is useful to know you are. Normal visitors - which count most - don't see it naturally anyway.
It is certainly possible to hide the toolbox for lower rank users that are not full admins or album manage level. We can discuass that certainly. Or you can adjust colors if needed to match the theme better.
We have a plugin for a loggedin/out link. Well, you can do what you like on your theme but it certainly limits default functionality IMHO we will always refer to.