[Tips] xe loop문, 템플릿 문법이 적용이 안될 때
2017.06.19 07:33
48
0
https://eond.com/390541

레이아웃을 만들다보면 XE의 템플릿 문법이 적용이 안되는 경우가 있습니다.

cond는 되는데 loop문은 안된다던가, 

이럴 때 테스트하는 방법입니다.

1. 레이아웃에 작성된 코드를 다 지우고 간단한 블럭 태그로 테스트를 해본다.

<block cond="$logged_info">로그인됨</block>

2. 모두 지우고 안되는 부분만 작성해본다.

이렇게 확인해본바 저의 경우는 다음 코드 때문에 안되더군요. 안되던 코드 삽입해봅니다.

<style>.uchat_wrap47445045_super {width:100px;height:550px;margin:0 !important;padding:0  !important;background:#ccc;overflow:hidden;}#uchat_wrap47445045, #uchat_wrap47445045 *, #uchat_wrap47445045 table, #uchat_wrap47445045 tr, #uchat_wrap47445045 td, #uchat_wrap47445045 input, #uchat_wrap47445045 label {width:auto;margin:0;padding:0;font-family:"Apple SD Gothic Neo","malgun gothic","nanumgothic"; font-size:12px; -ms-user-select:none; -moz-user-select:none; -webkit-user-select:none;font-size:12px;line-height:1.4;border:0;text-align:left;font-weight:normal;min-height:0;min-width:0;color:gray;}#uchat_wrap47445045 {width:98px;height:548px;position:relative; margin:1px;}#uchat_wrap47445045 .uchat_middle {background:#e1e1e1;height:499px;width:98px;overflow:hidden;}#uchat_wrap47445045 .uchat_middle:after{content:""; display:block; clear:both; height:0; visibility:hidden;}#uchat_wrap47445045 .uchat_middle .conversation_contents {word-wrap: break-word;background:white;overflow-y:scroll;-webkit-overflow-scrolling: touch;overflow-x:hidden;}#uchat_wrap47445045 .uchat_middle .conversation_contents .loading {padding:2px 0;font-size:12px;word-wrap:break-word;}#uchat_wrap47445045 .uchat_middle .conversation_contents .cs_contents {font-size:12px;}#uchat_wrap47445045 .uchat_middle .conversation_contents .conversation_nick {font-weight:bold;cursor:pointer;font-size:12px;line-height:1;}#uchat_wrap47445045 .uchat_middle .conversation_contents .user_conversation {padding:2px;font-size:12px;}#uchat_wrap47445045 .uchat_middle .conversation_contents .user_conversation span {}#uchat_wrap47445045 .uchat_middle .conversation_contents .user_conversation>span>img {max-width:100px; max-height:20px;}#uchat_wrap47445045 .uchat_middle .conversation_contents .user_conversation>img {max-width:25px; max-height:25px;vertical-align: middle;}#uchat_wrap47445045 .uchat_middle .conversation_contents .user_conversation span, #uchat_wrap47445045 .uchat_middle .conversation_contents .user_conversation img {}#uchat_wrap47445045 .uchat_middle .conversation_contents .notification {padding:2px 0;color:green;text-align:center;font-size:12px;}#uchat_wrap47445045 .uchat_middle .conversation_contents .system {padding:2px 0;color:red;margin:2px;text-align:left;font-size:12px;}#uchat_wrap47445045 .uchat_middle .conversation_contents .error {padding:2px 0;text-align:center;font-size:12px;}#uchat_wrap47445045 .uchat_middle .topbar {height: 38px;line-height:38px;overflow:hidden;padding:0 4px 0 14px;color:#535353;font-size:12px;font-weight:bold;border-bottom:1px solid #E4E8EC;background-color:#FFFFFF;}#uchat_wrap47445045 .uchat_middle .topbar .count {float:left;font-size:12pt;line-height:32px;overflow:hidden;height:32px}#uchat_wrap47445045 .uchat_middle .topbar a.setting_icon {float:right;width:18px;height:18px;background:url(../minitalk/skin/default/images/setting_icon.gif) no-repeat 0 0;cursor:pointer;margin:10px 13px 0 0;}#uchat_wrap47445045 .uchat_middle .topbar a:hover {border:0;text-decoration:none;}#uchat_wrap47445045 .uchat_middle .member_list {overflow-x:hidden; overflow-y:scroll;-webkit-overflow-scrolling: touch;background:white;}#uchat_wrap47445045 .uchat_middle .member_list .user {padding:2px;font-size:12px;white-space:nowrap;overflow:hidden;cursor:pointer;background:white;vertical-align: middle;}#uchat_wrap47445045 .uchat_middle .member_list .user>span>img {max-width:100px; max-height:20px;display:inline}#uchat_wrap47445045 .uchat_middle .member_list .user>img {max-width:25px; max-height:25px;display:inline}#uchat_wrap47445045 .uchat_middle .member_list .user span {height:12px;}#uchat_wrap47445045 .uchat_middle .member_list .user span, #uchat_wrap47445045 .uchat_middle .member_list .user img {vertical-align: middle;font-size:12px;}#uchat_wrap47445045 .uchat_middle .member_list .my_members, #uchat_wrap47445045 .uchat_middle .member_list .admin_members, #uchat_wrap47445045 .uchat_middle .member_list .is_members, #uchat_wrap47445045 .uchat_middle .member_list .no_members {font-size:0;line-height:0;}#uchat_wrap47445045 .user_menu_background {position:absolute;left:0px;top:0;width:98px;height:548px;background:#e1e1e1;z-index:1000;display:none;}#uchat_wrap47445045 .user_menu {padding:5px 3px;background:#fff;display:none;position:absolute;border:2px solid #a0dbc7;z-index:1100;}#uchat_wrap47445045 .user_menu .menu_list {padding:3px 0;font-size:12px;cursor:pointer;}#uchat_wrap47445045 .user_menu .menu_list .admin_login {width:112px;height:20px;}#uchat_wrap47445045 .user_menu .user_nick {background:#f5f5f5;font-size:12px;}#uchat_wrap47445045 .input { height:24px;width:98px;overflow:hidden;text-align:center;background:white;}#uchat_wrap47445045 .input .conversation {width:69px;height:20px;font-size:12px;ime-mode:active;}#uchat_wrap47445045 .none {float:left;font-size:0;line-height:0;width:0;height:0;overflow:hidden}#uchat_wrap47445045 .uchat_menu {background:url("http://cache.uchat.co.kr/uchat/img/menu_background.gif");width:98px;height:25px;overflow:hidden}#uchat_wrap47445045 .uchat_menu .uchat_s_logo {float:left;width:27px;height:25px;background:url("http://cache.uchat.co.kr/uchat/img/uchat_small.gif") 50% 50% no-repeat;}#uchat_wrap47445045 .uchat_menu .uchat_bold {float:left;width:16px;height:25px;background:url("http://cache.uchat.co.kr/uchat/img/text-bold-icon.gif") 0 50% no-repeat;cursor:pointer;}#uchat_wrap47445045 .uchat_menu .uchat_i {float:left;width:16px;height:25px;background:url("http://cache.uchat.co.kr/uchat/img/text-italic-icon.gif") 0 50% no-repeat;cursor:pointer;}#uchat_wrap47445045 .uchat_menu .uchat_underline {float:left;width:16px;height:25px;background:url("http://cache.uchat.co.kr/uchat/img/text-underline-icon.gif") 0 50% no-repeat;cursor:pointer;}#uchat_wrap47445045 .uchat_menu .uchat_text_color {float:left;width:16px;height:25px;background:black url("http://cache.uchat.co.kr/uchat/img/uchat_text_color.gif");cursor:pointer;}#uchat_wrap47445045 .uchat_menu .uchat_event_icon {float:right;width:20px;height:25px;background-repeat: no-repeat;background-position: center center; background-color: transparent;cursor:pointer}#uchat_wrap47445045 .uchat_menu .uchat_scroll {float:right;width:16px;height:25px;background:url("http://cache.uchat.co.kr/uchat/img/uchat_scroll.gif");cursor:pointer;}#uchat_wrap47445045 .uchat_color_wrap {width:112px;border:1px solid #ccc;position:absolute;background:#f2f2f2;display:none;}#uchat_wrap47445045 .uchat_color_wrap .uchat_color_title {text-align:center;width:112px;padding:7px 0;border-bottom:1px solid #ccc;font-size:12px;}#uchat_wrap47445045 .uchat_color_wrap .uchat_color_box {width:112px;border-top:1px solid #fff;}#uchat_wrap47445045 .uchat_color_wrap .uchat_color_box:after {display:block;clear:both;content:""}#uchat_wrap47445045 .uchat_color_wrap .uchat_color {float:left;cursor:pointer;width:14px;height:14px;font-size:0;line-height:0;}#uchat_wrap47445045 .uchat_setting_wrap {width:150px;overflow:hidden;border:2px solid #a0dbc7;position:absolute;display:none;background:#fff;z-index:1100;}#uchat_wrap47445045 .uchat_setting_wrap .top {border-bottom:1px solid #cecece;text-align:center;padding:5px 0;font-size:14px;}#uchat_wrap47445045 .uchat_setting_wrap .top span {height:12px;}#uchat_wrap47445045 .uchat_setting_wrap .content {border-top:1px solid #f7f7f7;padding:5px;}#uchat_wrap47445045 .uchat_setting_wrap .floor{margin-bottom:7px;}#uchat_wrap47445045 .uchat_setting_wrap .floor input.no_sound{width:12px;height:12px;border:0;}#uchat_wrap47445045 .uchat_nick { width: 100%;}#uchat_wrap47445045 .alert_btn_wrap {text-align:right;margin:0 5px 10px 0;}#uchat_wrap47445045 .alert_ok_btn { }#uchat_wrap47445045 .alert_cancel_btn { }#uchat_wrap47445045 .clear {clear:both; height:0; overflow:hidden;}#uchat_wrap47445045 .popup {background:#fff;display:none;position:absolute;border:2px solid #a0dbc7;z-index:1100; margin: 0px auto;}#uchat_wrap47445045 .popup_background {position:absolute;left:0px;top:0;width:98px;height:548px;background:#e1e1e1;z-index:1000;display:none; filter: alpha(opacity=40);-khtml-opacity: 0.4;-moz-opacity: 0.4;opacity: 0.4; }#uchat_wrap47445045 .input_border {border-top:1px solid #9a9a9a !important;border-left:1px solid #9a9a9a !important;border-right:1px solid #d8d8d8 !important;border-bottom:1px solid #d8d8d8 !important;}#uchat_wrap47445045 .btn_pack, #uchat_wrap47445045 .btn_pack *{display:inline-block;overflow:visible;position:relative;margin:0;padding:0;border:0;background:url(http://cache.uchat.co.kr/uchat/img/btn_pack.gif) no-repeat;font-size:12px;font-family:Tahoma, Sans-serif;color:#333;text-decoration:none !important;vertical-align:top;white-space:nowrap}#uchat_wrap47445045 .btn_pack{margin-right:4px}#uchat_wrap47445045 .btn_pack *{left:4px;cursor:pointer;_cursor:hand}#uchat_wrap47445045 .btn_pack.medium,#uchat_wrap47445045 .btn_pack.medium *{height:24px;line-height:24px}#uchat_wrap47445045 .btn_pack.medium{background-position:left 0}#uchat_wrap47445045 .btn_pack.medium *{padding:0 10px 0 6px;background-position:right top;font-size:12px}#uchat_wrap47445045 .btn_pack *:hover, #uchat_wrap47445045 .btn_pack *:active, #uchat_wrap47445045 .btn_pack *:focus{color:#690}#uchat_wrap47445045 .btn_pack.strong *{font-weight:bold !important}#uchat_wrap47445045 .btn_pack.small, #uchat_wrap47445045 .btn_pack.small *{height:19px;line-height:19px}#uchat_wrap47445045 .btn_pack.small{background-position:left -106px}#uchat_wrap47445045 .btn_pack.small *{padding:0 6px 0 2px;background-position:right -106px;font-size:11px}#uchat_wrap47445045 input {background:#fff;vertical-align:middle;height:20px;}#uchat_wrap47445045 .ad_spot {overflow:hidden; position: absolute; top: 24px; width: 100%; max-width: 300px; z-index: 1;}#uchat_wrap47445045 .Bnr_icon {overflow:hidden; border-top:2px solid #d7d7d7;}#uchat_wrap47445045 .tb_button {padding:1px;cursor:pointer;border-right: 1px solid #8b8b8b;border-left: 1px solid #FFF;border-bottom: 1px solid #fff;}#uchat_wrap47445045 .tb_button.hover {borer:2px outset #def; background-color: #f8f8f8 !important;}#uchat_wrap47445045 .ws_toolbar {z-index:100000}#uchat_wrap47445045 .ws_toolbar .ws_tb_btn {cursor:pointer;border:1px solid #555;padding:3px}#uchat_wrap47445045 .tb_highlight{background-color:yellow}#uchat_wrap47445045 .tb_hide {visibility:hidden}#uchat_wrap47445045 .ws_toolbar img {padding:2px;margin:0px}</style>
<style>#uchat_goodlin {width:98px;height:548px;position:relative;display:none;overflow:hidden;}#uchat_goodlin .uchat_middle .conversation_contents {width:100%;height:474px;}#uchat_goodlin .uchat_middle .member_list {width:100%;height:-1px;margin-bottom:1px;}</style>

이렇게 코드가 다닥다닥 붙어서 제대로 해석이 안되는 경우가 있는 것 같습니다.

라이믹스는 이온디와 함께

닫기

마이페이지

로그인을 해주세요

네이버로 로그인