-
Posts
1,510 -
Joined
-
Last visited
-
Days Won
16
Everything posted by Ivan Gretsky
-
С Рождеством!
- 7 replies
-
- 10
-
-
-
Was looking for this too) I guess this is it. Hope it will help someone as this topic is #1 result for the search "textformatter toc". Found the link with some nice extra content here.
-
New blog: ProcessWire modules directory
Ivan Gretsky replied to ryan's topic in News & Announcements
I wouldn't ask to maintain multiple APIs. Just feel that making a link to Microsoft's github repo a required field is a bad decision. Like making github auth the default method for site authentication, not allowing email. What would happen to https://processwire.com/modules/pad-loper/ and alike, that cannot provide a github link? I would suggest making github a single option for automation, leaving plain textarea for description and url for project link a general option. That would probably suit everyone, making possible both code hosting platforms of choice and paid modules listing. -
New blog: ProcessWire modules directory
Ivan Gretsky replied to ryan's topic in News & Announcements
Great news! The thing that bugs me though is making github account mandatory. Feels kind of like proprietary vendor lock in. Shouldn't there be an option to use gitlab/bitbucket/own git or a custom download url on an own site? -
Good day, @teppo! Thanks for this timesaver module of yours! Really cool! The topic is getting long. Sorry if I missed the answer scanning through. Is it possible to search by page id? Probably that means adding it to the indexable field, right? Maybe there is a hook for that?
-
Good day, @kongondo! I can see some great features (like extra_fields option) on a dev branch (added in version 0.2.7). Is there a reason for not releasing it yet for everyone to enjoy on a master branch, which is being installed by default?
-
So true! And I can't believe it is not in the modules directory yet))) Hope that Adrian will find time for it eventually. This module deserves its place in the top rankings (if not in the core).
-
You got to use $input->whitelist.
-
Hey, @jds43! You should be able to just add 'baseUrl' => '', to the options array above.
-
Just recently @ryan presented a little module for making batch user role assignment with lister easier. You can already batch send emails to users from lister. I am not sure we can expect such a module to be developed quickly, so would suggest adding functionality to lister with action modules. But you can probably hire Ryan to build this module (or some of its parts) if that is affordable.
-
Good day! I am putting @adrian's TracDebugger's bd() in a Hanna Code and it seem to be running 3 times while rendering only one Hanna code item. Why is that?
-
One way would be to give them labels sorted in alphabetical order. Something like: 01 - Most used template (a label for most_used_template) 02 - Not so much used template (a label for not_so_much_used_template)
-
CKEditor 5 is a completely different kind of editor. It doesn't store the entered text/markup as is, but rather transforms it to it's in built data model. The transition to it would probably be pretty complicated if possible. Things like text formatters, image plugin and a lot of textarea-related stuff would probably have to be redesigned. So do not think it is going to happen soon (but Ryan can surprise us like he did a million times)))
-
1. Change this AOS module setting as you wish: 2. Add templates definitions to that file (as described here or here).
-
You can try CKEditor content templates. I think you can get it into your system with AOS module.
-
Sounds like a minor thing in the end just to finish the post, unless it's your issue, your site falls apart without it being solved) Thanks!
-
Changing the condition to use a super global variable indeed helped me to prevent _init.php from running once again. But in this case the TemplateFile object doesn't get any variables from _init.php which it need to render correctly. I thought, that I need to move all the code to another hook before the Page:render. So I made PageRender::beforeRenderPage hookable and moved the code there. But that still didn't work. I am definitely lost here((
-
Actually, if there is no more than one CKEditor field in a Repeater item, custom styles should work. Check it out again. But when there are more, I know no solution. Please give a thumb up to the issue and write a comment, so @ryan gets a notification. I has been a while without anything new on this issue, so your voice could make a difference)
-
I think, you could use MarkupPagerNav module directly with specific options. renderPager() function calls it internally like this. I guess, you need to adjust the baseUrl option.
-
Seems like double-posting worked for you better in this topic, @Jessie) Anyway, please do not double post not to clutter the forum)
-
No direct answer from me) Just googled that and this seems to be something you might want to take a look at.
-
Hi @Jessie! When does the error happen exactly? When you ad the field to the template? When you create the field?
-
function _x() not working within custom functions
Ivan Gretsky replied to froot's topic in API & Templates
How are you including this function? Is it in ProcessWire namespace?