AbanteCart Community

Shopping Cart Operations => Support => Extension Support => Topic started by: dannywilliams14 on May 18, 2018, 10:10:27 AM

Title: textarea
Post by: dannywilliams14 on May 18, 2018, 10:10:27 AM
Hello all,

So I want to add a text editor like the one that created this text, to my extension so I can edit a block area with text and images,
my problem is most text editors want a textarea field, How can I add a text area field to my extension.

Sorry so broad, I have a basic construct , admin, core, storefront->('controler','lang','view'),config, main..ect .
Title: Re: textarea
Post by: abantecart on May 20, 2018, 12:38:19 PM
Check how text editor is done on the product edit page.  See controller and template below:

https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/controller/pages/catalog/product.php#L635

https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/view/default/template/pages/catalog/product_form.tpl#L52