简体   繁体   中英

Adding custom textarea to Joomla article backend

I'm adding additional TextArea to Joomla's Article in the administrator.

I added the form, actually saving the content into Database, but it saves only usual text "asdasaf" but not an image with html like: <p><img smth ></p>

Well I want new textarea to act just like Joomlas default text area.

any ideas?

要获取HTML表单发布数据,您需要通过以下方式获取此数据

$data = JRequest::getVar( 'textAreaName', 'defaultValue', 'post', 'string', JREQUEST_ALLOWRAW );

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM