gagnonjeanfrancois
New Member
Hi,
I want to create a form with Fabrik and I would like to export the fields of my form to the default Joomla content. I want to recreate the Joomla content form with the power of Fabrik. I think that Fabrik and his Textarea Plugin, that can show a field with the maximum numbers of characters left, could be very useful for my clients when they field up their title and metadescription.
So, I had started to note my path by updating this old tread of peamak [HowTo] Submit articles to Joomla and I'm presently stock with the alias table...
So I have installed fabrikcalc and replaced the {jos_content___title_raw} with my own database name but this solution is not working. When I'm creating a new title the alias do not follow, my field stay empty. Also, with this solution, I will have some trouble if my client create 2 articles with the same title... this solution have no protection for two articles with the same alias...
I really tried to solve this on my own, I spent half of my day searching for a solution, I learned a lot but not for this issue . Any clue will be appreciated!
P.S. : Sorry for my bad spelling, English is my second language, I will be glad to formulate if I was not enough clear.
I want to create a form with Fabrik and I would like to export the fields of my form to the default Joomla content. I want to recreate the Joomla content form with the power of Fabrik. I think that Fabrik and his Textarea Plugin, that can show a field with the maximum numbers of characters left, could be very useful for my clients when they field up their title and metadescription.
So, I had started to note my path by updating this old tread of peamak [HowTo] Submit articles to Joomla and I'm presently stock with the alias table...
peamak said:- Make "alias" a fabrikcalc (calculation) element, enable "Calc on save only", and enter something like (sorry I did not test that, we can discuss it in this thread if there's a problem):
PHP:
$str = '{jos_content___title_raw}';
$str = strtolower($str);
$str = preg_replace('/( |?|,|;|:|\/|\.|!|\(|\)|"|\')/', '-', $str);
return $str;
So I have installed fabrikcalc and replaced the {jos_content___title_raw} with my own database name but this solution is not working. When I'm creating a new title the alias do not follow, my field stay empty. Also, with this solution, I will have some trouble if my client create 2 articles with the same title... this solution have no protection for two articles with the same alias...
I really tried to solve this on my own, I spent half of my day searching for a solution, I learned a lot but not for this issue . Any clue will be appreciated!
P.S. : Sorry for my bad spelling, English is my second language, I will be glad to formulate if I was not enough clear.