웹마스터 팁
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
레이아웃 관리자 페이지 html 에디터창 늘리기+줄이기
2010.08.25 14:20
레이아웃 관리자 페이지 html 에디터창 늘리기그냥 팁 정도입니다.별건 아니고..그냥 레이아웃 코딩하다보니 에디터 창 때문에 짜증나서.. 그냥 혼자 해본겁니다.
1>
제로보드 설치경로/common/lang/ko.lang.php
// 개인추가 단어
$lang->cmd_addto_2_line = '2줄+늘리기';
$lang->cmd_addto_10_line = '10줄+늘리기';
$lang->cmd_decrease_2_line = '2줄-줄이기';
$lang->cmd_decrease_10_line = '10줄-줄이기';
$lang->cmd_original_back_line = '원래대로';
추가시킵니다.
2>제로보드 설치경로/modules/layout/tpl/layout_edit.php
파일에서
찾아서아래와 같이 변경하시면 height:300%; 는 아래소스처럼 없애고
<span class="button black strong"><input type=button value={$lang->cmd_addto_2_line} onclick=code.rows+=2></span>
<span class="button black strong"><input type=button value={$lang->cmd_addto_10_line} onclick=code.rows+=10></span>
<span class="button"><input type=button value={$lang->cmd_decrease_2_line} onclick=code.rows-=2></span>
<span class="button"><input type=button value={$lang->cmd_decrease_10_line} onclick=code.rows-=10></span>
<span class="button red"><input type=button value={$lang->cmd_original_back_line} onclick=code.rows=30></span>
<br>추가했습니다.
그림처럼 나타납니다.
대충 보시면 아실거라 생각합니다....그냥 작업하다 귀찮아서 혼자 별것 아닌걸 한번 올려본니다.팁이니 너무 깊게 생각마시길 ^^
1>
제로보드 설치경로/common/lang/ko.lang.php
// 개인추가 단어
$lang->cmd_addto_2_line = '2줄+늘리기';
$lang->cmd_addto_10_line = '10줄+늘리기';
$lang->cmd_decrease_2_line = '2줄-줄이기';
$lang->cmd_decrease_10_line = '10줄-줄이기';
$lang->cmd_original_back_line = '원래대로';
추가시킵니다.
2>제로보드 설치경로/modules/layout/tpl/layout_edit.php
파일에서
<td> <textarea name="code" rows=30 style="width:100%;height:300%;font-size:11px;">{htmlspecialchars($layout_code)}</textarea> <!--@foreach($widget_list as $widget)--> <a href="{getUrl(','module','widget','act','dispWidgetGenerateCode','selected_widget',$widget->widget,'module_srl',$module_srl)}" onclick="popopen(this.href,'GenerateCodeInPage');return false;" class="button"><span>{$widget->title}</span></a> <!--@end--> </td>
찾아서아래와 같이 변경하시면 height:300%; 는 아래소스처럼 없애고
rows=30 을 넣고<td> <span class="button black strong"><input type=button value={$lang->cmd_addto_2_line} onclick=code.rows+=2></span> <span class="button black strong"><input type=button value={$lang->cmd_addto_10_line} onclick=code.rows+=10></span> <span class="button"><input type=button value={$lang->cmd_decrease_2_line} onclick=code.rows-=2></span> <span class="button"><input type=button value={$lang->cmd_decrease_10_line} onclick=code.rows-=10></span> <span class="button red"><input type=button value={$lang->cmd_original_back_line} onclick=code.rows=30></span> <br> <textarea name="code" rows=30 style="width:100%;font-size:11px;">{htmlspecialchars($layout_code)}</textarea> <!--@foreach($widget_list as $widget)--> <a href="{getUrl(','module','widget','act','dispWidgetGenerateCode','selected_widget',$widget->widget,'module_srl',$module_srl)}" onclick="popopen(this.href,'GenerateCodeInPage');return false;" class="button"><span>{$widget->title}</span></a> <!--@end--> </td>
<span class="button black strong"><input type=button value={$lang->cmd_addto_2_line} onclick=code.rows+=2></span>
<span class="button black strong"><input type=button value={$lang->cmd_addto_10_line} onclick=code.rows+=10></span>
<span class="button"><input type=button value={$lang->cmd_decrease_2_line} onclick=code.rows-=2></span>
<span class="button"><input type=button value={$lang->cmd_decrease_10_line} onclick=code.rows-=10></span>
<span class="button red"><input type=button value={$lang->cmd_original_back_line} onclick=code.rows=30></span>
<br>추가했습니다.
![011.jpg](https://xe1.xpressengine.com/files/attach/images/121/829/091/019/011.jpg)
그림처럼 나타납니다.
대충 보시면 아실거라 생각합니다....그냥 작업하다 귀찮아서 혼자 별것 아닌걸 한번 올려본니다.팁이니 너무 깊게 생각마시길 ^^
제목 | 글쓴이 | 날짜 |
---|---|---|
레이아웃설정에 언어팩추가하기
[8]
![]() | 팔공산 | 2010.09.16 |
새로운 회원가입 형식 - 이게 팁이 될 줄 모르겠네요. ^^ [20] | SeoSeungHyun | 2010.09.15 |
아무 에러 없이 로그인이 되지 않을 시 해결법 [1] | SMaker | 2010.09.13 |
폴더에 올린 mp3를 자동으로 podcast로 만들어주는 소스... ^^ [2] | 하얀마법 | 2010.09.11 |
저니님의 업 다운 퀵메뉴 적용하기
[4]
![]() | nabul2 | 2010.09.05 |
페이지에서 첨부파일 100% 에서 증발이 되면...? [6] | 우리아기 | 2010.09.04 |
초보자도 따라하는 XE로 홈페이지 만들기 강좌 포스트입니다. [2] | 놀라운넘 | 2010.08.27 |
플래시, 선택박스(??)가 로그인 박스 등을 튀어 나올 때
[4]
![]() | hhgyu | 2010.08.26 |
레이아웃 관리자 페이지 html 에디터창 늘리기+줄이기
[1]
![]() | 레드폭스 | 2010.08.25 |
Belarc Advisor - Free Personal PC Audit | 레미짱 | 2010.08.14 |
관리자에서 회원리스트(남성,여성리스트 분류해서 보기)
[5]
![]() | 늘푸른이 | 2010.08.13 |
게시판 본문페이지 닉네임 옆에 회원그룹명 사용
[4]
![]() | 늘푸른이 | 2010.08.13 |
무분별한 스팸글 등록으로부터 임시해결 팁
[15]
![]() | 라르게덴 | 2010.08.12 |
관리자페이지 회원목록을 일반페이지에서 사용하기
[5]
![]() | 늘푸른이 | 2010.08.07 |
게시판에 사전질문 넣기 특히 확장 변수 없는 지식in 게시판 - 초보자용
[3]
![]() | THEOTHERS | 2010.08.07 |
회원 정보 및 회원 리스트에 회원 성별 앞에 아이콘 넣기
[5]
![]() | 늘푸른이 | 2010.08.06 |
검정 배경 홈페이지용 회원 정보 스킨
![]() | LutZ | 2010.08.03 |
페이지 모듈 사용시 여백 관련한 팁! | sejin7940 | 2010.08.02 |
모바일 레이아웃 로그인페이지 개선방법 [4] | 스카이피아 | 2010.08.01 |
XE 용량 효과적으로 줄이기 [13] | 코스트렐리아 | 2010.07.30 |