1 Attachment(s)
Re: Order Comments Status/Update Boilerplate
Quote:
Originally Posted by
simon1066
ZC v 2.0.0 rc2
PHP 8.1
Not specific to ZC 2.0.0 but, the coupon_admin page displays 'no coupons' when coupons are empty
Attachment 20548
I would like to do the same for this plugin, while I'm beautifying it (and getting it ready for ZC 2.0.0).
I have achieved this, but want to remove the grey portion below the black 'no comments' block....
I have resolved the above issue.
When inserting a comment there exists some custom text adjacent to the input boxes,
Attachment 20553
I aim to have different text depending on whether the content input box is Plain Text or CKEditor entry. I can write some code except that I'm unsure how to identify the type of input box in use.
e.g.
if input box is Plain Text then
display this text
else (if it is CKeditor)
display that text
Re: Order Comments Status/Update Boilerplate
Quote:
Originally Posted by
simon1066
..
e.g.
if input box is Plain Text then
display this text
else (if it is CKeditor)
display that text
look at this session var:
$_SESSION['html_editor_preference_status']
that should tell you which editor (or none) is in use.
you can look over here to see how it gets set:
https://github.com/zencart/zencart/b...tml_editor.php
best.
Re: Order Comments Status/Update Boilerplate
Quote:
Originally Posted by
carlwhat
That's great, thanks.