<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TNF : Tatter Network Foundation forum - r1281 'ViewCommentListTitle' 이벤트 적용위치 문제]]></title>
		<link>http://forum.tattersite.com/ko/viewtopic.php?id=1519</link>
		<description><![CDATA[r1281 'ViewCommentListTitle' 이벤트 적용위치 문제 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Sat, 09 Sep 2006 20:37:28 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: r1281 'ViewCommentListTitle' 이벤트 적용위치 문제]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=8764#p8764</link>
			<description><![CDATA[<p>ㅡㅡ;; 죄송합니다. 흘려 들어서 그런 게 아니고... 이벤트 붙일 때 딴 생각을 했...</p>]]></description>
			<author><![CDATA[null@example.com (graphittie)]]></author>
			<pubDate>Sat, 09 Sep 2006 20:37:28 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=8764#p8764</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: r1281 'ViewCommentListTitle' 이벤트 적용위치 문제]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=8760#p8760</link>
			<description><![CDATA[<p>넵 확인후 붙이겠습니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (inureyes)]]></author>
			<pubDate>Sat, 09 Sep 2006 13:45:41 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=8760#p8760</guid>
		</item>
		<item>
			<title><![CDATA[r1281 'ViewCommentListTitle' 이벤트 적용위치 문제]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=8740#p8740</link>
			<description><![CDATA[<p><strong>&#039;ViewCommentListTitle&#039;</strong> 이벤트가 추가되었는데 현재 위치가 댓글 &#039;rplist_conform&#039;에 위치하여 있는데<br />저번에 말씀드린 이벤트는 &#039;rplist_rep_body&#039;에 붙혀야 하는 것으로 말씀드린 사항입니다. <br />&#039;list_conform&#039;에도 이벤트가 붙었으니 &#039;rplist_conform&#039;에도 붙어도 괜찮겠네요. 추가로 &#039;rplist_rep_body&#039;에도 이벤트를<br />주셨으면 합니다. <strong>&#039;ViewCommentListBody&#039;</strong>로 하면 될것 같습니다. 사용스킨에 따라 검색시 댓글 body 목록의 길이제한이<br />70으로 되어있는데 스킨폭이 작을경우 깨지는 경우가 있어 &#039;rplist_conform&#039;이벤트도 필요하다고 말씀드린 것입니다.<br /><span class="bbu">&#039;rplist_conform&#039;이벤트의 경우는 길이제한없는&nbsp; $mother값</span>을 주어 활용하면 될것 같습니다.<br />아래 정리를 해봤습니다. </p><p><strong>- 수정 희망 코드</strong><br /></p><div class="quotebox"><blockquote><p>&lt;?php <br />$commentListView = $skin-&gt;commentList;<br />$itemsView = &#039;&#039;;<br />foreach ($commentList[&#039;items&#039;] as $item) {<br />&nbsp; &nbsp; $itemView = $skin-&gt;commentListItem;<br />&nbsp; &nbsp; dress(&#039;rplist_rep_regdate&#039;, fireEvent(&#039;ViewCommentListDate&#039;, Timestamp::format3($item[&#039;written&#039;])), $itemView);<br />&nbsp; &nbsp; dress(&#039;rplist_rep_link&#039;, &quot;$blogURL/{$item[&#039;entry&#039;]}#comment{$item[&#039;id&#039;]}&quot;, $itemView);<br />&nbsp; &nbsp; dress(&#039;rplist_rep_name&#039;, htmlspecialchars($item[&#039;name&#039;]), $itemView);<br />&nbsp; &nbsp; dress(&#039;rplist_rep_body&#039;, htmlspecialchars(<span class="bbu"><strong>fireEvent(&#039;ViewCommentListBody&#039;, UTF8::lessenAsEm($item[&#039;comment&#039;], 70), $item[&#039;comment&#039;])</strong></span>), $itemView);<br />&nbsp; &nbsp; $itemsView .= $itemView;<br />}<br />dress(&#039;rplist_rep&#039;, $itemsView, $commentListView);<br />dress(&#039;rplist_conform&#039;, htmlspecialchars(fireEvent(&#039;ViewCommentListTitle&#039;, $commentList[&#039;title&#039;])), $commentListView);<br />dress(&#039;rplist_count&#039;, count($commentList[&#039;items&#039;]), $commentListView);<br />dress(&#039;rplist&#039;, $commentListView, $view);<br />?&gt;</p></blockquote></div>]]></description>
			<author><![CDATA[null@example.com (jparker)]]></author>
			<pubDate>Fri, 08 Sep 2006 14:47:28 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=8740#p8740</guid>
		</item>
	</channel>
</rss>
