<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[TNF : Tatter Network Foundation forum - r1281 'ViewCommentListTitle' 이벤트 적용위치 문제]]></title>
	<link rel="self" href="http://forum.tattersite.com/ko/extern.php?action=feed&amp;tid=1519&amp;type=atom"/>
	<updated>2006-09-09T20:37:28Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.tattersite.com/ko/viewtopic.php?id=1519</id>
		<entry>
			<title type="html"><![CDATA[RSS 답글: r1281 'ViewCommentListTitle' 이벤트 적용위치 문제]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=8764#p8764"/>
			<content type="html"><![CDATA[<p>ㅡㅡ;; 죄송합니다. 흘려 들어서 그런 게 아니고... 이벤트 붙일 때 딴 생각을 했...</p>]]></content>
			<author>
				<name><![CDATA[graphittie]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=104</uri>
			</author>
			<updated>2006-09-09T20:37:28Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=8764#p8764</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: r1281 'ViewCommentListTitle' 이벤트 적용위치 문제]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=8760#p8760"/>
			<content type="html"><![CDATA[<p>넵 확인후 붙이겠습니다 <img src="http://forum.tattersite.com/ko/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></content>
			<author>
				<name><![CDATA[inureyes]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=2</uri>
			</author>
			<updated>2006-09-09T13:45:41Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=8760#p8760</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[r1281 'ViewCommentListTitle' 이벤트 적용위치 문제]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=8740#p8740"/>
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jparker]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=10</uri>
			</author>
			<updated>2006-09-08T14:47:28Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=8740#p8740</id>
		</entry>
</feed>
