add custom field in FAQ module - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Open (https://discussions.corebos.org/forumdisplay.php?fid=20) +--- Forum: Open Discussions (https://discussions.corebos.org/forumdisplay.php?fid=10) +--- Thread: add custom field in FAQ module (/showthread.php?tid=48) |
add custom field in FAQ module - gongsl - 07-10-2014 Other module such as product, organization,and contacts are all allowed to add custom field, so how can I add the similar function in the FAQ module? Is it easy to realize this function? thank you. Re: add custom field in FAQ module - joebordes - 07-10-2014 Noted: <!-- m --><a class="postlink" href="http://corebos.org/development/view.php?id=207">http://corebos.org/development/view.php?id=207</a><!-- m --> we will attend as soon as possible. Re: add custom field in FAQ module - joebordes - 07-10-2014 Done <!-- s --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="" title="Very Happy" /><!-- s --> <!-- m --><a class="postlink" href="http://corebos.org/development/view.php?id=207">http://corebos.org/development/view.php?id=207</a><!-- m --> Re: add custom field in FAQ module - gongsl - 07-22-2014 It works.Thank you so much. Re: add custom field in FAQ module - gongsl - 07-24-2014 joebordes Wrote:Done <!-- s --><img src="{SMILIES_PATH}/icon_e_biggrin.gif" alt="" title="Very Happy" /><!-- s --> I find some problem about this today after I change the code, When I click the some Question in FAQ module, I cannot see the question information in detail. The page goes blank. Besides, I cannot delete the faq now. Wish somebody can help me, thank you. Re: add custom field in FAQ module - joebordes - 07-24-2014 Hi I just tried this again to make sure and it is working correctly for me. If you have a running system you have to: - make changes to modules/Faq/Faq.php, please be VERY careful the slightest letter change can break the code which I think is what happened - make sure you have the vtiger_faqcf table in the database there is not much more to it. Let us know how it goes. Re: add custom field in FAQ module - gongsl - 07-25-2014 Hi In order to find the problem, I directly copy and paste build/changeSets/cffaq.php,modules/Faq/Faq.php,and schema/DatabaseSchema.xml to my vtiger 5.4. The problem still exists. The problem is listed as follow in details: In the FAQ module,when I click the red button 'Delete', vtiger retrieve 'undefined'(popout window). If I choose the Question column to check the information in detail. It shows nothing after I click. The two buttons in action column also have the same problem. By the way, the function about adding custom field works correctly. After I undo all the changes above, the problem doesn't happen any more. But I cannot add custom field in FAQ module. Thank you. Re: add custom field in FAQ module - joebordes - 07-25-2014 Have you created the database table? Code: CREATE TABLE IF NOT EXISTS vtiger_faqcf ( Re: add custom field in FAQ module - gongsl - 07-25-2014 Finally you are right. it's My fault that I forget creating the table. Now it works. Thank you so much. Re: add custom field in FAQ module - joebordes - 07-25-2014 <!-- s --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="" title="Smile" /><!-- s --> Have a nice weekend |