The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Can you style (css) the Control Panel to look like the website?
#20
Thank you for the praise Connie, much appreciated - this has been hours of work but it will be worth it. GS is the best CMS out there. And I've been looking for years at them.

Anyway, I copied the toolbar plugin.js to the plugins folder from the _source folder (didn't realise it was only in there) but changing the code in it from "config.toolbar = 'Full';" to "config.toolbar = 'Basic';" has no affect (neither does "CKEDITOR.config.toolbar = 'Basic';"). Since this code works in gsconfig:

Code:
define('GSEDITOROPTIONS',
  " toolbar: [
            ['Bold', 'Italic', 'Underline', 'NumberedList', 'BulletedList', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock', 'Outdent', 'Indent'],
      ['Table', 'Link', 'Unlink', 'Image', 'RemoveFormat', 'Source'],
      '/',
      ['Styles','Format'],
    ],

I tried something like this:
toolbar: 'admin/template/js/ckeditor/plugins/toolbar/plugin.js',

but it didn't work (disabled the toolbar entirely).

Can you give me another one of your great hints to get the toolbar to respond?

Or is there a way to add a parameter to NumberedList and BulletedList in gsconfig so they will use my style sheet? Currently they have no styling.

Thanks again.
Charles
Reply


Messages In This Thread
Can you style (css) the Control Panel to look like the website? - by charles_i - 2011-11-25, 02:59:39



Users browsing this thread: 10 Guest(s)