It is very practical to have possibility to use PHP code instead of just command.

So there should be one text area for custom PHP code and if it will be filled it will be used instead of command.

Comments

anantagati’s picture

Status: Active » Postponed
anantagati’s picture

Status: Postponed » Needs review
StatusFileSize
new6.2 KB

Attached is a patch which creates new actions to run PHP code.

3dloco’s picture

Thanks Anantagati!

Your path now creates #440042: PHP Warning call-time pass-by-reference, so to use it I just removed the '&' from #2, and reattached the file below.

Regards,

KH

anantagati’s picture

Thanks, I will check it when I'll be back from holidays.

marcin-mark’s picture

Thank you very much for the patch.

I was wondering if there was a way I could use custom command using php to update a separate cck field of a newly created node? My goal is to setup different mm configs that harvest from different local server files, process them, save them to a cck file of a new node - but then, tag the node so it knew the file it was harvested from.

Any ideas?

anantagati’s picture

It is possible as you are not limited what PHP code will you use. Try forum or IRC support channel for help with code how to tag node as it is out of scope of this module.

anantagati’s picture

Version: 6.x-1.x-dev » 6.x-2.0

Commited.

anantagati’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.