태그(꼬리표)위젯을 사용중입니다.


기본스킨으로하면너무 멋이없어서 스킨을 사용하였더니

기본스킨일때는 해당태그를 클릭하면 검색이 됩니다.

하지만 스킨사용시에 해당태그를 클릭하면 메인페이지로 가집니다...

스킨


<!--%import("js/swfobject.js")-->


<!--@if($colorset=='red')-->

    {@$tcolor='0xFF0000';}

    {@$tcolor2='0x333333';}

<!--@else if($colorset=='blue')-->

    {@$tcolor='0x5391d0';}

    {@$tcolor2='0x333333';}

<!--@else if($colorset=='white')-->

    {@$tcolor='0xEBEBEB';}

    {@$tcolor2='0x333333';}

<!--@else-->

    {@$tcolor='0x626262';}

    {@$tcolor2='0x333333';}

<!--@end-->


{@$soname = 'tag_' . rand(0,9999999);}

<div id="div_{$soname}"><p style="display:none">


<!--@foreach($widget_info->tag_list as $val)-->

        <li class="level{$val->rank}">

<!--@if($widget_info->mid)-->

     <a href="{getUrl('','mid',$widget_info->mid,'search_target','tag','search_keyword',$val->tag, 'act', 'IS')}">{htmlspecialchars($val->tag)}</a>

<!--@else-->

  

<!--@if($layout_info->mid)-->

         <a href="{getUrl('','mid',$mid,'search_target','tag','search_keyword',$val->tag, 'act', 'IS')}">{htmlspecialchars($val->tag)}</a>

    <!--@else-->

<a href="{getUrl('act','IS','where','document','search_target','tag','is_keyword',$val->tag)}">{htmlspecialchars($val->tag)}</a>

    <!--@end-->

</li>

<!--@end--></p>

<script type="text/javascript">


displayMultimedia("{$request_uri}/widgets/tag_list/skins/treasurej_tagcloud/img/tagcloud.swf", "100%", "100%", 

{

flashvars : "tcolor={$tcolor}&tcolor2={$tcolor2}&hicolor={$tcolor}&tspeed=100&distr=true&mode=tags&tagcloud={@print urlencode('<tags>')}<!--@foreach($widget_info->tag_list as $val)--><!--@if($widget_info->mid)-->{@print urlencode('<a title="5 topics" rel="tag" style="font-size: 14px;" href="'. getUrl('','mid',$widget_info->mid,'search_target','tag','search_keyword',$val->tag, 'act', 'IS'). '">'. $val->tag .'</a>');}<!--@else--><!--@if($layout_info->mid)-->{@print urlencode('<a title="8 topics" rel="tag" style="font-size: 12px;" href="'. getUrl('','mid',$layout_info->mid,'search_target','tag','search_keyword',$val->tag, 'act', 'IS') . '">'. $val->tag . '</a>');}<!--@else-->{@print urlencode('<a title="8 topics" rel="tag" style="font-size: 16px;" href="' . getUrl('act','IS','where','document','search_target','tag','is_keyword',$val->tag) . '">' . $val->tag . '</a>');}<!--@end--><!--@end--><!--@end-->{@print urlencode('</tags>');}"

});

</script>

</div>



기본


<!--@if($colorset == "black" || $colorset == "white")-->

    <!--%import("./css/widget.css")-->

<!--@end-->


<div class="widgetContainer<!--@if($colorset=="black")--> black<!--@end-->">

    <ul class="widgetTagCloud">

        <!--@foreach($widget_info->tag_list as $val)-->

        <li class="level{$val->rank}">

            <!--@if($widget_info->mid)-->

                <a href="{getUrl('','mid',$widget_info->mid,'search_target','tag','search_keyword',$val->tag)}">{htmlspecialchars($val->tag)}</a>

            <!--@else-->

                <a href="{getUrl('act','IS','where','document','search_target','tag','is_keyword',$val->tag)}">{htmlspecialchars($val->tag)}</a>

            <!--@end-->

        </li>

        <!--@end-->

    </ul>

</div>




두 차이점은 뒤에&act=IS&where=document&is_keyword=%EC%8B%9C%EB%85%B8%EC%9E%90%ED%82%A4가 붙었다는 점입니다...