-
Posts
2,321 -
Joined
-
Last visited
-
Days Won
44
Everything posted by tpr
-
So you style the js utilities on your own?
-
The overlapped header button and the CodeMirror black font color issues should be fixed in v2.0.4. As for the latter, if you set a light CodeMirror theme then you should manually override the font color with a custom CSS. I also made the CodeMirror editor text a bit larger and force word-wrapping.
-
I know about that bug, will check later. As for ListerPro, the problem is that I still don't own a copy of it so it's hard to fix. If you happen to make a PR, that would be great.
-
Fortunately no such transformation gonna happen like in the classic The Fly movie ?
-
Thanks, I think it's fine now (means I'm outta ideas :))
-
@adrian I added this line to my previous post by editing it so you may have missed it. I think the shorter column headers would be just as informative as the longer.
-
Ok but let me know which version you (including others) would prefer, if any.
-
I liked the previous colored version where it was more obvious who can or cannot do what. I would perhaps try making the X icons 50% transparent or so to separate things better (or remove entirely?). Another idea is that on clicking on the table would toggle the icons visibility, so eg it would load with no X icons but on click they would appear and the check icons would disappear. Or perhaps just use hover for inverting the icons' visibility so no need to use js? How about removing the -able endings in the column headers to make it more compact? You can add the original text as a title attribute to keep them too.
-
Unfortunately the default admin theme doesn't have this class on the html while others do so aos adds that to normalize things (for styling and toglle features).
-
They pick up the phone and call me. I have sent them the admin account details but I' sure they have never been there ? (not just this one but many others) Of course if they would REALLY like to edit their site I could not use an SSG. Often the case is that they do like the idea to be able to manage the content. But when the time comes they realize it's work and it would require effort.
-
Another WP site I rewrote with Eleventy: https://neptunbrigad.hu It was more complex, I wrote many filters and image resize and optimization scripts, often duplicating PW functionalities. I still like how this system works, even though it requires a different mindset. For example you cannot resize images in the fly and optimize because that would result in a long build time (not to mention how to skip images that are already processed). So I first run the image processor scripts if I add a new image (which is in original size and quality) then I can continue developing in --serve mode. There are some extra steps like this but once these processes are set up it works like charm.
-
No you haven't, don't take it too seriously ?
-
I did agree a week ago or two too ? Nice updates btw.
-
Building a reusable function to generate responsive images
tpr replied to MoritzLost's topic in Tutorials
My module was also adding other attributes beforehand, eg classes, but that was too restricting, and IDEs were complaining about missing img attributes. That's why I decided to rewrite it to generate the srcset attribute only that you can use the way you need. It even works with lazysizes bgset attribute that I often use. -
In AdminOnSteroids I could only do this with JavaScript. If "icon only pagelist actions" is enabled, on hover I add the title from the button text. I guess it's not applicable here (the title should be different as the button text), but perhaps you can do something along these lines, eg. add a JSON to the page and lookup the title text with JS. Of course a non-js solution would be welcome.
- 1 reply
-
- 1
-
z-index is tricky, if a parent element has lower index then you can't make a child element positioned above it. I hope I can modify AOS to overcome this.
-
Perhaps you can set a higher z-index in Tracy module's settings page, but I'll take a look when I have time.
-
Building a reusable function to generate responsive images
tpr replied to MoritzLost's topic in Tutorials
MarkupSrcSet doesn't use JS to generate the markup. I guess the JSON format that misled you, in fact the module was rewritten a year ago, see this post: https://processwire.com/talk/topic/12981-markupsrcset/?do=findComment&comment=150129 -
WP is great for things. But here we talk about websites ?
- 17 replies
-
- 8
-
- cms
- comparison
-
(and 1 more)
Tagged with:
-
Language Support - Tab Text Colours - Improvement Suggestion
tpr replied to prestoav's topic in Wishlist & Roadmap
@prestoav what netcarver suggested, please open a github issue because the .langTabEmpty class is missing from image description list items which makes it impossible to style the way you need. -
Offtopic: if I will have some time I will add a similar feature to aos. The reason I haven't done this already is that never had the need for a color picker in the admin. This is the js I plan to use: https://github.com/narsenico/a-color-picker
-
$pages->get finds a multi-language page only in some languages
tpr replied to loukote's topic in Multi-Language Support
Is section title translated in your selector? Perhaps its in the default lang all the time. Anyway, you're on the right way, keep searching ? -
$pages->get finds a multi-language page only in some languages
tpr replied to loukote's topic in Multi-Language Support
Just bd() what you need to see, eg. bd($section_title); bd($selector); bd($items); and examine what the cause could be. My guess is that there's something with the $section_title, or some news page are still inactive in some languages (de, fr). -
$pages->get finds a multi-language page only in some languages
tpr replied to loukote's topic in Multi-Language Support
Use Tracy debugger and dump to see th3 full object. I guess you should post the template file content too to check that also (with the exact data to avoid misunderstandings like the previous get vs find).