qtguru Posted June 26, 2015 Share Posted June 26, 2015 OH NO, this is just so awesome. Please how can i get this, Reno you're the man, this is awesome my clients are gonna love this. 2 Link to comment Share on other sites More sharing options...
renobird Posted June 26, 2015 Share Posted June 26, 2015 Thanks all. I've got one issue to work out with mobile safari, after that it should be ready. @Pete, I have local copies of your colors that are compatible. I'll send everything to you later today - you can make any additional changes - shouldn't take long at all. 1 Link to comment Share on other sites More sharing options...
Pete Posted June 26, 2015 Share Posted June 26, 2015 Sweet, thanks Tom, looking forward to it Link to comment Share on other sites More sharing options...
renobird Posted June 26, 2015 Share Posted June 26, 2015 Sorry all, this is not going to happen today. There is a iOS bug that I can't seem to find; it only happens for non-superusers. 1 Link to comment Share on other sites More sharing options...
Peter Knight Posted June 27, 2015 Author Share Posted June 27, 2015 Sorry all, this is not going to happen today. There is a iOS bug that I can't seem to find; it only happens for non-superusers.Is it a CSS bug? Happy to try and help if the current version is available somewhere? Link to comment Share on other sites More sharing options...
LostKobrakai Posted June 30, 2015 Share Posted June 30, 2015 I don't know if this has changed in the new version, but I noticed, that the line-height is set as absolute value (1.6em) on the body, which should really be relative. Link to comment Share on other sites More sharing options...
LostKobrakai Posted July 1, 2015 Share Posted July 1, 2015 Noticed another issue. I've a module with a static navigation via the module .info.json file. Not it's always showing me the first nav item as current, no matter where I click. "nav": [ { "label": "Dashboard", "url": "", "icon": "tachometer" }, { "label": "Projekte", "url": "project/", "icon": "list" }, { "label": "Kritisch", "url": "critical/", "icon": "exclamation-triangle" }, { "label": "Import", "url": "import/", "icon": "exchange" } ] Link to comment Share on other sites More sharing options...
tpr Posted July 1, 2015 Share Posted July 1, 2015 Tab text goes multiline here if there's a space inside: "white-space: nowrap" solves it. Link to comment Share on other sites More sharing options...
renobird Posted July 1, 2015 Share Posted July 1, 2015 I don't know if this has changed in the new version, but I noticed, that the line-height is set as absolute value (1.6em) on the body, which should really be relative. I'll need to experiment with this to see what it breaks. Vertical rhythm needs an absolute unit, but that may not be needed in the case of an admin, so I'll take a look at moving to unitless. I'll look into the static nav issue now. tpr, What browser? I'm not seeing that here. Link to comment Share on other sites More sharing options...
LostKobrakai Posted July 1, 2015 Share Posted July 1, 2015 Vertical rhythm is nice to have, but I doubt that module developers will set their line-heights to fit that rhythm as long as the default admin theme is also around. 1 Link to comment Share on other sites More sharing options...
tpr Posted July 1, 2015 Share Posted July 1, 2015 @renobird Looks like a false alarm, it only appears in SlimJet (WebKit). Checked in Firefox, Chrome, IE and there were no line breaks. 1 Link to comment Share on other sites More sharing options...
renobird Posted July 1, 2015 Share Posted July 1, 2015 @LostKobrakai, I assume you are using executeDashboard(), excecuteProject(), etc… with this module The current way to check for current status won't work because the path will always be the same /processwire/name-of-page-using-this-process/ So that is why your dashboard item registers as current. I think the only way to resolve this is to enable URL segments for the admin template. You still need to have the executeWhatever() method, but the segments can then be tacked on to the end of the page->url and checked against. *Unless anyone chimes in with a way to get the full page path including the method. So, the solution I have is to turn on URL segments for the admin template, and then update AdminThemeRenoHelpers.php Around line 225: if(is_array($c)) { // $c is moduleInfo nav array $moduleInfo = array(); if(isset($c['permission']) && !$this->wire('user')->hasPermission($c['permission'])) continue; $segments = $this->input->urlSegments ? implode("/", $this->input->urlSegments) . '/' : ''; $class = $currentPagePath . $segments == $p->path . $c['url'] ? 'current' : ''; $title = $sanitizer->entities1(__($c['label'], $textdomain)); $url = $p->url . $c['url']; if(isset($c['navJSON'])) { $navJSON = $c['navJSON']; // url part $moduleInfo['useNavJSON'] = true; } $c = $p; // substitute } I've tested this here, and it seems to be working as expected. I'll test it a bit more this afternoon to see if there are any unintended consequences. Link to comment Share on other sites More sharing options...
renobird Posted July 1, 2015 Share Posted July 1, 2015 Also: I got all the iOS issues worked out, but I got sidetracked working on styling for the new system notifications module. has error notices no errors or notices 10 Link to comment Share on other sites More sharing options...
Wanze Posted July 1, 2015 Share Posted July 1, 2015 Looks great Reno, thank you for the hard work you put into this 1 Link to comment Share on other sites More sharing options...
LostKobrakai Posted July 1, 2015 Share Posted July 1, 2015 Actually Dashboard is the root page (execute()). The default theme does take it easy by just skipping a current page indication. Link to comment Share on other sites More sharing options...
renobird Posted July 1, 2015 Share Posted July 1, 2015 Thanks Wanze! @LostKobrakai, That's right. All the other executeWhatever() methods have the same path as the execute() method, which is why it's always showing as current. The fix I posted above seems to work fine here. Link to comment Share on other sites More sharing options...
renobird Posted July 2, 2015 Share Posted July 2, 2015 I've submitted the updated theme to Ryan. Beer:30. 4 Link to comment Share on other sites More sharing options...
Peter Knight Posted July 2, 2015 Author Share Posted July 2, 2015 I've submitted the updated theme to Ryan. Beer:30. Whats the process from here. Does Ryan need to add it to GitGub and it then becomes available? Link to comment Share on other sites More sharing options...
renobird Posted July 2, 2015 Share Posted July 2, 2015 Ryan mentioned having a few things to add that were related to modifications he hasn't committed to dev yet. Sounds like they aren't style related, but I may take one last look after he adds the things he's been working on. I'll be out of the office tomorrow, so I'm guessing it would be early next week before it's available. Link to comment Share on other sites More sharing options...
Mike Rockett Posted July 3, 2015 Share Posted July 3, 2015 Beer:30. Someone, give that man a Bells! Can't wait to see it - clients shall be happy. 1 Link to comment Share on other sites More sharing options...
renobird Posted July 3, 2015 Share Posted July 3, 2015 Thanks Mike. 1 Link to comment Share on other sites More sharing options...
LostKobrakai Posted July 6, 2015 Share Posted July 6, 2015 It would be nice if the "user-picture" functionality would support alternate user templates. 1 Link to comment Share on other sites More sharing options...
renobird Posted July 6, 2015 Share Posted July 6, 2015 It would be nice if the "user-picture" functionality would support alternate user templates. Is there some built-in way to define an alternate user template, or do you just mean allowing you to choose which template to pull the image from? Link to comment Share on other sites More sharing options...
LostKobrakai Posted July 6, 2015 Share Posted July 6, 2015 https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users 1 Link to comment Share on other sites More sharing options...
renobird Posted July 6, 2015 Share Posted July 6, 2015 Ah, right. I forgot about that. Support for that would be good to have. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now