로그인

검색

Extra Form

20210830_100703.jpg

1. 파일 위치 

..Rhymix/modules/editor/skins/ckeditor/editor.html

 

2. 댓글 부분 > 약 183라인

        // Define the simple toolbar.
        <!--@if($editor_toolbar === 'simple')-->
            settings.ckeconfig.toolbar = [
                { name: 'styles', items: [ 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor' ] },
                { name: 'paragraph', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] },
                { name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste' ] },
                { name: 'insert', items: [ 'Link', 'Image', 'Table' ] },
                { name: 'tools', items: [ 'Maximize', '-', 'Source' ] }
            ];
        <!--@endif-->

 

3. 모바일이 아닌 경우만 툴바 하단으로 보내기

            <!--@if(!Mobile::isMobileCheckByAgent())-->
                // 모바일이 아닌 경우만 버튼을 아래로 내림
                // 버튼이 아래로 내려가면 모바일에서 파일업로드가 되지 않음 
                settings.ckeconfig.toolbarLocation = 'bottom';
            <!--@endif-->

 

4. 관리자와 일반사용가간 댓글 툴바 다르게 보이기 

            <!--@if($logged_info->is_admin == 'Y')-->
                settings.ckeconfig.toolbar = [
                 ... // 관리자일때 

                ];
            <!--@endif-->
            <!--@if($logged_info->is_admin)-->
                settings.ckeconfig.toolbar = [

                ... // 로그인 사용자 일 때

                ];
            <!--@endif-->
            <!--@if(!$logged_info->is_admin)-->

                settings.ckeconfig.toolbar = [

                  ... // 로그인하지 않은 사용자 일 때

                ];
            <!--@endif-->

 


@ 최종 설정 모양 @

        // Define the simple toolbar.
        <!--@if($editor_toolbar === 'simple')-->
            settings.ckeconfig.toolbar = [
                { name: 'styles', items: [ 'Font', 'FontSize', '-', 'Bold', 'Italic', 'Underline', 'TextColor', 'BGColor' ] },
                { name: 'paragraph', items: [ 'JustifyLeft', 'JustifyCenter', 'JustifyRight' ] },
                { name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste' ] },
                { name: 'insert', items: [ 'Link', 'Image', 'Table' ] },
                { name: 'tools', items: [ 'Maximize', '-', 'Source' ] }
            ];

            <!--@if(!Mobile::isMobileCheckByAgent())-->
                // 모바일이 아닌 경우만 버튼을 아래로 내림
                // 버튼이 아래로 내려가면 모바일에서 파일업로드가 되지 않음 
                settings.ckeconfig.toolbarLocation = 'bottom';
            <!--@endif-->

        <!--@endif-->

 

 

 

 

 


  1. 26
    Dec 2021
    21:44

    라이믹스 변수 정리

    Rhymix 사용 변수 $val1['text'] 1차 메뉴 명 $val1['desc'] 메뉴의 설명
    Read More
  2. 17
    Sep 2021
    15:46

    Ckeditor Toolbar 등록 이름

    // Toolbar configuration generated automatically by the editor based on config.toolbarGroups. config.toolbar = [ { name: 'document', groups: [ 'mode', 'document', 'doctools' ], items: [ 'Source', '-', 'Save', 'NewPage', 'ExportPdf', 'Preview...
    Read More
  3. 09
    Sep 2021
    23:17

    웹진형 제목 글자 크기 와 색상

    board.css /* Webzine */ .bd_zine>li{position:relative;margin:0 auto;word-break:break-all;word-wrap:break-word} ... .bd_zine.zine .tmb_wrp img,.bd_zine .no_img{border:1px solid #DDD} .bd_zine h3{margin:0;font-size:15px;color:#444} black.css /...
    Read More
  4. 19
    Aug 2021
    13:18

    Ckeditor in Rhymix 댓글 부분 설정 변경

    1. 파일 위치 ..Rhymix/modules/editor/skins/ckeditor/editor.html 2. 댓글 부분 > 약 183라인 // Define the simple toolbar. <!--@if($editor_toolbar === 'simple')--> settings.ckeconfig.toolbar = [ { name: 'styles', items: [ 'Font', 'FontSize', '-...
    Read More
  5. 19
    Aug 2021
    13:04

    Sketchbook5 댓글 부분 색상 지정

    ..Rhymix/modules/board/skins/sketchbook5/css/black.css 댓글 쓰기 영역 테두리, 배경 색 부분 .cmt_editor,.fdb_tag{border-color:#333;background:#131313}
    Read More
  6. 19
    Aug 2021
    12:46

    Sketchbook5 본문 제목 부분 CSS 변경

    ..Rhymix/modules/board/skins/sketchbook5/css/board.css 제목 테두리 유형, 글꼴에 영향을 끼침 /* Board Style */ .rd_hd .board .top_area{padding:11px;border-top:1px solid #CCC;border-bottom:1px solid #CCC;border-left:1px solid #CCC;border-right...
    Read More
  7. 19
    Aug 2021
    12:39

    Sketchbook5 댓글수 표시 영역 배경 색상

    ..Rhymix/modules/board/skins/sketchbook5/css/black.css .bd .bg_f_f9{background:#111 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXN...
    Read More
  8. 19
    Aug 2021
    12:31

    Sketchbook5 댓글 외곽 테두리 둥글게 만들기

    ..Rhymix/modules/board/skins/sketchbook5/css/board.css .cmt_editor{margin-bottom:32px;padding:12px 16px 20px;background:#FCFCFC;border:1px solid #DDD;border-bottom-color:#CCC;border-radius:8px;box-shadow:0 1px 3px -1px rgba(0,0,0,.1);*zoom:1}
    Read More
  9. 19
    Aug 2021
    12:18

    Sketchbook5 버튼 둥글둥글하게 만들기

    Sketchbook5 게시판 버튼 둥글게 만들기 xe/modules/board/skins/sketchbook5/css/board.css .bd_btn,.btn_img{display:inline-block;position:relative;height:28px;margin:0;padding:4px 20px;background:#F3F3F3 url(../img/ie/btn.png) repeat-x;backgroun...
    Read More
  10. 19
    Aug 2021
    12:03

    Sketchbook5 카테고리 테두리 둥글게 만들기

    .Rhymix/modules/board/skins/sketchbook5/css/black.css "border-radius:18px 3px 3px 18px;" 부분 추가 .bd_cnb{background:#333;border-color:#111;box-shadow:-1px 0 2px #000} ↓ .bd_cnb{background:#333;border-color:#111;box-shadow:-1px 0 2px #000;b...
    Read More
Board Pagination Prev 1 2 3 Next
/ 3