<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[TNF : Tatter Network Foundation forum - 특정 카테고리의 글만 메인으로 뜨게 할 수 있나요.]]></title>
		<link>http://forum.tattersite.com/ko/viewtopic.php?id=4197</link>
		<description><![CDATA[특정 카테고리의 글만 메인으로 뜨게 할 수 있나요. 의 최근 RSS 글들.]]></description>
		<lastBuildDate>Wed, 26 Dec 2007 03:03:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[RSS 답글: 특정 카테고리의 글만 메인으로 뜨게 할 수 있나요.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=22921#p22921</link>
			<description><![CDATA[<p>답변을 보고&nbsp; 울트라에디트로 파일을 열어보았는데..</p><p>72번째에는 그런 내용은 없고, getEntriesWithPaging으로 검색해본 결과<br />---------------------------------------------------------------------------------------------<br />function getEntriesWithPaging($owner,$page,$count){<br />&nbsp; &nbsp; global $database;<br />&nbsp; &nbsp; $visibility=doesHaveOwnership()?&#039;&#039;:&#039;AND e.visibility &gt; 0 AND (c.visibility &gt; 1 OR e.category = 0)&#039;;<br />&nbsp; &nbsp; $sql=&quot;SELECT e.*, c.label categoryLabel <br />&nbsp; &nbsp; &nbsp; &nbsp; FROM {$database[&#039;prefix&#039;]}Entries e <br />&nbsp; &nbsp; &nbsp; &nbsp; LEFT JOIN {$database[&#039;prefix&#039;]}Categories c ON e.owner = c.owner AND e.category = c.id <br />&nbsp; &nbsp; &nbsp; &nbsp; WHERE e.owner = $owner AND e.draft = 0 $visibility AND e.category &gt;= 0 <br />&nbsp; &nbsp; &nbsp; &nbsp; ORDER BY e.published DESC&quot;;<br />&nbsp; &nbsp; return fetchWithPaging($sql,$page,$count);<br />---------------------------------------------------------------------------------------------<br />의 내용과<br />---------------------------------------------------------------------------------------------<br />list($entries,$paging)=getEntriesWithPaging($owner,$suri[&#039;page&#039;],$blog[&#039;entriesOnPage&#039;]);<br />---------------------------------------------------------------------------------------------<br />이렇게 두개가 검색이 됩니다...<br />아래쪽 것인거 같아 수정을 해보았지만 페이지 자체가 뜨질 않습니다. </p><p>카테고리 아이디를 잘못 입력... 한거 같기도 한데...<br /><a href="http://cyaber.byus.net/tt/owner/entry/category/?&amp;id=1&amp;entries=15&amp;priority=1&amp;name1=%EB%8B%A4%EC%9D%B4%EC%96%B4%EB%A6%AC">http://cyaber.byus.net/tt/owner/entry/c … 4%EB%A6%AC</a><br />의 주소에서 아이디를 1 로 봐야하나요?</p>]]></description>
			<author><![CDATA[null@example.com (장미강탈자)]]></author>
			<pubDate>Wed, 26 Dec 2007 03:03:13 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=22921#p22921</guid>
		</item>
		<item>
			<title><![CDATA[RSS 답글: 특정 카테고리의 글만 메인으로 뜨게 할 수 있나요.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=22719#p22719</link>
			<description><![CDATA[<p>처음 화면에 올라오는 글의 카테고리를 제한하시려면 소스를 수정하는 방법과 표지 플러그인을 만드는 방법이 있겠습니다.</p><p>/blog/index.php의 약 72번째 줄에 getEntriesWithPaging이라는 함수를 통해서 처음 화면의 글을 불러오는데, 그 부분에서 getEntriesWithPagingByCategory를 사용하면 가능하겠네요.</p><p>getEntriesWithPagingByCategory($blogid, 카테고리 번호, $suri[&#039;page&#039;], $blog[&#039;entriesOnPage&#039;]);</p><p>로 바꾸면 될겁니다. 카테고리 번호는 카테고리 id를 확인하시면 됩니다. 관리자 모드의 글-카테고리 에서 원하는 카테고리를 찍었을 때, 주소창을 보면 id=숫자 가 나오는데, 그 숫자가 카테고리 번호입니다.</p>]]></description>
			<author><![CDATA[null@example.com (inureyes)]]></author>
			<pubDate>Thu, 20 Dec 2007 12:50:15 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=22719#p22719</guid>
		</item>
		<item>
			<title><![CDATA[특정 카테고리의 글만 메인으로 뜨게 할 수 있나요.]]></title>
			<link>http://forum.tattersite.com/ko/viewtopic.php?pid=22692#p22692</link>
			<description><![CDATA[<p>안녕하세요. </p><p>최근에.. 포스트에 글을 올리고 있는데.. <br />보통 가장 최근 포스트가 메인화면에 뜨는데..</p><p>이걸 특정 카테고리의 글만 뜨게끔 할 수 없을까요.<br /><a href="http://cyaber.byus.net/tt">http://cyaber.byus.net/tt</a></p>]]></description>
			<author><![CDATA[null@example.com (장미강탈자)]]></author>
			<pubDate>Wed, 19 Dec 2007 05:58:13 +0000</pubDate>
			<guid>http://forum.tattersite.com/ko/viewtopic.php?pid=22692#p22692</guid>
		</item>
	</channel>
</rss>
