<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[TNF : Tatter Network Foundation forum - 플러그인을 만들다 보니 문제가 생겼는데..]]></title>
	<link rel="self" href="http://forum.tattersite.com/ko/extern.php?action=feed&amp;tid=3325&amp;type=atom"/>
	<updated>2007-06-26T02:32:09Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.tattersite.com/ko/viewtopic.php?id=3325</id>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 플러그인을 만들다 보니 문제가 생겼는데..]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=18804#p18804"/>
			<content type="html"><![CDATA[<p>그렇군요!! 울트라 에딧 쓰면서 non-bom이 뭔지 몰랐는데 이럴때 쓰는 거군요;;</p><p>J.Parker님 고맙습니다 &gt;_&lt;</p>]]></content>
			<author>
				<name><![CDATA[이시테아]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=312</uri>
			</author>
			<updated>2007-06-26T02:32:09Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=18804#p18804</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[RSS 답글: 플러그인을 만들다 보니 문제가 생겼는데..]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=18777#p18777"/>
			<content type="html"><![CDATA[<p>태터툴즈는 utf-8로 인코딩되어있는데 이것을 메모장으로 수정 저장하게 되면 페이지 맨 앞에 BOM(Byte Order Mark)가 생겨버려 스킨이나 플러그인들이 깨지는 경우가 발생합니다. 에디트플러스나 기타 BOM가 없는 UTF-8지원되는 에디터를 사용하셔야 수정 저장해보시면 해결되실것 같습니다.</p>]]></content>
			<author>
				<name><![CDATA[jparker]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=10</uri>
			</author>
			<updated>2007-06-25T00:55:03Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=18777#p18777</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[플러그인을 만들다 보니 문제가 생겼는데..]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=18762#p18762"/>
			<content type="html"><![CDATA[<p>플러그인을 만들다 보니 몇가지 문제가 생겨서 도움을 요청합니다.</p><p>첫번째 플러그인</p><div class="codebox"><pre><code>&lt;listener event=&quot;ViewPostContent&quot;&gt;AddContentIndex&lt;/listener&gt;

&lt;?
function AddContentIndex($target, $mother) {

    $target = preg_replace(&quot;/\(Index:(.*?)\|(.*?)\)/i&quot;, &quot;&lt;Index id=$1 /&gt;&lt;B&gt;$2&lt;/B&gt;&quot;, $target);
    $target = preg_replace(&quot;/\(Index:(.*?)\)/i&quot;, &quot;&lt;Index id=$1 /&gt;$1&quot;, $target);
    
    return $target;
}
?&gt;</code></pre></div><p>두번째 플러그인</p><div class="codebox"><pre><code>&lt;sidebar name=&quot;Hosting Land Advertise&quot; handler=&quot;HLAdvertise&quot; /&gt;

&lt;?
function HLAdvertise(){
    
    global $configVal;
    requireComponent(&#039;Tattertools.Function.misc&#039;);
    $DataHLAD = misc::fetchConfigVal($configVal);

    $HLAd =(&#039;
    &lt;!-- Advertise --&gt;
    &lt;div class=&quot;side_top&quot; onclick=&quot;clickshow(10)&quot;&gt;Advertise&lt;/div&gt;
    &lt;div class=&quot;side_mid&quot; id=&quot;block10&quot; style=&quot;display:block;&quot; align=&quot;center&quot;&gt;
        &lt;iframe 내용 생략&gt;&lt;/iframe&gt;
    &lt;/div&gt;
    &lt;div class=&quot;side_bot&quot;&gt; &lt;/div&gt;&#039;);

    return $HLAd;
}
?&gt;</code></pre></div><p>위의 두 플러그인 말고도 ♡차칸아이♡님의 팀블로그 프로필 플러그인과 제가 별도로 만든 링크에 이미지를 추가해주는 플러그인 이렇게 4개가지 중 어느 두개가 동시에 작동되면, IE7에서 화면이 깨지는 현상이 나타나네요.<br />+플러그인의 작동은 의도대로 합니다.</p><p>혹시 제가 위 두 플러그인을 만들면서 뭔가 잘 못된 것이 있기 때문이라면 알려주세요;;<br />정상적으로 출력되는 페이지 : <a href="http://autoitkorea.ft.co.kr/test/category">http://autoitkorea.ft.co.kr/test/category</a><br />정상적으로 출력되지 않는 페이지 : <a href="http://autoitkorea.ft.co.kr/test/">http://autoitkorea.ft.co.kr/test/</a></p><p>추가로 사이드바에 추가되는 플러그인의 경우, 추가할때는 이상이 없다가 제거할 때에</p><p>Warning: Cannot modify header information - headers already sent by (output started at /web/home/isitea/html/TatterTools/plugins/ft_ad/index.php:1) in /web/home/isitea/html/TatterTools/blog/owner/skin/sidebar/delete/index.php on line 1183</p><p>라는 오류가 발생하는데, 이는 무엇때문에 발생하는 문제인가요? ft_ad라는 플러그인은 위에 코드로 나온 두번째 플러그인입니다.</p>]]></content>
			<author>
				<name><![CDATA[이시테아]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=312</uri>
			</author>
			<updated>2007-06-24T06:49:45Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=18762#p18762</id>
		</entry>
</feed>
