Forums

Form to post articles

M.Abletech 19 Jul, 2018
Hi,

is it possible to use chronoform to let a user post throu a form?

I mean the form would have 3 fields:
TITLE
BODY
IMAGE
( the Author will be fetch by user id )
( the Category will be set by default )

And the article would be in draft until admin change status to publish.

I would use a DB READ AND DB SAVE. Any other suggestion?
Has anyone ever do it?

Thanks!
GreyHead 19 Jul, 2018
Answer
Hi M.Abletech,

CFv5 had an action to do this but I think that Joomla have recently changed the way in which article data is saved and there isn't a CFv6 version that I am aware of.

It should be possible using a PHP action in your form Submit event and calling the Joomla classes used to create articles.

Bob
This topic is locked and no more replies can be posted.