Timeline for Using rules to populate a field with the output of pdfprevew
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 13, 2017 at 5:45 | comment | added | UltraBob | I suspect that is the case, but since I don't know much about rules, I thought I'd ask. | |
Jul 13, 2017 at 1:23 | comment | added | No Sssweat | Unless there is some sort of "pdfpreview rules integration" module, I highly doubt this is possible with rules. Looks like custom module is the way to go on this 1. | |
Jul 12, 2017 at 15:04 | answer | added | Pierre.Vriens | timeline score: 0 | |
Jul 12, 2017 at 10:02 | comment | added | UltraBob | Yes, that would be completely fine. I'm new to rules so I don't know exactly where you are going, but something like run with cron? The real issue I had was that I couldn't figure out where I could get the image pdfpreview generated. | |
Jul 12, 2017 at 10:00 | comment | added | Pierre.Vriens | 1 more question (I'm thinking about a compromise): is it acceptable to have a delay of X mins (X between say 3 and 60) before that "populate" actually happens? PS: can you read my mind already what I'm thinking of? | |
Jul 12, 2017 at 9:48 | comment | added | UltraBob | That said, at node create and node update may be a much better time, if pdf preview has had a chance to do what it does by the time those events fire. I wasn't sure on that. | |
Jul 12, 2017 at 9:48 | comment | added | UltraBob | I was thinking at node view, might be a good time just to be sure that the preview had had a chance to be saved. I'd then need a condition to check whether the cover field already has a value and one to see if either there is a pdfpreview available or if the first file in the field is a pdf | |
Jul 12, 2017 at 9:38 | comment | added | Pierre.Vriens | Bonjour! When to you want that populate to happen? Wild guess: either at node create OR at node update? | |
Jul 12, 2017 at 9:08 | history | asked | UltraBob | CC BY-SA 3.0 |