CMS MADE SIMPLE FORGE

Company Directory

 

[#7841] FE Edit: No custom fields

avatar
Created By: Wayne ONeil (wishbone)
Date Submitted: Tue Apr 17 21:48:40 -0400 2012

Assigned To: Robert Campbell (calguy1000)
Version: 1.13.1
CMSMS Version: 1.10.2
Severity: Major
Resolution: Fixed
State: Closed
Summary:
FE Edit: No custom fields
Detailed Description:
I've created custom fields, set them to public, but when editing records, I
can't edit custom fields.


On line 142, there is: GetFieldDefsForCompany($companyid,false,false);

The third argument is $public .. According to class.cd_utils.php, if $public is
false, no custom fields are returned. I might be missing some setting somewhere,
but if I set the last false to true, it works.

There's also a similar issue when adding a new record, but I'll save that for
another ticket, as I haven't quite figured that one out. :)


History

Comments
avatar
Date: 2012-04-30 01:05
Posted By: Mitch Proulx (inyerface)

Hey Wayne, 

In which file did you edit the follow? Default template?

On line 142, there is: GetFieldDefsForCompany($companyid,false,false);

I'm also having an issue with this... 
      
avatar
Date: 2012-04-30 01:07
Posted By: Wayne ONeil (wishbone)

Sorry.. action.fe_edit.php
      
avatar
Date: 2012-04-30 01:25
Posted By: Mitch Proulx (inyerface)

Thanks Wayne!!!  I'll try this and hopefully FEU can edit their custom fields. 
Thanks again!
      
avatar
Date: 2012-05-18 16:00
Posted By: Robert Campbell (calguy1000)

fixed in svn ... fe_edit2 fixes all issues with editing in the frontend.
      
Updates

Updated: 2012-11-28 13:13
state: Open => Closed

Updated: 2012-05-18 16:00
resolution_id: 5 => 7

Updated: 2012-04-17 21:49
resolution_id: => 5
severity_id: 12 => 2