matdave / FormItPublisher

MODX Resource Publishing with FormIt
0 stars 0 forks source link

Formit2Resource #1

Open terrybarth opened 3 months ago

terrybarth commented 3 months ago

First I apologize for opening an issue here, but I can't find any other way to contact you.

I actually have a question about Formit2Resource. I'm using it on a project and it seems it's no compatible with php 8.x. I'm wondering if you plan to update it for 8.x.

I'm not familiar with FormItPublisher. Is this a replace for FormIt2Resource?

Thanks. Again I'm sorry about the screwy way to reach you.

I can be reached at terrybarthdesign@gmail.com

matdave commented 3 months ago

@terrybarth this could be used as a FormIt2Resource replacement. I originally made it as a simplified NewsPublisher alternative. Here's an example call:

[[!FormIt?
    &hooks=`fiPublisher`
    &redirectTo=`99`
    &fipResourceFields=`pagetitle,parent,content,uri,alias,pub_date,published,createdby`
    &fipTVFields=`image`
    &fipResourceDefaults=`{"template":26,"published":0,"uri_override":true,"syncsite":1}`
    &fipCheckPermissions=`0`
    &fipRedirectOnSave=`1`