extension

Joomla component development: Save, apply and cancel toolbar buttons not working

Hi, I am following the lessons on component development in the "Learning Joomla! 1.5 Extension Development" book. I've followed the instructions in the chapter exactly, creating a component I call "carousel". I've only created the Admin back-end, and I'm able to view the form for creating a new entry or edit existing one, but cannot sav...

What is the maximum size of local storage available for Firefox add-ons and/or Chrome extensions?

Designing some extensions that will continuously update a dataset that is used to render additional information on webpages. ...

How to test if one java class extends another at runtime?

How to I test if a is a subclass of b? Class<?> a = A.class; Class<?> b = B.class; ...

Concrete implementation of generic base class and extension method

The end goal for this post is to override the ToString() method of a concrete implementation of a generic base class while still being able to search the implementation using Linq flattening technique. So if you read this and see a better way let me know. I'm using Telerik controls for Silverlight and they won't change their api to allow...

What languages to write windows shell extensions

I know how to write shell extesions in python. The drawbacks are it does not work on 64 bit Windows I am unsure how creating a python process everytime something “happens” reduces performance. I know how to write shell extensions using .Net (C#) The drawbacks are discouraged by MS I am unsure how this reduces performance. (does it?...

Installing MySQL so file

Hi, Probably an easy question, but I'm trying to install sys_exec into MySQL. It contains an so file, along with a few other things. Where do I place the .so file? I'm running Debian + MySQL5 I've tried /var/lib/mysql/, /usr/share/mysql and /usr/local/mysql/lib/mysql which according to MySQL Docs is the location for libs/plugin direct...

Firefox extension development: How to find out if window has focus

Hey :) how can i find out if the active window has focus or no focus (means: hidden, minimized or what ever) ? I fetch the active window with "Application.activeWindow" but lets say i minimize the window or change focus to another program than firefox. How do i figure out that the window has no focus ? Example: setInterval(function() {...

How to use pydev extension point in eclipse?

For example: add own functional in pydev package explorer, use pydev python code parser. ...

How can I change the size of a tab captured with chrome.tabs.captureVisibleTab (Chrome extension)

I'm using the following code to capture a screenshot of the selected tab chrome.tabs.captureVisibleTab( undefined, function( data ) { display( data ) }); The API says its possible to change the size of the tab ( http://code.google.com/chrome/extensions/tabs.html#method-captureVisibleTab ) but I can't work out how to do it. At the mome...

UnicodeDecodeError on import of a .pyd file

Hi, I've started to slowly dabble with the Python/C API and after much fiddling and finagling, I was able to build a spam.pyd file. However, I must be missing something with this process and was hoping that someone could point me in the right direction. I thought that once spam.pyd was created, I could call it from Python via import sp...

Java : protected access across package

Hi, I was curious to understand what's happening here.( a protected member being accessed outside the package through a subclass ) I know for classes outside the package, the subclass can see the protected member only through inheritance. consider two packages - package1 and package2. 1) package1 - ProtectedClass.java pac...

Wordpress plugin compatibility

Maybe i am a special boy, but in my wordpress 3.0 installation, when i search for extension i want the result filter and sorted by: ONLY the wp3 compatible The BEST RATING first The MOST DOWNLOADED first having 2856 extensions for each search, is like having none, when too much is like not enough !... Anybody know how to filter/so...

Extending a element in the XML Schema

Hello guys! I'm trying to extend a element in my XML Scheme, but its not working: <xs:complexType name="instituicaoComPais"> <xs:complexContent> <xs:extension base="instituicao"> <xs:sequence> <xs:element ref="pais"/> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name=...

VS 2010 Custom Private Extension

I have written a custom Visual Studio 2010 extension that helps developers at the company I work with with some of our development standards. Obviously, this is specific to this company and I would not want to upload it to the public gallery. My question is, how can I have VS detect updates for it? Everything I saw said to upload it t...

How to hook the download dialog in a Firefox extension?

I'm writing a Firefox extension and I need to hook the download dialog that comes up when the user tries to download a file. In other words, I need a script-defined function to be notified instead of the dialog appearing as normal. Where do I begin? I tried reading through the XPCOM API Reference... but this is the closest thing I coul...

cookie or localStorage with chrome extensions

I've read all the other q's here regarding the topic but couldn't solve my problem. I'm setting on my website the email of the user in the localStorage and i want to retrieve it in the extension. localStorage.setItem("user", "[email protected]" ); But when i try to receive it with the chrome extension it fails to do so value =...

extensions development-- firefox or chrome

I'm going to implement an extension, which is kind of similar to GreaseMonkey. Just wondering which browser I should pick: Firefox or Chrome? Which one has better technique supports? ...

How to use loadOverlay to add several windows in a FireFox extension

I am trying to dinamically load a xul overlay, using several calls to document.loadOverlay(myXul.xul) with the same .xul file. the .xul has a browser contained in a box contained in a window, resembling a suggestion i saw on this forum: the loadOverlay() action is performed every time a f...

Is there a way to package a python extension written in C into a binary so I don't have to python-install it?

I wrote a Python extension in C, and my python program uses that extension. In order for it to work, I would have to install the extension on the user's system before my program can run. Is there a way to bypass that installation step and somehow just have the extension in my python package? The only compiled part obviously is the extens...

Rails link_to not automagically using request.format as extension in links

I'm setting request.format = :mobile within an ApplicationController before_filter. before_filter :some_filter def some_filter request.format = :mobile end I have this mapping in routes: map.my_list '/my_list.:format', :controller => "of_no", :action => "significance" When I do the following: <%= link_to "My List", my_list_path...