× 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 年 8 个月 前 #1519 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 登录注册一个帐号 to join the conversation.

7 年 8 个月 前 - 7 年 8 个月 前 #1520 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 年 8 个月 前 by Hakan.

Please 登录注册一个帐号 to join the conversation.

7 年 8 个月 前 #1522 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 登录注册一个帐号 to join the conversation.

7 年 8 个月 前 #1523 Hakan
Thank you very much Randy,

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

Kind regards,
Hakan

Please 登录注册一个帐号 to join the conversation.

创建页面时间:0.052秒
核心: Kunena 论坛

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.