Mango



Thread: Plugin Dev / Events Request

Created on: 05/12/08 10:15 AM

New topic Reply    Page: 1  

Replies: 2
Russell2566


Russell2566's Gravatar
Joined: 04/22/08
Posts: 24

05/12/08 10:15 AM

This weekend I whipped out a plugin for www.Sphere.com

http://www.empiregpservices.com/blog/post.cfm/new-mango-blog-plugin-sphere-com-module-plugin

I treat posts on the index page vs the post page completely different. Unless I'm missing something I did not see a flag that told me what "mode" I was currently in. This would be handy to have in the event. I ended up looking for post.cfm in the cgi.script_name which I'd prefer not to do.

Also, I found a couple errors while looking at my 404 log:

C:\WorkSpace\WebApps\EmpireGPServices.com\blog\admin\assets\wforms\campground.css
background-image: url(/images/tfa-greybracket.gif); should be
background-image: url(tfa-greybracket.gif);

C:\WorkSpace\WebApps\EmpireGPServices.com\blog\admin\layout.cfm
assets/editors/tinymce_3/tiny_mce_popup.js
should be
assets/editors/tinymce_3/jscripts/tiny_mce/tiny_mce_popup.js
Link | Top | Bottom
Russell2566


Russell2566's Gravatar
Joined: 04/22/08
Posts: 24

05/12/08 10:45 AM

I'm wrong on the tiny_mce_popup.js, it should just be commented out I believe?
Link | Top | Bottom
Laura

Wizard
Laura's Gravatar
Joined: 01/29/05
Posts: 1521

05/13/08 12:57 AM

Hi Russell,
You keep yourself busy ;)
I think you are right, I think I can remove the popup.js file. I wasn't not sure whether it is used by tiny or not, but since it is in the wrong location and everything is working fine, it must not be necessary.

Regarding the posts in index or other, I don't think I can easily do what you ask for, but I think I will have a different solution for that. That will be adding another event to the bottom of the posts. That event will probably only be added to the main post page (though that will be at the discretion of the theme creator), so it will solve your problem.
Link | Top | Bottom

New Post

Please login to post a response.