What is the best plugin or gem for adding comments to the ActiveRecord models in rails?
Maybe there is one with ability to rate each comments with votes +1/-1 (like on youtube for example) and a cool view helper to display comments in a tree?
...
I've been reading this and I know it doesn't mention possible ways to restrict access to an installed plugin, but is there some trick one can play in order to contain the usage of a plugin?
...
Hi,
I am trying to use a layout for each actions in a controller. For example, I have three actions in index controller. Those are indexAction, testAction, and welcomeAction. I created three xml layout files. index.xml, test.xml, and welcome.xml. Finally, I created a plugin.
class Moon_Layout_Append extends Zend_Controller_Plugin_Abstr...
I am using Grails with the App Engine plugin and JPA persistence. When running
grails test-app
my unit tests run perfectly, but I receive the error below when the integration tests start.
Is this a known issue with the app-engine plugin?
Starting integration tests ...
[copy] Copying 1 file to /home/matthew/.grails/1.1.1/p...
I use
< script type="text/javascript" src="jquery-1.2.2.pack.js"> < /script>
to load jquery and then load an external script that contains these :
var jkpanel={
controltext: 'menu',
$mainpanel: null, contentdivheight: 0,
openclose:function($, speed){
this.$mainpanel.stop() //stop any animation
if (this.$mainpanel.attr('...
i'm using setInterval to check if a p(html paragraph) has a certain text value. if it has it i want to clear interval an continue code flow. i'm using this in a jQuery plugin so if the paragraph has tat text value i want to clear interval and then continue with a callback function.
so i tried something like this:
var checkTextValue = se...
Hi,
I think that Visual Studio's biggest let down is the Javascript editor. I have been told to use Aptana as an editor for my javascript files, but I would prefer to stick with visual studio if possible.
I have read other similar plugin posts, but none focus specifically on Javascript.
VS2010 may offer some improvements, but will th...
Hello all,
I'm currently using the following jQuery plugin: jQuery OEmbed. This plugin works great in FF, Chrome, and Safari. However, I am having an issue in IE7. I have stripped my code down to very bare-bones, but still can't figure out what would be causing the following error:
Error: Object doesn't support this property or met...
I am working on maintaing an old code base and I'm migrating attachment_fu to paperclip. I migrated one thing but now I'm having a small issue.
There's a partial that renders images given the type of image and a thumbnail style. I fixed the part to render the image and that's fine, but the "else" assumes that there actually is no photo ...
Question
Is it possible to get the version of the Java Plugin being used by the web browser, either through Javascript, or within a Java applet being run by the plugin?
Background
I'd like to run a Java applet embedded within the browser if the user is using Java Plugin2, or run it as a JWS application otherwise, because I need to contr...
Is it possible to code a plugin for the Office Communicator Client?
I have seen code that lets me make my own client, but I want to just add functionality to the existing client. Can that be done?
The plug-in I want to make would look for a string and if found substitute a link for it.
For example:
Go and find Question32
Would be c...
Hello
I am trying to achive the following:
Create an image gallery using the JQuery Cycle plugin that shows images with titles (taken from the alt text)
Each image has a PNG absolutley posiioned over the top to achieve rounded corners effect
Here's my gallery HTML:
<div id="slideshow" class="pics">
<div class="photo-container" >
<...
Form validation plugin:
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Test url:
http://docs.jquery.com/Plugins/Validation
How to reproduce:
1.) Click on the name text input. Enter "12345".
2.) Tab to the next field. Enter an invalid email such as "12345@".
3.) Click on the name text input. Delete the data in the field....
I'm creating a jQuery plugin for one of my projects and I was wondering what's the best way to go about this. I need to be able to call a function on the plugin from outside the plugin, at any time. For example, an event outside the plugin happens, and I want to say "plugin, do this". I've played around a bit and this works, but doesn...
I am using the LocalScroll jQuery plugin by Ariel Flesler and have set links and anchors as necessary to get the plugin functional.
However, I'm wondering if it is possible to avoid using 's, but rather, use 's with jquery click events instead.
The plug-ins home page
Any help would be much appreciated.
Thanks in advance,
Shawn
...
Hi,
Since the Finder in Snow Leopard has been rewritten to use Cocoa instead of Carbon, I'd like to know if there's a new API to write Finder plugins. The old way involved writing a CFPlugin but this doesn't seem to work anymore.
...
Is there a jquery plugin that when you hover over an icon etc. it displays a nice black bubble popup? (it doesn't require a click, just a hover).
...
Does jQurey UI considered as a jQuery Plugin? Is it possible to use jQuery UI without jQuery?
...
In a plugin, I need to iterate over all domain and command object classes to apply some meta-magic to them. Getting the domain classes isn't a problem, however command objects are not that easy to get hold of, since they don't seem to be considered Grails artefacts. After browsing the docs, I came up with the following code:
def doWithD...
Microsoft JScript runtime error: 'this.Plugins[...]' is null or not an object
coming from this code:
var xVal = xVal || {
Plugins: {},
AttachValidator: function(elementPrefix, rulesConfig, pluginName) {
if (pluginName != null)
this.Plugins[pluginName].AttachValidator(elementPrefix, rulesConfig);
else...