Hello,
I want to make a form where I use the values in the form to create and publish an article. There are however a couple of things which I'm getting stuck on.
I saw there is an action to make an article, but that option is way too limited. I was hoping to maybe extend the functionality and add the article that way. (I wanted to connect to the database and inject my things via there, but that is waaaay more complicated than this option, so I really prefer to do it via chronoforms ๐ )
I have a couple of fields, which holds the title, and some other stuff. I am using an action to wrap all these values in 1 content value, which I insert into the content of the soon to be added article. That works all very well. But I have a problem regarding the use of categories. In the form the user can select a couple of categories, but I cannot say that the categories is a dynamic option. So I'm asking you guys for some help. Is there a possibility to make a dynamic category adding?
I want to make a form where I use the values in the form to create and publish an article. There are however a couple of things which I'm getting stuck on.
I saw there is an action to make an article, but that option is way too limited. I was hoping to maybe extend the functionality and add the article that way. (I wanted to connect to the database and inject my things via there, but that is waaaay more complicated than this option, so I really prefer to do it via chronoforms ๐ )
I have a couple of fields, which holds the title, and some other stuff. I am using an action to wrap all these values in 1 content value, which I insert into the content of the soon to be added article. That works all very well. But I have a problem regarding the use of categories. In the form the user can select a couple of categories, but I cannot say that the categories is a dynamic option. So I'm asking you guys for some help. Is there a possibility to make a dynamic category adding?
Hi Huubs,
Sorry I don't understand your question. What exactly do you want to do with the categories?
Bob
Sorry I don't understand your question. What exactly do you want to do with the categories?
Bob
I'm sorry. I'm going to try to explain it a little bit better.
I have a form with a couple of fields, basically it's a more convenient way for my client to add an article. Because he has to fill in a couple of fields and then chronoforms will handle the rest (putting names on the right places in the content, etc.)
But I want to let the client choose the category. In the Submit Article event, you cannot dynamiccaly set the category, you have to statically define it. So is there a possibility to let the form decide which category the article needs to go?
I have a form with a couple of fields, basically it's a more convenient way for my client to add an article. Because he has to fill in a couple of fields and then chronoforms will handle the rest (putting names on the right places in the content, etc.)
But I want to let the client choose the category. In the Submit Article event, you cannot dynamiccaly set the category, you have to statically define it. So is there a possibility to let the form decide which category the article needs to go?
I've found the answer to this specific question. I've hacked the core of the add article action described here:
http://www.chronoengine.com/forums/posts/f2/t22417.html
Then I named the category selector catid, with the matching ID in the Joomla Backend, and now its working๐
http://www.chronoengine.com/forums/posts/f2/t22417.html
Then I named the category selector catid, with the matching ID in the Joomla Backend, and now its working๐
This topic is locked and no more replies can be posted.