Thanks Mark,<br><br>I've fixed it. :)<br><br>Regards,<br> Ahmad<br><br><div class="gmail_quote">On Jan 29, 2008 11:59 AM, Mark Wu <<a href="mailto:markplace@gmail.com">markplace@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">Hi Ahmad:</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">It looks pretty nice. But, there still some issues, most of
them are "url" issue.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">It only works in native url, but not other
(mod_rewtire, custom, pretty) url.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">1. in newpoll.template</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">The javascript including should change to
</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"><script type="text/javascript"
src="{$url->getUrl("/1.2/plugins/crystalpoll/js/choices.js")}"></script>
</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">2. in plugincrystalpoll.class.php, the javascript including
should change to </font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"> function
getHtmlPoll()<br> {<br> $rg
= $this->blogInfo->getBlogRequestGenerator();<br> echo
'<br> <div
id="crystalPoll"></div><br> <script
type="text/javascript">var
pollBaseUrl="'.$rg->getBaseUrl().'";</script><br> <script
type="text/javascript"
src="'.$rg->getUrl('/plugins/crystalpoll/js/crystalPollAjax.js').'"></script><br> <script
type="text/javascript">readPollAjax();</script><br>
';<br> }</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">3. in crystalPollAjax.js , the javascript
including should change to </font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">xmlHttp.open("GET", pollBaseUrl +
"/index.php?op=xxxx.......", true);</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">Then, this plugin should works for all url
mode.</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2">Mark</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="新細明體" size="2"></font></span> </div><br>
<blockquote style="border-left: 2px solid rgb(0, 0, 255); padding-left: 5px; margin-left: 5px; margin-right: 0px;">
<div dir="ltr" align="left" lang="zh-tw">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:plog-svn-bounces@devel.lifetype.net" target="_blank">plog-svn-bounces@devel.lifetype.net</a>
[mailto:<a href="mailto:plog-svn-bounces@devel.lifetype.net" target="_blank">plog-svn-bounces@devel.lifetype.net</a>] <b>On Behalf Of </b>Ahmad
Saleh<br><b>Sent:</b> Tuesday, January 29, 2008 5:13 PM<br><b>To:</b> LifeType
Developer List<br><b>Subject:</b> [pLog-svn] New Plugin [Crystal
Poll]<br></font><br></div><div><div></div><div class="Wj3C7c">
<div></div>Hi guys<br><br>I've finished the new poll plugin, and fixed the
dynamic plugins issue by using Ajax.<br><br>Cheers,<br>
Ahmad<br clear="all"><br>-- <br>Ahmad Fathi Saleh<br><a href="http://ahmad.jopdc.com" target="_blank">http://ahmad.jopdc.com</a>
</div></div></blockquote></div>
<br>_______________________________________________<br>pLog-svn mailing list<br><a href="mailto:pLog-svn@devel.lifetype.net">pLog-svn@devel.lifetype.net</a><br><a href="http://limedaley.com/mailman/listinfo/plog-svn" target="_blank">http://limedaley.com/mailman/listinfo/plog-svn</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Ahmad Fathi Saleh<br><a href="http://ahmad.jopdc.com">http://ahmad.jopdc.com</a>