× Please submit new Bug Reports on GitHub: github.com/Jensen-Technologies/component-creator-issues/issues

Need a skilled developer who is familiar with CC

7 years 8 months ago #1519 by Hakan
Indeed I have a very simple task, which might not even take more than an hour for a developer who is familiar with CC.

I have an administrator form with 3 fields. A, B, C. Only field C has a field in the database. I bind A&B and save it as C.

I managed to save it as C but while loading the form, I cannot unbind the C field as A and B. Anybody can help me with an hourly fee?

Kind regards.
Hakan

Please Log in or Create an account to join the conversation.

7 years 8 months ago - 7 years 8 months ago #1520 by Hakan
This was the code that I added to the bind function in administrator/tables/item.php

$jinput = JFactory::getApplication()->input;
$array['three'] = $jinput->getArray(array('one' => '', 'two' => ''));

if (is_array($array['three']))
{
// implode array to convert it into string (persist)
$array['three'] = implode("|", $array['three']);
}
else
{
// explode string to convert it into array (render)
$exploded_array = explode("|", $array['three']);
$array['one'] = $exploded_array[0];
$array['two'] = $exploded_array[1];
}
Last edit: 7 years 8 months ago by Hakan.

Please Log in or Create an account to join the conversation.

7 years 8 months ago #1522 by Randy Carey
Replied by Randy Carey on topic Need a skilled developer who is familiar with CC
I regularly customize CC generated components. Your need should be a quick fix.
Feel free to contact me via my website: careytech.com

Please Log in or Create an account to join the conversation.

7 years 8 months ago #1523 by Hakan
Thank you very much Randy,

I have just sent you an email via the contact form on your site.

Kind regards,
Hakan

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum

We use cookies so that you can place orders and we can provide a better service. You can control the use of cookies at the individual browser level. If you reject cookies, you may still use our website, but your ability to use some features or areas of our website may be limited.