casa Posted May 27, 2008 Share Posted May 27, 2008 Hi, I have a custom field and I want that this not editable by the customers. The custom code is {if $customfields} <br /> <table cellspacing="1" cellpadding="0" class="frame"><tr><td> <table width="100%" cellpadding="2"> {foreach key=num item=customfield from=$customfields} <tr><td width="150" class="fieldarea">{$customfield.name}</td><td>{$customfield.input} {$customfield.required}</td></tr> {/foreach} </table> </td></tr></table> {/if} Can anyone help me to change this code for the customer do not edit it? Thank you. 0 Quote Link to comment Share on other sites More sharing options...
Serverweb Posted June 6, 2008 Share Posted June 6, 2008 --- change {$customfield.input} to {$customfield.value} ---- 0 Quote Link to comment Share on other sites More sharing options...
casa Posted June 7, 2008 Author Share Posted June 7, 2008 That`s it! Thank`s a lot. 0 Quote Link to comment Share on other sites More sharing options...
toddimus Posted February 20, 2009 Share Posted February 20, 2009 How would I do this for specific custom fields. I have some fields I still want the customer to be able to edit like "secondary email address" "mobile phone" etc. But I do want to be able to have a link to their joomla administration area and admin user/pass. Any ideas? Oh yeah, I'm not really a coder, so be gentle. I did find the string of code listed above, but don't know what to do with it. 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.