-
Posts
10,896 -
Joined
-
Last visited
-
Days Won
348
Everything posted by adrian
-
Oh awesome - thanks for pointing that out. I have updated the module to use this and it seems to be working fine.
-
Hi Ryan, Looks like a great start. First thing I noticed is that pagination doesn't work. I'll let you know if I come across anything else. I also think it's probably time to remove modules that don't support PW 3 from the sorted lists - highly liked modules that don't work with v3 will be confusing to new users.
-
Hi Ryan, Looks like a great start. First thing I noticed is that pagination doesn't work. I'll let you know if I come across anything else.
-
Looks like they finally shutdown access via http://youtube.com/get_video_info?video_id= which means I'll need to change this module to use their API which means you'll need to get an API key to make it work. Any chance you have time to make that change to the module and submit a PR?
-
Hi @mel47 - I am not really sure what requires you to re-save each page. Is this to fix an existing problem or is this an issue going forward as well? That saveReady hook should be fine, but you might also try Pages::added I'd need to know some more details to really help more than that.
-
Hi @mel47 - I don't really see how BCE relates to that "allow new pages to be created from field" setting - BCE doesn't create pages from a field - it creates them from its own interface. Can you please explain how you are using BCE - maybe I am missing something?
-
Glad you got it working! That's all of us really - it's more a matter of eliminating possibilities sometimes and debugging what the value of variables that are throwing errors actually are and then looking at what / how those variables are used.
-
I am trying to help here, but you gotta meet me half way ? If you look the code in the action, you'll see that it sanitizes the field as an integer and the options form stores the ID of the field, rather than the name. I'm sure you'll figure it out from that ?
-
Sorry, the issue is that $sourceFolder is empty, not the actual directory. Looks like the issue is that you are using "sourcefolder" instead of "sourceFolder"
-
Because you haven't specified full root paths. You need to start at /var/www/..../site/assets/....
-
Those are the core actions that come with the module. No - "site" actions (ones that you write yourself) are stored under /site/templates/AdminActions/ Regarding your initial suggestion - it might actually work more or less like that - I had actually forgotten about being able to call these actions via the API ? Have a read about how to do that in the docs here: https://github.com/adrianbj/ProcessAdminActions#calling-an-action-via-the-api
-
You can't just use that code you posted as is - you need to build it into an alternate version of the action. Copy the action file from the core actions folder to the site/templates/AdminActions/ folder, rename it and the class and modify as needed.
-
This thread should get you going: https://processwire.com/talk/topic/4437-delete-orphaned-filesimages-from-siteassetsfiles/ Also, once you have everything cleaned up, TracyDebugger (http://modules.processwire.com/modules/tracy-debugger/) has a Page Files panel that will help you keep track of orphaned files/images going forward.
- 1 reply
-
- 4
-
@fruid - I guess that might work - did you try?
-
Jumplinks is only designed to kick in when a URL 404s. Your best bet is you place the redirect in the template file that is used to display the /recipes/ page, eg: $session->redirect('/docs/!recipes/doku.php');
-
Should be easy enough with a combination of https://github.com/somatonic/Multisite and http://modules.processwire.com/modules/admin-restrict-branch/
- 1 reply
-
- 1
-
@Ralf - I am glad you got the translation stuff sorted out. The "You must change your password now" text is added as a note to the "pass" field when it is rendered. So if this module is successfully redirecting to the profile editing screen of LRP, then it should display that note - if not, then it might be a question for Ryan to see if he can support this module within LRP by displaying the note, or suggesting some other way for this module to inject that note.
-
It's been a long time since I have looked at this module - there were a couple of issues related to automatic install of helper modules (those modules that are tied to another main module). That was the reason this never made it to the modules directory. If I find time I'll take another look, unless of course someone else is keen on seeing what they can do ?
-
Hi @Ralf - that checkbox field label, description, and notes should be translatable already. You can see here on a site I have with English and Portuguese: The "load on frontend" option should make it work with LRP. I did just commit one change that allows translating of the note that says: "You must change your password now". Hope that gets you going.
-
Wow, you're going back in time there ? I remember my parents talking about him, and I am sure I saw a few of his movies in my youth (they liked a good western), but don't honestly remember that expression.
-
@JeevanisM - this is something that @Pete manages, so hopefully this will get his attention.
-
@rick - Actually, sorry I didn't read properly - the issue is that you don't have the "php-xml" PHP module installed.
-
@rick - have a read of this:
-
Yeah, so to clarify, you need to install ffmpeg, and not ffmpeg-php or php-ffmpeg. I haven't ever used MAMP, I usually install it on my Mac with homebrew using: brew install ffmpeg Can you try that?