I've added a new text block on the product page by extending the product class.
In settings > HTML editor settings I can adjust the various CK editor fields that appear for long description, such as tables, bold, fonts etc, however, I can't seem to do the same for the text field I added previously?
Page 1 of 1
Custom field / HTML editor settings?
#2
Posted 30 January 2012 - 05:07 PM
Dominic, on 30 January 2012 - 11:25 AM, said:
I've added a new text block on the product page by extending the product class.
In settings > HTML editor settings I can adjust the various CK editor fields that appear for long description, such as tables, bold, fonts etc, however, I can't seem to do the same for the text field I added previously?
In settings > HTML editor settings I can adjust the various CK editor fields that appear for long description, such as tables, bold, fonts etc, however, I can't seem to do the same for the text field I added previously?
Did you add your text block as frm_html?
There are a few field definition types which aren't 100% documented. I believe that is one. Here is a full excerpt of the field definition type defines
define('frm_text', 'text');
define('frm_password', 'password');
define('frm_dropdown', 'dropdown');
define('frm_autocomplete', 'autocomplete');
define('frm_radio', 'radio');
define('frm_checkbox', 'checkbox');
define('frm_checkboxlist', 'checkboxlist');
define('frm_textarea', 'textarea');
define('frm_html', 'html');
define('frm_code_editor', 'code_editor');
define('frm_grid', 'grid');
define('frm_datetime', 'datetime');
define('frm_date', 'date');
define('frm_time', 'time');
define('frm_onoffswitcher', 'on_off_switcher');
define('frm_record_finder', 'recordfinder');
define('frm_file_attachments', 'file_attachments');
some more info can be found here. http://lemonstandapp...ion_area_forms/
#3
Posted 05 February 2012 - 11:53 AM
Yup:
The result is:
http://screencast.com/t/9F4sRX3Cgj
Firstly, the new field is not as wide as Lond Description, although I've used size(huge)?
Secondly, the new field only has one row of tools, whereas the Long Description has a row of Table tools which I added via the CMS settings for HTML editable content blocks..
$product->add_form_field('x_product_features', 'left')->tab('Product')->renderAs(frm_html)->size('huge');The result is:
http://screencast.com/t/9F4sRX3Cgj
Firstly, the new field is not as wide as Lond Description, although I've used size(huge)?
Secondly, the new field only has one row of tools, whereas the Long Description has a row of Table tools which I added via the CMS settings for HTML editable content blocks..
Share this topic:
Page 1 of 1

Help













