-
Posts
2,321 -
Joined
-
Last visited
-
Days Won
44
Everything posted by tpr
-
Here are is a SCSS snippet if you would like to use inline roles (I'm not liking those big green asm items). It also enables removing roles by clicking on its label (not only on its icon), "user" icon instead trash and there's a line-through effect on hover too. You can use an online tool to make CSS from it.
-
Looks really sharp! I'll print a screenshot and put it under the Christmas tree One thing though. Doesn't cook coffee
-
I tried it on two servers (livehost), in a subdir and in the root. You could try to uncomment the series of bd() calls in line 913 and further down in 961 to see what paths/urls AOS tries to use (requires Tracy Debugger). You can update the module from the directory as it contains these fixes.
-
I think the admin UI could be re-arranged into a table layout: first column: action names second column: description/notes third column: applied roles + and Edit button, that opens a modal or perhaps only unhides the role asmSelector. Alternatively you can set the asmSelect to operate in "inline" mode, I've experimented with that and it worked. I know it would take some time, but sooner or later this has to be done
-
v112 is uploaded and contains the submenu feature for custom nav items. See the readme for the instructions. On the default theme its appearance is similar to the other 3rd level menus:
-
-
@Speed Could you try this? It's working for me when PW is in a subdir or in the root. AdminOnSteroids.module (updated)
-
$config->urls->templates with absolute URL?
tpr replied to Jonathan Lahijani's topic in API & Templates
In recent PW3 versions you can prepend "http" and get absolute urls like this: $config->urls->httpTemplates- 7 replies
-
- 10
-
Thanks, just noticed you are running PW from a subfolder so most probably AOS is using relative paths and that's why the assets are not loaded. I will post a fix soon.
-
According your markup you could also use CSS to format the list, eg using n:th-child or column-count.
-
@Speed are you sure you can access admin.css directly in your browser? Plus AOS checks if the file exists, can you confirm that PHP can access it? (maybe a file permission issue?)
-
change custom admin page topnav button on/active state
tpr replied to Marc's topic in API & Templates
Is there a unique class on the body element that you could use to style the element? Eg. "ProcessPageEdit-id-1005" or similar? -
It's the "headBtnToTitle" as you can see in the dev tools, coming from "Place header button next to the main title" from RenoTweaks.
-
Hooks for manipulating images and its variations
tpr replied to AndZyk's topic in Module/Plugin Development
Take a look at the Auto Smush module, it's doing the same with another web service. -
Most likely H1 tag not being full width or it is inline-block.
-
admin.css works fine here with the code above, in PW 3.042, AOS 1.0.9. I see you have "site/template" and not "site/templates", is that only a typo? Can you check using the Network tab in the devtools that admin.css is not loaded? (using Chrome, you can filter by file types)
-
In latte I can set which layout to use, isn't there a similar thing in twig? I use ready.php for setting global vars.
-
I would go with the "icon name = selector" route, in a simple textarea, one rule per row. Icon name would be the fontawesome name.
- 28 replies
-
- 2
-
- icon
- fontawesome
-
(and 2 more)
Tagged with:
-
Keep the new only and offer a download link to the old one.
-
Modules refresh?
-
Is the search box activated? The feature I was referring was removed in v0.999 so perhaps it's only a cache issue on your side. Try hard reload and see if it helps. https://github.com/rolandtoth/AdminOnSteroids/blob/master/CHANGELOG.md#0999-2016-11-08
-
v109 is up - see the readme file on date formattig: PageListTweaks: ability to format unix timestamps in pagelists PageListTweaks: using %field.property% will output the value in the user's language (if available) PageListTweaks: always show extra actions fixed language translator filterbox not appearing possible fix for unclickable select dropdowns in ProDevTools API Explorer (reported by Robin S.) "Always show extra actions" was a client request and removes the need to click on the ">" icon to see the extra actions. This can be handy for power users or when you often need to toggle pub/hidden states of pages. Or simply lazy
-
@Robin S Could you tell if there's a body class or something that I can use to disable the relative position for H1's on those sites? I don't have ProDevTools to check. @Speed Could you elaborate a bit more? Also, what AOS version are you using? A few versions ago the search could be focused using double-tap the Shift key but that was removed because such issues you mentioned.
-
Darken on hover is a good idea. You could make somehow the descriptions optional too and let the user decide whether he wants the clutter or not
-
Well you could place the description right next to the "From" cell content. If it's sufficiently different than the content before it then it should be usable, plus adding text-overflow: ellipsis you can limit the length (plus adding a "title" html tag to see all on hover). opacity: 0.66; font-size: 0.92em; display: inline-block; font-style: italic; margin: 0 0 0 1em; max-width: 200px; overflow: hidden; white-space: nowrap; vertical-align: middle; text-overflow: ellipsis; However I would still prefer the full-line descriptions even if the inconsistent look. A tooltip would be better than nothing but I'm not quite a fond of that.