
정상적이라면 www.xyz.co.nz/538 이렇게 나와야 하는데,
첨부한 그림 하단에 보이듯이 www.xyz.co.nz/538#11 이런식으로 표시되네요..
이걸 어떻게 고칠 수 있을까요?
아래는 현재 사용중인 컨텐츠 위젯에 gallery.html 내용입니다.
<!--// 공지 출력 -->
<div class="widgetGalleryMain"> <!--style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;"-->
<div loop="$widget_info->content_items=>$key,$item" cond="$item->get('is_notice')=='Y'" class="main_image"> <!--style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;"-->
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
<!--@if($v=='thumbnail')-->
<a href="{$item->getLink()}" class="thumb" style="height:370px" target="_blank"|cond="$widget_info->new_window">
<!--@if($item->getThumbnail())-->
{@
$oDocumentModel = &getModel('document');
$document = $oDocumentModel->getDocument($item->get('document_srl'));
}
<block loop="$document->getUploadedFiles()=>$file" cond="$file->cover_image=='Y'">
<div class="overlay"></div>
<img src="{$file->uploaded_filename}" style="height:auto"/>
</block>
<!--@else-->
<span class="imgNone">{$lang->none_image}</span>
<!--@end-->
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
<strong class="category">{$item->getCategory()}</strong>
<!--@end-->
</a>
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
<div class="board">
<!--div class="board_name">{$item->getBrowserTitle()}</div-->
<div class="title">{$item->getTitle($widget_info->subject_cut_size)}</div>
<div class="subtitle">{$item->getExtraEidValue("shop_subtitle")}</div>
<div class="button">더보기</div>
</div>
<!--@end-->
<!--@end-->
<!--@end-->
</div>
</div>
<!--// 일반 목록 출력 -->
<div class="widgetGalleryA"> <!--style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;"-->
{@$_idx=0}
<!--@foreach($widget_info->content_items as $key => $item)-->
<div class="feature" cond="$item->get('is_notice')=='N'"<!--@if($_idx>0 && $_idx % $widget_info->cols_list_count==0)--> class="clearLeft"<!--@end--> style="<!--@if($_idx >= $widget_info->list_count)-->display:none;<!--@end-->width:{$widget_info->thumbnail_width}px;">
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
<!--@if($v=='thumbnail')-->
<div><a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" target="_blank"|cond="$widget_info->new_window">
<!--@if($item->getThumbnail())-->
<div class="overlay"></div>
<img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"/>
<!--@else-->
<span class="imgNone">{$lang->none_image}</span>
<!--@end-->
</a></div>
<div class="feature-text">
<div class="board_name"><a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->" class="board" target="_blank"|cond="$widget_info->new_window">{$item->getBrowserTitle()}</a></div>
<div class="title"><a href="{$item->getLink()}" class="title" target="_blank"|cond="$widget_info->new_window">{$item->getTitle($widget_info->subject_cut_size)}</a></div>
<div class="replyNum" title="Replies"><!--@if($item->getCommentCount())--><a href="{$item->getLink()}#comment">댓글 {$item->getCommentCount()}개</a><!--@else-->댓글 0개<!--@end--></div>
</div>
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
<div class="category">{$item->getCategory()}</div>
<!--@end-->
<!--@end-->
<!--@end-->
</div>
{@$_idx++}
<!--@end-->
</div>
<!--// 페이지 넘김 -->
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
<ul class="widgetNavigator">
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
<li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
</ul>
<!--@end-->
<div class="widgetGalleryMain"> <!--style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;"-->
<div loop="$widget_info->content_items=>$key,$item" cond="$item->get('is_notice')=='Y'" class="main_image"> <!--style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;"-->
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
<!--@if($v=='thumbnail')-->
<a href="{$item->getLink()}" class="thumb" style="height:370px" target="_blank"|cond="$widget_info->new_window">
<!--@if($item->getThumbnail())-->
{@
$oDocumentModel = &getModel('document');
$document = $oDocumentModel->getDocument($item->get('document_srl'));
}
<block loop="$document->getUploadedFiles()=>$file" cond="$file->cover_image=='Y'">
<div class="overlay"></div>
<img src="{$file->uploaded_filename}" style="height:auto"/>
</block>
<!--@else-->
<span class="imgNone">{$lang->none_image}</span>
<!--@end-->
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
<strong class="category">{$item->getCategory()}</strong>
<!--@end-->
</a>
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
<div class="board">
<!--div class="board_name">{$item->getBrowserTitle()}</div-->
<div class="title">{$item->getTitle($widget_info->subject_cut_size)}</div>
<div class="subtitle">{$item->getExtraEidValue("shop_subtitle")}</div>
<div class="button">더보기</div>
</div>
<!--@end-->
<!--@end-->
<!--@end-->
</div>
</div>
<!--// 일반 목록 출력 -->
<div class="widgetGalleryA"> <!--style="width:{$widget_info->cols_list_count*($widget_info->thumbnail_width+28)}px;"-->
{@$_idx=0}
<!--@foreach($widget_info->content_items as $key => $item)-->
<div class="feature" cond="$item->get('is_notice')=='N'"<!--@if($_idx>0 && $_idx % $widget_info->cols_list_count==0)--> class="clearLeft"<!--@end--> style="<!--@if($_idx >= $widget_info->list_count)-->display:none;<!--@end-->width:{$widget_info->thumbnail_width}px;">
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
<!--@if($v=='thumbnail')-->
<div><a href="{$item->getLink()}" class="thumb" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px" target="_blank"|cond="$widget_info->new_window">
<!--@if($item->getThumbnail())-->
<div class="overlay"></div>
<img src="{$item->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"/>
<!--@else-->
<span class="imgNone">{$lang->none_image}</span>
<!--@end-->
</a></div>
<div class="feature-text">
<div class="board_name"><a href="<!--@if($item->contents_link)-->{$item->contents_link}<!--@else-->{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}<!--@end-->" class="board" target="_blank"|cond="$widget_info->new_window">{$item->getBrowserTitle()}</a></div>
<div class="title"><a href="{$item->getLink()}" class="title" target="_blank"|cond="$widget_info->new_window">{$item->getTitle($widget_info->subject_cut_size)}</a></div>
<div class="replyNum" title="Replies"><!--@if($item->getCommentCount())--><a href="{$item->getLink()}#comment">댓글 {$item->getCommentCount()}개</a><!--@else-->댓글 0개<!--@end--></div>
</div>
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
<div class="category">{$item->getCategory()}</div>
<!--@end-->
<!--@end-->
<!--@end-->
</div>
{@$_idx++}
<!--@end-->
</div>
<!--// 페이지 넘김 -->
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
<ul class="widgetNavigator">
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
<li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('ul.widgetGalleryA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
</ul>
<!--@end-->
댓글 4
스킨 상에 문제는 없어보이는데요.
저도 잘 모르지만, 혹시 content.class.php 파일에 문제가 있는 거 아닐까요?
거기서 function getLink() 부분을 검색하면 그 아래에 return $this->get('url'); 이 보여야 하는데, 이게 잘못 되어 있을 수도 있습니다.
그래도 #번호가 붙는다면, 다른 어떤 애드온 때문일 수도 있을 것 같구요.
암튼 어딘가에서 링크 뒤에 #{$item->getCommentCount()}를 붙이고 있는 것 같습니다.