joev Posted October 2, 2007 Share Posted October 2, 2007 Hi, I wish to have few custom client fields in the client area which could be managed from the admin interface but appears as READ ONLY to the customers. Currently WHMCS has a way to add custom client fields but it doesn't allow it be read only, either it becomes visible to client or it can be made invisible but one can not make it visible & readonly. Any idea, help to do this ? 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted October 2, 2007 Share Posted October 2, 2007 Hi joev, Dont show all the custom fields in one go, and dont show them as editable. eg... {$customfields.7.value} ... will display the value of the custom field only Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
joev Posted October 2, 2007 Author Share Posted October 2, 2007 Hi Iceman, Sorry for being dumb...I don't have any programming experience. Where do I insert the code in this line ?: {foreach key=num item=customfield from=$customfields} <tr><td class="fieldarea">{$customfield.name}</td><td>{$customfield.input}{$customfield.required}</td></tr> {/foreach} 0 Quote Link to comment Share on other sites More sharing options...
Iceman Posted October 17, 2007 Share Posted October 17, 2007 Hi joev, The way we did it was NOT use that foreach loop. Instead we manually added each field into the template html, in the required location. Cheers, Paul 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.