<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
	<channel>
				<title><![CDATA[리스트 여러번 출력]]></title>
		<link>https://www.cosmosfarm.com/threads/rss/document/62035</link>
		<description><![CDATA[<p><strong>안녕하세요,</strong></p>

<p><strong>list.php에서 리스트를 여러번 출력하려면 어떻게 해야하는지 알 수 있을까요?</strong><br />
 </p>

<p><strong>아래 처럼 while문이 리스트를 출력하는 부분 같아서 밑에 한번 더 입력해봤는데 출력이 안됩니다.</strong><br />
 </p>

<pre>
<code class="language-php">&lt;?php while($content = $list-&gt;hasNext()):?&gt;
 ~
&lt;?php endwhile?&gt;

&lt;?php while($content = $list-&gt;hasNext()):?&gt;
 ~
&lt;?php endwhile?&gt;</code></pre>

<pre>

 </pre>

<p> </p>

<p> </p>]]></description>
		<copyright>Copyright 2026, 코스모스팜</copyright>
				<item>
			<title><![CDATA[KBContentList 클래스를 사용하여

리스트를 재정의 하실 수 있습니다.

 

아래 링크를 참고하여 적용...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/62091</link>
			<description><![CDATA[<p>KBContentList 클래스를 사용하여</p>

<p>리스트를 재정의 하실 수 있습니다.</p>

<p> </p>

<p>아래 링크를 참고하여 적용해보시겠어요?</p>

<p><a href="https://www.cosmosfarm.com/threads/document/59952" target="_blank">https://www.cosmosfarm.com/threads/document/59952</a></p>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Mon, 21 Nov 2022 00:53:19 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[동일한 게시글 리스트에 대해 리스트 아이템 li를 4개,3,2개 마다 별도의 div로 묶은 리스트를 만들려합...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/62047</link>
			<description><![CDATA[<p>동일한 게시글 리스트에 대해 리스트 아이템 li를 4개,3,2개 마다 별도의 div로 묶은 리스트를 만들려합니다.</p>

<p>게시글을 불러오는 while 문을 그대로 하나 더 붙여넣어서 해당 while문을 편집하면 만들 수 있을 것 같은데,</p>

<p>하나 더 붙여 넣으니 게시글을 안가져오고 작동을 안하더군요. </p>

<p>게시판에 8개의 글이 있다고 가정하고, 출력하고 싶은 모습은 아래와 같습니다.</p>

<pre>
<code class="language-php">

&lt;div class="item4"&gt;
  &lt;li class="kboard-list-item"&gt;1번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;2번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;3번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;4번글&lt;/li&gt;
&lt;/div&gt; 
&lt;div class="item4"&gt;
  &lt;li class="kboard-list-item"&gt;5번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;6번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;7번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;8번글&lt;/li&gt;
&lt;/div&gt; 




&lt;div class="item3"&gt;
  &lt;li class="kboard-list-item"&gt;1번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;2번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;3번글&lt;/li&gt;
&lt;/div&gt;
&lt;div class="item3"&gt;
  &lt;li class="kboard-list-item"&gt;4번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;5번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;6번글&lt;/li&gt;
&lt;/div&gt;
&lt;div class="item3"&gt;
  &lt;li class="kboard-list-item"&gt;7번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;8번글&lt;/li&gt;
&lt;/div&gt;



&lt;div class="item2"&gt;
  &lt;li class="kboard-list-item"&gt;1번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;2번글&lt;/li&gt;
&lt;/div&gt;
&lt;div class="item2"&gt;
  &lt;li class="kboard-list-item"&gt;3번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;4번글&lt;/li&gt;
&lt;/div&gt;
&lt;div class="item2"&gt;
  &lt;li class="kboard-list-item"&gt;5번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;6번글&lt;/li&gt;
&lt;/div&gt;
&lt;div class="item2"&gt;
  &lt;li class="kboard-list-item"&gt;7번글&lt;/li&gt;
  &lt;li class="kboard-list-item"&gt;8번글&lt;/li&gt;
&lt;/div&gt;</code></pre>

<p> </p>]]></description>
			<author>스튜</author>
			<pubDate>Tue, 15 Nov 2022 09:02:04 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[완전히 동일한 리스트를 같은 페이지에 여러번 출력하는 것입니다.

기존에

게시물 1, 2, 3, 4, 5 이렇...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/62045</link>
			<description><![CDATA[<p>완전히 동일한 리스트를 같은 페이지에 여러번 출력하는 것입니다.</p>

<p>기존에</p>

<p>게시물 1, 2, 3, 4, 5 이렇게 게시물이 나왔다면</p>

<p> </p>

<p>게시물 1, 2, 3, 4, 5</p>

<p>게시물 1, 2, 3, 4, 5</p>

<p>게시물 1, 2, 3, 4, 5</p>

<p>이렇게 동일한 게시물 리스트를 여러번 불러오는 방법을 찾고있습니다.</p>

<p><br />
list.php에서 while문을 통해서 게시글을 불러오는 것으로 보이는데 ,</p>

<p>그 while문을 똑같이 복제해서 여러번 붙여 넣어도 게시물 리스트가 여러개 표시되지는 않았습니다.</p>

<p>while문을 편집해서 조금씩 다르게 만들려고 하기 떄문에 숏코드를 두번 넣는 것보단 파일 내에서 처리하는 방법이 있는지 궁금합니다. </p>]]></description>
			<author>스튜</author>
			<pubDate>Tue, 15 Nov 2022 05:48:00 +0000</pubDate>
			<category>KBoard</category>
		</item>
				<item>
			<title><![CDATA[안녕하세요~^^

문의주신 내용으로만으로는

어떤 형태로 출력하고 싶으신지 파악하기 어렵습니다.

더 ...]]></title>
			<link>https://www.cosmosfarm.com/threads/document/62043</link>
			<description><![CDATA[<p>안녕하세요~^^</p>

<p>문의주신 내용으로만으로는</p>

<p>어떤 형태로 출력하고 싶으신지 파악하기 어렵습니다.</p>

<p>더 자세히 작성해주시겠어요?</p>

<p>고맙습니다.</p>]]></description>
			<author>스레드봇</author>
			<pubDate>Tue, 15 Nov 2022 05:20:34 +0000</pubDate>
			<category>KBoard</category>
		</item>
			</channel>
</rss>