-
Posts
2,321 -
Joined
-
Last visited
-
Days Won
44
Everything posted by tpr
-
No, I haven't noticed this. I'll check it some day, I don't understand all of it atm ?
-
You mean replacing with "smallest"? Otherwise it should throw an error.
-
Perhaps the 0-index fails to get the smallest img (I do not remember wether if it should or not). Could you try with $photo_header->srcsetUrls['smallest'], or with no initial style attribute at all?
-
If you view the page source, is the largest img variation set for the background image? The 0-index should be the smallest. Btw if you start devtools in desktop size, then the smaller img variations will not be loaded. Start in small width and check if it loads the larger ones when you resize the viewport. Edit: there is no lazyload or lazyloaded class in your final src, perhaps some hook is messing with the ing classes?
-
@franctic-aerobic It was easy to add a new $image->SRCSET method which generates such srcset: /site/assets/files/1/pic.400x300.png?nc=1545348144 400w,/site/assets/files/1/pic.600x400.png?nc=1545348181 600w But there's a problem: these resized images won't get re-created if you modify the original image, which I suppose your original plan was. I don't know how to deal with this without overcomplicating things.
-
I'm fine with the inline roles, there's an Uikit CSS rule that makes them not wrapping in multiple lines. I'll remove that, thanks for the report.
-
I think it doesn't support it yet. I'll check how to add this, thanks for pointing this out.
-
@adrian You're right, I cannot duplicate ? I'm not PWing nowadays too much but so far I haven't had such issue with hidden pages. @jmartsch Thanks, I think I found why the roles select wasn't displayed to you. It uses AOS's "Add placeholder to asmSelect" (under AsmTweaks), so if you do not check that you won't see the ROLES label. Plus UIkit uses a background-image to show the arrows for the select boxes and AOS was overriding it with a white background color, that's why they were not visible to you. Try v2.0.6 where you can see at least the arrows even if AsmTweaks is disabled.
-
Make page stick to the bottom of the page tree
tpr replied to Michael van Laar's topic in General Support
I think it's a very specific need. Perhaps you could dig into AdminOnSteroids code (if it helps) and make your own hook to achieve this. -
Nice, thanks. Another option could be to append the format hint to the field label in parentheses to avoid messing with the notes (not to overwrite any existing).
-
Thanks for the fix. Actually the block level field identifier was what made me think that the tooltip was intended to be triggered on the whole block. As it is now on the far right side there is no indication where the tooltip will be triggered when you move the mouse. Perhaps it would be better to restrict it to the identifer text only, or prepending an info icon. Anyway, no biggie. I created a PR to disallow less then 10% field widths, because PW doesn't allow that: TFWs allowed setting lower percentages and those values were kept. However, such fields were defaulting to 100%, just like the field's width sliders on the edit field page.
-
Perhaps a minor bug: if I select "Label" as the primary identifier then no text is shown for the field. Imho the module should display the primary identifier, and if not available, the name (as that's always available). Plus it would be better to put the "title" tag on the main div (.tfw-item) so it would be always available. This introduces another issue: hovering on an input the tooltip still shows but you can disable it by adding an empty title tag to the input (at least it works for Chrome).
-
Yes, I just checked and I see that they are also under a tab (I thought it's configurable).
-
Thanks Robin - have you checked the drag resize with tabs? I didn't have time to check that scenario.
-
You can use this to resize via mouse (using jQuery UI Resizable which seems to be present in the PW admin). I haven't checked fieldsets, I've updated the code, it's working fine with fieldsets too.
-
Maybe enabled only on larger screens with @media queries?
-
Great idea and implementation, even though I could live with a mouse dragging - I know it would be a tough task, so it's NOT a feature request ? I played with it and left-aligning the inputs would disable the "jump" when the width value is changed via mouse (after each click on the number input spinner you have to move the mouse a bit). Also note that the inputs and names are in one line that makes the "editor" more compact. Unfortunately the module is not compatible with aos_column_break, but I don't expect the module to support it as it would be really hard. For example, the corresponding page looks like this with the above template: In theory it would be not that hard to support the "main" tab but additional aos columns can set inside tabs which would be a nightmare to deal with ?
-
You mean the header height? As I see it's only a matter of adding min-height: 54px to height: 54px to the CSS.
-
I usually don't set dates output formatting because it's easier to handle in templates, and this way they are displayed as timestamps in the page list.
- 5 replies
-
- page tree
- page label
-
(and 1 more)
Tagged with:
-
AFAIK you cannot do it out of the box but with the AdminOnSteroids module it is possible, see Allow markup tokens for "List of fields to display" here: https://github.com/rolandtoth/AdminOnSteroids/wiki/PageListTweaks ({date_created}|date:%Y/%m/%d)
- 5 replies
-
- 3
-
- page tree
- page label
-
(and 1 more)
Tagged with:
-
@psy Same path here but I was the other two devs too ?
-
I think this is something that @tpr needs to take care of in AOS, but if someone know better, please correct me. @bernhard Yesterday I tried to replicate this but couldn't. Have you modified z-index in tracy, or have set sticky header in aos?
-
@MilenKo This is because these dropdowns are positioned via JavaScript (inline CSS) and it happens when you hover on the menu. This makes this weird behaviour that I have noticed as well but never examined it. As a simple fix I made those dropdown menus fixed positioned too in v2.0.5.
-
I've experimented with this 2yrs ago and it can be done. As I remember there were some minor issues that I haven't solved (mostly because of lack of time). https://processwire.com/talk/topic/13389-adminonsteroids/?page=15&tab=comments#comment-128814