묻고답하기
v2 공식 레이아웃 편집시..
2009.08.23 14:40
사이트 좌측에 v1처럼 여러가지 위젯들 (시계, 최근게시글 출력, 최근덧글 출력 등) 넣고싶은데..
레이아웃 편집 시 각주 달린것이 아무것도 없으니 뭐가 어떻게 되는건지 하나도 모르겠네요.
여기저기 쑤셔넣어 봤는데 절대로 출력 안되는 것이었습니다.. ;;
<!--// import layout css file -->
<!--%import("./css/layout.css")-->
<!--%import("{@$_lang_code='en'}{@$layout_info->colorset='black'}{@Context::addBodyClass('gradBG'.$layout_info->colorset)}{@$layout_info->logo_url=getSiteUrl($site_module_info->domain)}{@$_menu_depth=1}selected">!--@if($val['selected'])-->selected<!--@end-->"><a href="{$val['href']}"<!--@if($val['open_window']=='Y'+
')--> onclick="window.open(this.href);return false;"<{@$_idx++}
<!--@if($_idx>=count($_colorset_list))-->{@$_idx=0}<!--@end-->
<!--@end-->
<!--@end-->
</ul>
<hr />
<form action="{getUrl()}" method="post" class="search">
<input type="hidden" name="vid" value="{$vid}" />
<input type="hidden" name="mid" value="{$mid}" />
<input type="hidden" name="act" value="IS" />
<input type="hidden" name="search_target" value="title_content" />
<fieldset>
<legend>{$lang->cmd_search}</legend>
<input name="is_keyword" type="text" title="Search" class="inputText" accesskey="S" />
<input name="" type="image" src="img/buttonSearch.gif" alt="Search" class="inputSearch" />
</fieldset>
</form>
</div>
<hr />
<div id="body">
<div id="content">
<!--@if($layout_info->title_main && ($layout_info->title_display!='main' || $_menu_depth==1))-->
<div class="contentHeader">
<div class="title">
<!--@if($layout_info->title_sub)--><h2>{$layout_info->title_sub}</h2><!--@end-->
<h3>{$layout_info->title_main}</h3>
</div>
<div class="summary">
<!--@if($layout_info->title_image)--><img src="{$layout_info->title_image}" class="thumb" alt="{htmlspecialchars($layout_info->title)}" /><!--@end-->
<div class="description">{$layout_info->title_description}</div>
</div>
</div>
<hr />
<!--@end-->
{$content}
</div>
<!--@if($layout_info->layout_type=='ce'+
')-->
<hr />
<div class="extension e1">
<div class="lnb">
<!--@if($layout_info->right_title)--><h2>{$layout_info->right_title}</h2><!--@end-->
<!--@if($category)-->
<!--@foreach($category as $key => $val)-->
<h3>{$val->title} ({$val->count})</h3>
<!--@if($val->childs)-->
<ul>
<!--@foreach($val->childs as $k => $v)-->
<li<!--@if($dir_srl==$v->project_dir_srl)--> class="active"<!--@end-->><a href="{getUrl('dir_srl', $v->project_dir_srl)}">{$v->title} ({$v->count})</a></li>
<!--@end-->
</ul>
<!--@end-->
<!--@end-->
<!--@else-->
<!--@foreach($main_menu->list as $key => $val)--><!--@if($val['link'])-->
<!--@if($val['selected']&&$val['list'])-->
<ul>
<!--@foreach($val['list'] as $k => $v)--><!--@if($val['link'])-->
<li <!--@if($v['selected'])-->class="active"<!--@end-->><a href="{$v['href']}" <!--@if($v['open_window']=='Y')-->onclick="window.open(this.href);return false;"<>{$val['text']}!--@end-->>{$val['text']}</a></h2>
<!--@if($val['list'+
'])-->
<ul>
<!--@foreach($val['list'] as $k => $v)-->
<!--@if($val['link'])-->
<li><a href="{$v['href']}"<!--@if($v['open_window']=='Y')--> onclick="window.open(this.href);return false;"<!--@end-->
<!--@end-->
</ul>
<!--@end-->
</div>
<!--@end-->
<!--@end-->
</div>
</div>
<hr />
<div id="footer">
<!--@if($rss_url)--><p class="rss"><a href="{$rss_url}">RSS</a></p><!--@end-->
<address>
Powered by <strong title="XpressEngine">XE</strong>
</address>
</div>
</div>
</div>
<!--@if(!$is_logged)-->
{@ $member_config = MemberModel::getMemberConfig(); }
<!--%import("./filter/login.xml")-->
<!--@if($member_config->enable_openid=='Y'+
')--><!--%import("./filter/openid_login.xml")--><!--@end-->
<!-- loginWindow -->
<div id="loginWindow" class="loginWindow">
<!-- class="loginWindow" | class="loginWindow open" -->
<span class="modalWindow"></span>
<div id="loginLayer" class="loginLayer loginTypeA">
<!-- class="loginLayer loginTypeA" | class="loginLayer loginTypeB" -->
<button type="button" class="close" onclick="document.getElementById('loginWindow').style.display='none'" accesskey="X"><span>Close Login Layer</span></button>
<form action="" method="post" class="typeA" id="commonLogin" onsubmit="return procFilter(this, login)">
<fieldset>
<legend>XE Login</legend>
<dl>
<dt><label for="uid">{$lang->user_id}</label></dt>
<dd><input name="user_id" type="text" class="inputText" id="uid" /></dd>
<dt><label for="upw">{$lang->password}</label></dt>
<dd><input name="password" type="password" class="inputText" id="upw" /></dd>
</dl>
<p class="keep"><input name="keep_signed" type="checkbox" id="keepA" value="Y" class="inputCheck" onclick="if(this.checked) return confirm('{$lang->about_keep_signed}');"/><label for="keepA">{$lang->keep_signed}</label></p>
<span class="loginButton"><input name="" type="submit" value="{$lang->cmd_login}" /></span>
</fieldset>
</form>
<!--@if($member_config->enable_openid=='+
'Y')-->
<form action="./" method="post" class="typeB" id="openidLogin" onsubmit="return procFilter(this, openid_login)">
<fieldset>
<legend>OpenID Login</legend>
<dl>
<dt><label for="oid">Open ID</label></dt>
<dd><input name="openid" type="text" class="inputText" id="oid" /></dd>
</dl>
<span class="loginButton"><input name="" type="submit" value="{$lang->cmd_login}" /></span>
</fieldset>
</form>
<!--@end-->
<ul class="help">
<li class="join"><a href="{getUrl('act','dispMemberSignUpForm')}">{$lang->cmd_signup}</a></li>
<li class="find"><a href="{getUrl('act','dispMemberFindAccount')}">{$lang->cmd_find_member_account}</a></li>
<li class="find"><a href="{getUrl('+
'act','dispMemberResendAuthMail')}">{$lang->cmd_resend_auth_mail}</a></li>
<!--@if($member_config->enable_openid=='Y')-->
<li class="typeA"><a href="#openidLogin" onclick="document.getElementById('loginLayer').className='loginLayer loginTypeB'">OpenID</a></li>
<li class="typeB"><a href="#commonLogin" onclick="document.getElementById('loginLayer').className='loginLayer loginTypeA'">OpenID</a></li>
<!--@end-->
</ul>
<button type="button" class="close" onclick="document.getElementById('loginWindow').style.display='none'" accesskey="X"><span>Close Login Layer</span></button>
</div>
</div>
<!-- /loginWindow -->
<!--@end-->
사이트 좌측에 위젯 집어넣으려면 어느곳에 코드를 넣어야하나요?
css로 좌측부분을 만들고 하셔야될걸요...