plugins

How can the javascript plugin architecture in raphael/jquery be done?

I'm looking for a barebones javascript example that demonstrates how the javascript plugin architecture works with large javascript libraries (such as raphael or jquery). In either scenario, you build plugins by ensuring your custom plugin follows this pattern: jQuery.fn.pluginName -- so assume I have a library: myLibrary = (function() ...

Drupal views slideshow returning only one result

Views slideshow for Dupal is amazing … there are no other words for it. I have used it on a few projects with little to no issues at all. However, the current project that I am working on isn't going as smoothly. When the 'View style' is set to unformatted the preview returns the right amount of nodes but when slideshow is selected the ...

Installing sfJqueryTreeDoctrineManagerPlugin to Symfony 1.4

I have faced serious difficulties while installing sfJqueryTreeDoctrineManagerPlugin to Symfony 1.4 w/ Doctrine ORM. The installation directly from the server did not work out like with previous plugins that I have installed: C:\path>symfony plugin:install sfJqueryTreeDoctrineManagerPlugin plugin installing plugin "sfJqueryTreeD...

AppleScript to open URL in Safari crashes for Flash-based websites

I'm trying to open a URL in Safari. It works fine for websites without Flash embedded, but crashes Safari for Flash sites. Example (this WORKS): tell application "Safari" to open location "http://google.com" This CRASHES when Safari is not already running: tell application "Safari" to open location "http://grooveshark.com" Two thi...

How to retrieve the ID of the page the user is currently viewing in Wordpress sites?

I am developing a Wordpress plugin in which I am displaying the Archive based on Categories. Categories are my pages in my site and each Page should display post in the Archive belongs to that Category only. So i need to dynamically get the Category ID of the page the user is currently viewing.How can I retrieve it? ...

MEF's CompositionContainer.ComposeParts -- loading whatever can be resolved, and ignoring errors

The biggest problem I'm having so far with MEF is that when I compose parts in my plugin loader wrapper, loading completely bails when it finds an import resolution problem with one of the assemblies. Ideally, I'd like ComposeParts to exhibit some sort of "ignore and continue" behavior, because the ideal user experience would entail loa...

Problems including jar files outside the jar file containing the manifest

Basically let me first explain what I am aiming to do. I have a dynamic ETL transformer app written in JAVA. Due to the dynamic nature of this app I have to be able to add plugins jars to the app in a location outside of the apps jar file. Basically would like to have the following directory structure: AppFolder |- plugins/ |- configs/ ...

jquery javascript content filtering

I'm looking for a pre-made content/text filter plugin that checks (as the user types in a textbox) the typed words against a list of inappropriate words. I then want to provide some sort of alert box or flag notifying the user that this language is unacceptable... Again, I'm looking for the easy-way-out, an existing content filter pl...

Html.RenderPartial user control retaining input focus in FireFox 3.6

Using jQuery Lightweight RichTextEditor plugin. When I use a partial view (user control) on my page the textarea rendered retains input focus even though I'm explicitly setting focus on the page load (setting z-index doesn't work either): $(document).ready(function () { $("input:text:visible:first").focus(); }); In Vi...

embedd video conference plugin on a unix webserver / php built website

Now, I am really unsure how doable this is but we want to provide a platform for users to video-conference on our website - the software thus being installed on the webserver as perhaps a plug-in. We DO NOT want our users have to resort to 3rd party software (such as Skype) them selves. It needs to be a professional feel and us get all t...

Getting instance crashes on IntelliJ IDEA with scala plugin.

I am building a scala web project using scala test, lift, jpa, hibernate, mercurial plugin, etc. I am getting instant crashes, where the ide just bombs, the window shuts down, and it gives no error messages whatsoever when I am doing any amount of copy/pasting of code. This started happening once my project got to about 100 unit tests. ...

Does jQuery have a plugin to display a "message bar" like the Twitter "wrong password" bar at the top of screen?

Twitter will pop down a message bar at the top of the screen say "Wrong password" and after 10 seconds, it will slide up and disappear. Chrome also shows "Do you want to save the password" message box using such a way. Does jQuery have a plug in to do that already? Does it also work in IE 6? Because usually, the display of relative to...

Eclipse UML plugin?

I want a UML modelling tool, preferably as an eclipse plugin that can perform the following: model UML diagrams Generate stub java code from the diagrams Edited: The tool must be open source as I don't want to purchase it. ...

use custom border.

is there any way to use custom border by css or can make by JavaScript or jquery. i want to use a different style of border. like we use border-style:dashed; ...

Is MEF mature enough to bet the company on ?

My company needs to rewrite a large monolithic program, and I would want it written using a plugin type architecture. Currently the best solution appears to be MEF, but as it is a fairly 'new' thing I am warey of betting the future of my company (and my reputation) on it. Does anyone have a feeling on how mature a solution MEF is ? Th...

Plugin methods are missing in Firefox 3.6

Hi, We have a plugin that we use to enable printing and saving from our app. We instantiate it using tag with all needed attributes, and then call Save() or Print() method on the document.embeds[0] object. This used to work perfectly on Firefox 3.5 and earlier, but it no longer works in Firefox 3.6. In 3.6, document.embeds[0].Save is n...

Getting started with vBulletin development

I was asked if I could program something for vBulletin. As I never programmed something for vBulletin I started to search for documentation and tutorials. Unfortunately I wasn't very lucky. The most promising thing I found was this, but it looks like it was autogenerated and isn't very helpful for beginners. After some more searching I ...

How the NPP_NewStream of NPAPI wall called? Automatically or by a plugin-request ?

I have read a lots document on NPAPI but I still do not understand: How the NPP_NewStream of NPAPI wall called? Automatically by Browser, whenever it load a page, an image, an video,.... or manually by our plugin-request ? ...

Are MEF's ComposableParts contracts instance-based?

I didn't really know how to phrase the title of my questions, so my apologies in advance. I read through parts of the MEF documentation to try to find the answer to my question, but couldn't find it. I'm using ImportMany to allow MEF to create multiple instances of a specific plugin. That plugin Imports several parts, and within calls...

.NET: Calling GetInterface method of Assembly obj with a generic interface argument

I have the following interface: public interface PluginInterface<T> where T : MyData { List<T> GetTableData(); } In a separate assembly, I have a class that implements this interface. In fact, all classes that implement this interface are in separate assemblies. The reason is to architect my app as a plugin host, where plugin ca...