[geeklog-devtalk] Dynamic Comments
Blaine Lang
geeklog at langfamily.ca
Sun Feb 6 13:43:06 EST 2005
Vinny wrote:
> The problem with that is if plugin is doing comments, then the image won't
> appear if the comments are loaded on the plugin's page
This was occuring in the story comments - have not got around to yet testing
with one of my plugins.
Since the image path is not in a template file - we can't use template
variable directly.
What about setting a JS variable via a template variable in the template
startcomment.thtml before doing the include of the dynamic.js.
That way it would be a global scope variable and the function
loadFragmentInToElement could use it.
Blaine
----- Original Message -----
From: "Vincent Furia" <vfuria at gmail.com>
To: <geeklog-devtalk at lists.geeklog.net>
Sent: Sunday, February 06, 2005 12:50 PM
Subject: Re: [geeklog-devtalk] Dynamic Comments
On Sun, 6 Feb 2005 12:33:15 -0500, Blaine Lang <geeklog at langfamily.ca>
wrote:
> Just doing a CVS install to check out the Dynamic comments.
>
> For my install - which was to a subdirectory, the image was not appearing
> for the "Loading..".
> I had to remove the '/' in the path.
>
> From dynamic.js
> element.innerHTML = '<img src="images/dynwait.gif"
> alt="Loading..."/>Loading ...';
>
The problem with that is if plugin is doing comments, then the image
won't appear if the comments are loaded on the plugin's page (i.e.
public_html/my_plugin/index.php)... I'm not sure what the best
solution to this is. Suggestions?
-Vinny
_______________________________________________
geeklog-devtalk mailing list
geeklog-devtalk at lists.geeklog.net
http://lists.geeklog.net/listinfo/geeklog-devtalk
More information about the geeklog-devtalk
mailing list