qtguru Posted June 26, 2015 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
renobird Posted June 26, 2015 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
renobird Posted June 26, 2015 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
Peter Knight Posted June 27, 2015 Author 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?
LostKobrakai Posted June 30, 2015 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.
LostKobrakai Posted July 1, 2015 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" } ]
tpr Posted July 1, 2015 Posted July 1, 2015 Tab text goes multiline here if there's a space inside: "white-space: nowrap" solves it.
renobird Posted July 1, 2015 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.
LostKobrakai Posted July 1, 2015 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
tpr Posted July 1, 2015 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
renobird Posted July 1, 2015 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.
renobird Posted July 1, 2015 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
Wanze Posted July 1, 2015 Posted July 1, 2015 Looks great Reno, thank you for the hard work you put into this 1
LostKobrakai Posted July 1, 2015 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.
renobird Posted July 1, 2015 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.
renobird Posted July 2, 2015 Posted July 2, 2015 I've submitted the updated theme to Ryan. Beer:30. 4
Peter Knight Posted July 2, 2015 Author 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?
renobird Posted July 2, 2015 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.
Mike Rockett Posted July 3, 2015 Posted July 3, 2015 Beer:30. Someone, give that man a Bells! Can't wait to see it - clients shall be happy. 1
LostKobrakai Posted July 6, 2015 Posted July 6, 2015 It would be nice if the "user-picture" functionality would support alternate user templates. 1
renobird Posted July 6, 2015 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?
LostKobrakai Posted July 6, 2015 Posted July 6, 2015 https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users 1
renobird Posted July 6, 2015 Posted July 6, 2015 Ah, right. I forgot about that. Support for that would be good to have.
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