Edi Posted November 25, 2017 Share Posted November 25, 2017 I need a whmcs server module, this module very simple: 1. WHMCS backend -> Client Profile -> Products/Services need a HTML code supported text area. 2. And display 'HTML code supported text area' on the frontend Manage Product -> Product Details -> behind Additional Information. Link to comment Share on other sites More sharing options...
brian! Posted November 25, 2017 Share Posted November 25, 2017 any particular reason why you need a server module to do this and can't just use Product Custom Fields ? you could create a textarea custom field and it would be shown on the admin area Client Profile -> Products/Services page... in the client area, it would normally be shown as is... if you need it to not show the HTML code, but make it work as HTML, you could modify the clientareaproductdetails.tpl and change {$field.value} to... {$field.value|html_entity_decode:$smarty.const.ENT_QUOTES:'utf-8'} now you might need to wrap the above line in an {if} statement to only make the change for textareas, but as long as you don't need the client to edit the field, you should just be able to use a custom field. 1 Link to comment Share on other sites More sharing options...
Recommended Posts