CMS MADE SIMPLE FORGE

Extended Content Blocks 2

 

[#12782] Add option to add different background color to admin_text field

avatar
Created By: Stephan (10010110)
Date Submitted: 2025-05-06 17:58

Assigned To: Chris Taylor (chrisbt)
Resolution: Fixed
State: Open
Summary:
Add option to add different background color to admin_text field
Detailed Description:
It would be nice if the admin_text field could have either custom or predefined
background colors assigned via parameters, so that admin notices could stand out
a bit more, if desired. For example, with completely custom (background) color:

{content_module module='ECB2' field='admin_text' color="#ABCDEF"}

or with predefined color schemes:

{content_module module='ECB2' field='admin_text' type="alert"}

For predefined color schemes we could have typical UI patterns like “notice”
(light blue), “alert” (yellow), “error” (red), “confirm” (green) and perhaps
“neutral” (light grey).

History

Comments
avatar
Date: 2025-05-12 09:13
Posted By: Chris Taylor (chrisbt)

Hi Stephan, good suggestion thanks. I'm planning on some work on ECB2 soon so
I'll add those enhancements into the list.
Cheers
Chris
      
avatar
Date: 2026-11-05 03:34
Posted By: Chris Taylor (chrisbt)

add the color & background_color options to admin_text field - for next release
      
Updates

Updated: 2026-11-05 03:34
resolution_id: 5 => 7

Updated: 2025-05-12 09:13
resolution_id: => 5