Page 8 of 8 FirstFirst ... 678
Results 71 to 73 of 73
  1. #71
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,239
    Plugin Contributions
    1

    Default Re: Order Comments Status/Update Boilerplate

    Quote Originally Posted by simon1066 View Post
    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,
    Name:  Screenshot 2024-04-04 125606.png
Views: 22
Size:  17.6 KB

    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
    Simon

  2. #72
    Join Date
    Nov 2005
    Location
    los angeles
    Posts
    2,692
    Plugin Contributions
    9

    Default Re: Order Comments Status/Update Boilerplate

    Quote Originally Posted by simon1066 View Post
    ..
    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.
    author of square Webpay.
    mxWorks has premium plugins. donations: venmo or paypal accepted.
    premium consistent excellent support. available for hire.

  3. #73
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,239
    Plugin Contributions
    1

    Default Re: Order Comments Status/Update Boilerplate

    Quote Originally Posted by carlwhat View Post
    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.
    That's great, thanks.
    Simon

 

 
Page 8 of 8 FirstFirst ... 678

Similar Threads

  1. Replies: 0
    Last Post: 17 Oct 2013, 04:32 PM
  2. v151 Order Status Update / Append Comments & Noitify Customer
    By Brent in forum Managing Customers and Orders
    Replies: 4
    Last Post: 16 Oct 2013, 07:57 PM
  3. Change Email Subject of Status Update Messages e.g. Order Update XXXX
    By apemusic in forum Managing Customers and Orders
    Replies: 4
    Last Post: 13 Oct 2010, 08:42 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR