justcarmen / webtrees-theme-justlight Goto Github PK
View Code? Open in Web Editor NEWJustLight theme for webtrees
Home Page: http://justcarmen.nl
License: GNU General Public License v3.0
JustLight theme for webtrees
Home Page: http://justcarmen.nl
License: GNU General Public License v3.0
Beste Carmen,
Ik maak, met veel plezier, gebruik van het JustLight thema. Na het upgraden naar de nieuwste webtrees versie en het upgraden van het thema lijken de linkjes van de tabbladen niet meer aanklikbaar. Bijvoorbeeld:
http://www.beckschebe.nl/webtrees/individual.php?pid=I0024&ged=beckschebe
Als je van 'Feiten en gebeurtenissen' naar 'Gezinnen' wilt dan gebeurt er niets. Met andere thema's werkt het wel (maar die wil ik natuurlijk niet gebruiken :) ). Ik ervaar dit probleem zowel in Microsoft Edge als in Google Chrome.
Is hier wellicht een oplossing voor?
Alvast bedankt voor je reactie!
Groet, Michiel Beckschebe
If I check View -> Lists -> Place hierarchy (placelist.php) as an unregistred visitor I do not see the google map within webtrees 1.7.8 and Justlight theme 1.7.8. When I'm logged-in I can see it.
I have tested it with a Google maps API key V3 too but I do not see the map as visitor (ffp.bauschaffen.de/placelist.php).
Any idea? With other themes it works.
I have installed webtrees dev version 2 from github. It seems this theme is not working with the same.
It will be great if this theme works with webtrees version 2 as I dont want to miss a beautiful theme in forward.
Hi,
How do I modify the default images: "silhouette ..... png", and favicon, of the JustLight theme?
I'm not finding all the default images.
Thanks.
The team is not recognized by 2.0 from root, themes
, modules folders.
The default font-size of 32px is too large for long titles.
Make the font-size of the title adjustable (option) or shrink it automatically when it is getting too large.
Hi Carmen, I think the zip file of the new version is not complete. At least the file module.php is missing. Could you check this? Thanks for the great layout.
I can't create any type of report when justlight theme is active. I can not select a person and webtrees show me only the string "undefined" (Screenshot: http://imgur.com/a/w3mKD:)
My Setup:
Webserver: Nginx
PHP: 7.0 via Fastcgi
No errors in PHP or Webserver Error log.
After installation and first selection of this new webtrees 2 theme, I got an error:
ErrorException: filemtime(): stat failed for /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/modules_v4/webtrees-theme-justlight/resources/css/justlight.min.css in /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Module/ModuleCustomTrait.php:146 Stack trace: #0 [internal function]: Fisharebest\Webtrees\Webtrees::Fisharebest\Webtrees\{closure}(2, 'filemtime(): st...', '/mnt/web312/a3/...', 146, Array) #1 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Module/ModuleCustomTrait.php(146): filemtime('/mnt/web312/a3/...') #2 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/modules_v4/webtrees-theme-justlight/module.php(104): class@anonymous->assetUrl('css/justlight.m...') #3 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/modules_v4/webtrees-theme-justlight/resources/views/layouts/default.phtml(69): class@anonymous->stylesheets() #4 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/View.php(189): include('/mnt/web312/a3/...') #5 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/View.php(286): Fisharebest\Webtrees\View->render() #6 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Helpers/functions.php(203): Fisharebest\Webtrees\View::make('layouts/default', Array) #7 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Http/ViewResponseTrait.php(58): view('layouts/default', Array) #8 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Http/RequestHandlers/UserPage.php(91): Fisharebest\Webtrees\Http\RequestHandlers\UserPage->viewResponse('user-page', Array) #9 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Http/Middleware/WrapHandler.php(83): Fisharebest\Webtrees\Http\RequestHandlers\UserPage->handle(Object(Nyholm\Psr7\ServerRequest)) #10 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\WrapHandler->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #11 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/modules_v4/vesta_classic_look_and_feel/ClassicLAFModule.php(146): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #12 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Cissee\Webtrees\Module\ClassicLAF\ClassicLAFModule->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #13 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/modules_v4/faces/src/Modules/FacesModule.php(93): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #14 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): UksusoFF\WebtreesModules\Faces\Modules\FacesModule->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #15 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/modules_v4/vesta_research_suggestions/ResearchSuggestionsModule.php(212): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #16 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Cissee\Webtrees\Module\ResearchSuggestions\ResearchSuggestionsModule->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #17 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Module/HitCountFooterModule.php(157): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #18 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Module\HitCountFooterModule->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #19 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Http/Middleware/AuthMember.php(57): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #20 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\AuthMember->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #21 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Http/Middleware/CheckCsrf.php(75): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #22 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\CheckCsrf->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #23 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(118): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #24 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Http/Middleware/Router.php(134): Middleland\Dispatcher->dispatch(Object(Nyholm\Psr7\ServerRequest)) #25 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\Router->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #26 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Http/Middleware/BootModules.php(62): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #27 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/vendor/oscarotero/middleland/src/Dispatcher.php(136): Fisharebest\Webtrees\Http\Middleware\BootModules->process(Object(Nyholm\Psr7\ServerRequest), Object(Middleland\Dispatcher)) #28 /mnt/web312/a3/99/51547399/htdocs/hermann/hartenthaler/php/webtrees/app/Http/Middleware/LoadRoutes.php(76): Middleland\Dispatcher->handle(Object(Nyholm\Psr7\ServerRequest)) #29 ...
SubSubMenus are not reachable : when I click on "View", the SubMenu appears, but then when I click on "Charts" the "Pedigree tree" appears instead of the SubSubMenu.
See: http://www.webtrees.net/index.php/en/forum/4-customising/29565-sneak-preview-of-my-new-theme#48761
Older versions of JustLight theme were installable and upgradable via Git, which was very quick and handy for power users.
Unfortunately this is not possible anymore. Is it possible to allow such workflow available again?
Hi Carmen,
I'd like to have an option to display the panels in a traditional tab style. At the moment, only the accordeon style is possible.
Example of what I mean:
https://github.com/flatlogic/bootstrap-tabcollapse (see Demo link).
Another implementation with icons:
https://github.com/openam/bootstrap-responsive-tabs
Even another without any plugins:
https://codepen.io/TrailRunner65/pen/kqiFI
Thank you very much. :-) 👍
In portrait mode, the name goes to a new line if too long, but then it overlaps the next line.
Using the nice JustLight theme I get the footer Line in the middle of the page www.helmutpaul.at (www.paul-engl.at/at). Just light is the only theme which really works nice on a smaller screen! With others the sides always are cropped. Please have a look to the screenshot and let me know about the problem.
THANKS!
Since webtrees supports printing directly any page from tree website. I have tried the same in my website but all links are getting exposed. Attached
Print.pdf
Is it any bug....
I can't get justlight to be recognised by version 2.0.3 of webtrees. I understand that the structure of webtrees 2 changed a bit and as a result the theme would need to be slightly modified. Would this be possible? It would be really sad if justlight development ends as it was a great-looking theme and much better than the default themes.
In webtrees website log we constantly are getting below error,
Fancy Imagebar: /..../modules_v3/fancy_imagebar/src/FancyImagebarClass.php:434 Undefined variable: thumbnails
Is is any bug?
The modal dialog box to configure the blocks on the homepage or mypage opens too small.
Using for example the pedigree chart, the browser window width needs to be as wide (or wider) that the overall chart width otherwise the right hand side (for ltr language) is cut off and inaccessible as there is no scrollbar
Navmenu.php line 437 should read
$onclick = $submenu->getOnclick() ? 'onclick="' . $submenu->getOnclick() . '"' : "";
(braces after first getOnclick)
In landscape mode, the title of the site overlaps the top of the "name box"
With the latest webtrees changes from today I receive the following error message at start:
error: Call to undefined method Fisharebest\Webtrees\Tree::getTitleHtml() in file /themes/justlight/app/Theme/JustBaseTheme.php on line 180 Stack trace: 1. Error->() /themes/justlight/app/Theme/JustBaseTheme.php:180 2. JustCarmen\WebtreesThemes\JustLight\Theme\JustBaseTheme->formatTreeTitleLink() /themes/justlight/app/Theme/JustLightTheme.php:55 3. JustCarmen\WebtreesThemes\JustLight\Theme\JustLightTheme->formatTreeTitle() /themes/justlight/app/Theme/JustLightTheme.php:83 4. JustCarmen\WebtreesThemes\JustLight\Theme\JustLightTheme->headerContent() /themes/justlight/app/Theme/JustLightTheme.php:40 5. JustCarmen\WebtreesThemes\JustLight\Theme\JustLightTheme->bodyHeader() /app/Http/Controllers/AbstractBaseController.php:180 6. Fisharebest\Webtrees\Http\Controllers\AbstractBaseController->viewResponse() /app/Http/Controllers/HomePageController.php:228 7. Fisharebest\Webtrees\Http\Controllers\HomePageController->treePage() /index.php:93 8. call_user_func() /index.php:93 9. Fisharebest\Webtrees{closure}() /index.php:96 10. call_user_func() /index.php:96
Hi JustCarmen, sorry to bother again,
My doubt is: On the top-menu -> REPORTS... How could I remove from the list, feature like CEMETERY for example?
I would like to remove this option from the MENU>REPORTS, but I don't know how to do it. I'm building the family tree just for fun among relatives of my family, but certain options are a bit sad to see, such as "cemetery, "death" ... I will not set search engines for our family tree. It will be only for some relatives to have access, to review pictures and some interesting things.
The webtrees is very professional, very cool, very fun to build, but it's a pity not to have a more simplified version or a theme with the option to hide these kind of items ("cemetery, "death", etc.) to avoid be seen.
Thanks a lot.
This error occurs when I click "Default Individual" on Homepage.
ERROR 8: Undefined property: WT_Menu::$getOnclick
0 Error occurred on line 437 of file navmenu.php in function getModuleMenus
1 called from line 91 of file functions.php in function getJLNavMenu
2 called from line 116 of file header.php in function require
3 called from line 163 of file Page.php in function pageHeader
4 called from line 43 of file individual.php
Notice: Undefined property: WT_Menu::$getOnclick in /home/pettyp7/public_html/PettypoolTree/themes/justlight/theme-1.6.2/navmenu.php on line 437
Hi Carmen,
On your own website I see you have a cookie statement on the bottom of the page. I can't find a setting for this in webtrees. Is this custom made or am I missing a setting.
Thank you!
Michiel
Hello,
I use justlight (1.7.8) on webtrees 1.7.8 (PHP 7).
While editing date of birth (e.g. CAL 1710) justlight changes it to 17 OCT 2016.
The same effect while using the other terms of calculated dates (only complete dates works correctly).
Before I changed to PHP 7 (PHP 5.6) the input (e.g. CAL 1710) was deleted, so I can save nothing.
Best regards
Hauke Sumfleth
The gender filters on search results pages (eg. general search for an individual) don't toggle in the justlight theme.
(Note: If I enable the filter in another theme, I can toggle off in justlight, but not on again)
After upgrade to JustLight theme ver. 1.7.4 I get this error message at the login page.
Fatal error: Call to a member function getSubmenus() on null in /_/_/***/webtrees/themes/justlight/theme.php on line 373
Could you please help me solving this issue?
Thanks.
Murat
Op zo 30 aug. 2020 om 19:44 schreef Carola:
Just Discovered that the Footer blocks gets stuck in Middle of page on my smartphone.
https://github.com/JustCarmen/webtrees-theme-justlight/blob/2.0.7/module.php#L134
The #
is not needed, and breaks the fan-chart.
See https://www.webtrees.net/index.php/en/forum/help-for-2-0/34926-fan-chart-in-version-2-0-7#80292
First, I want to say this theme is very nice. Specifically, I like that you used bootstrap, and I really like that you designed for the mobile experience. That said, I found a couple visual bugs on my phone.
(FYI: I'm using a Samsung Galaxy Note 3. Also, I'm viewing this page on my Webtrees install.)
That's all I noticed right now. If I see anything else, I'll let you know. Also, let me know if screenshots would help.
Hi,
Is there already a module that instead of only the "Save Clippings" of Webtrees (save to the hard drive), this module give to us the possibility to also send the link, or file/attachment, to an Email Client software (like Office Outlook)?
css now looks like
#family-table,
.charts_block,
[id$='_chart'] {
box-sizing: content-box;
}
Why the default person image is streched by padding: 0 0 0 5px;?
I use this setting:
#indi_mainimage img {
display: block;
margin: auto;
padding: 0px;
}
The search box and button have a margin to the top border - that looks not perfect.
I use this setting:
.div_search {
float:right;
margin-top:0px;
margin-left:3%;
margin-right: 15px;
}
.div_search .btn {
margin-top:0px;
}
It is only a suggestion. Thanks.
Viewing someone elses webtrees site with your theme, I found that a long "branches" list has the page footer right in the middle of the list. Just scroll down here:
http://originofthekirbys.com/tree/Origins/branches/Kirby
Thank you!!
Hi , thank you for this wonderful theme
I would like to know if it is possible to have panels as tabs in the individual pages just like in the justblack theme ?
Would it be possible to change a piece of code of the justlight theme from the justblack theme just to replace panels by tabs ?
Thanks
Reported by Martin via e-mail 2/10
Ik zag op jouw eigen webtrees site een mooi privacy verklaring. Ik zou dat graag op dezelfde wijze willen doen. Is het mogelijk dit te integreren in het justlight thema?
Ik heb dit ook via het contactformulier via jouw website gevraagd, maar betwijfel of dit goed gegaan is.
Bij voorbaat dank!
Michiel
It'd be nice to have a demo of the theme hosted somewhere, so I could test it out before installing it.
On some of the pop out windows, some content is obscured by the Save and Close bar
https://dl.dropboxusercontent.com/u/1113823/familytree/webtrees2.png
Reported by Taalia81 by email
Hi Carmen,
the formatting is lost in the notes, i. e. the "end of line".
Please have a look at the note in
https://www.heiler-ahnen.de/webtrees/tree/heiler/individual/I0160/Theodor-Heiler#tab-notes.
Kind regards
Jürgen Heiler
Hi,
to my understanding the tab should be highlighted in blue if chosen or in grey, if not chosen but a story exists, or in white, if not chosen and no story exists. At this point the tab is always highlighted in white. Could you please check this.
Kind regards
Jürgen
heiler-ahnen.de
On the Census Assistant window the scroll down stops before the end of the content.
https://dl.dropboxusercontent.com/u/1113823/familytree/webtrees1.png
Reported by Taalia81 by email
If I restrict the access to f.i. media object by privacy restrictions it would by useful to hide the complete media menu if the user is not authorized to see it. I use the following code additions to do this:
if (Auth::check()) {
if (count($folders) > 1) {
$menu = new Menu(/* I18N: Main media menu */ I18N::translate('Media'), '', 'menu-media');
foreach ($folders as $key => $folder) {
if ($key !== $MEDIA_DIRECTORY) {
$submenu = new Menu(ucfirst($folder), 'medialist.php?' . $this->tree_url . '&action=filter&search=no&folder=' . Filter::escapeUrl($key) . '&sortby=title' . $show_subfolders . '&max=20&columns=2&action=submit', 'menu-mediafolder');
$menu->addSubmenu($submenu);
}
}
} else { // fallback if we don't have any subfolders added to the list
$menu = new Menu(/* I18N: Main media menu */ I18N::translate('Media'), 'medialist.php?' . $this->tree_url, 'menu-media');
}
return $menu;
} else {
return null;
}
}
Hi Carmen,
I found a problem with the recent Firefox browser and the justlight theme 1.7.5 on webtrees 1.7.7. The statistic preferences are incomplete. Some checkboxes are not shown:
(I use Firefox 47.0.1 on MacOSX 10.9.5. With Safari on MacOSX or on my iPad with iOS 9 it works.)
With the webtrees theme it is shown right:
Do you have any idea?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.