ACTION joomla_article fix, for set userid and get new articleid

agostino 22 Mar, 2015
I've made some fix to Joomla_article action.
(attached)
/administrator/components/com_chronoforms5\chronoforms/actions/joomla_article/joomla_article.php

and changed
/administrator/components/com_chronoforms5/chronoforms/locales/en_gb/lang.php
after:
const CF_JOOMLA_ARTICLE_CATID_DESC = "The category id";
Add those lines:
const CF_JOOMLA_ARTICLE_CREATEDBY_USERID = "User id";
const CF_JOOMLA_ARTICLE_CREATEDBY_USERID_DESC = "User author for article publishing";
const CF_JOOMLA_ARTICLE_CREATEDBY_ALIAS = "Alias to publish";
const CF_JOOMLA_ARTICLE_CREATEDBY_ALIAS_DESC = "Publisher alias to display on author";


with this fixes an article can set user that publish the article.

and give out the id of article created.
GreyHead 23 Mar, 2015
Hi agostino,

Thank you

Bob
agostino 23 Mar, 2015
I must see if I can change the id of author from number to a select, but i havent much time, and that was the minimal functions that i needed.

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