[pLog-svn] New Plugin [Crystal Poll]

Ahmad Saleh ahmadfds at gmail.com
Wed Jan 30 05:39:43 EST 2008


off course Mark.

but, can you inform me please after you put it there, to start writing a
page on the lifetype wiki.

Thanks a lot


On Jan 30, 2008 11:08 AM, Mark Wu <markplace at gmail.com> wrote:

>  Hi Ahmad:
>
> Thanks, :)
>
> Can I check it in to plugins repository?
>
>
> Mark
>
>  ------------------------------
> *From:* plog-svn-bounces at devel.lifetype.net [mailto:
> plog-svn-bounces at devel.lifetype.net] *On Behalf Of *Ahmad Saleh
> *Sent:* Tuesday, January 29, 2008 6:26 PM
> *To:* LifeType Developer List
> *Subject:* Re: [pLog-svn] New Plugin [Crystal Poll]
>
> Thanks Mark,
>
> I've fixed it. :)
>
> Regards,
>     Ahmad
>
> On Jan 29, 2008 11:59 AM, Mark Wu <markplace at gmail.com> wrote:
>
> >  Hi Ahmad:
> >
> > It looks pretty nice. But, there still some issues, most of them are
> > "url" issue.
> >
> > It only works in native url, but not other  (mod_rewtire, custom,
> > pretty)  url.
> >
> > 1. in newpoll.template
> >
> > The javascript including should change to
> >
> > <script type="text/javascript"
> > src="{$url->getUrl("/1.2/plugins/crystalpoll/js/choices.js")}"></script>
> >
> > 2. in plugincrystalpoll.class.php, the javascript including should
> > change to
> >
> >         function getHtmlPoll()
> >         {
> >   $rg = $this->blogInfo->getBlogRequestGenerator();
> >   echo '
> >    <div id="crystalPoll"></div>
> >    <script type="text/javascript">var
> > pollBaseUrl="'.$rg->getBaseUrl().'";</script>
> >    <script type="text/javascript"
> > src="'.$rg->getUrl('/plugins/crystalpoll/js/crystalPollAjax.js').'"></script>
> >    <script type="text/javascript">readPollAjax();</script>
> >        ';
> >         }
> >
> >
> > 3. in crystalPollAjax.js ,   the javascript including should change to
> >
> > xmlHttp.open("GET", pollBaseUrl + "/index.php?op=xxxx.......", true);
> >
> >
> > Then, this plugin should works for all url mode.
> >
> > Mark
> >
> >
> >
> >  ------------------------------
> > *From:* plog-svn-bounces at devel.lifetype.net [mailto:
> > plog-svn-bounces at devel.lifetype.net] *On Behalf Of *Ahmad Saleh
> > *Sent:* Tuesday, January 29, 2008 5:13 PM
> > *To:* LifeType Developer List
> > *Subject:* [pLog-svn] New Plugin [Crystal Poll]
> >
> >   Hi guys
> >
> > I've finished the new poll plugin, and fixed the dynamic plugins issue
> > by using Ajax.
> >
> > Cheers,
> >     Ahmad
> >
> > --
> > Ahmad Fathi Saleh
> > http://ahmad.jopdc.com
> >
> >
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://limedaley.com/mailman/listinfo/plog-svn
> >
>
>
>
> --
> Ahmad Fathi Saleh
> http://ahmad.jopdc.com
>
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://limedaley.com/mailman/listinfo/plog-svn
>



-- 
Ahmad Fathi Saleh
http://ahmad.jopdc.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://limedaley.com/pipermail/plog-svn/attachments/20080130/38649551/attachment.htm 


More information about the pLog-svn mailing list