Posts Tagged ‘plugin’

11Mar

Folding menu plugin for WordPress

A while ago I wrote a post about creating a folding menu for WordPress built in Pages widget using only jQuery without adding or modifying any markup or PHP. A reader, Kretschmar, reported some bugs and asked if it could work for more than one level.

After modifying the jQuery for it to work on multi level depth I created a simple plugin for WordPress. See the demo of ILC Folding, go and click on Page 2.

Here’s the jQuery code:

jQuery(document).ready(function(){
jQuery(".page_item ul").hide();
jQuery(".current_page_item ul:first").slideDown();
jQuery(".current_page_item").parents("ul, li")
.map(function () {
jQuery(this).slideDown();
});
});

So, after sliding down the first parent and getting all parents of current_page_item, we  slide down each parent level by level until the list is empty.

I packed everything and created a WordPress plugin so you can download the folding plugin for WordPress and start collapsing those Pages.

Tags: , ,

27Feb

Starting with BuddyPress and WordPress MU

BuddyPress logo

Although there are specific softwares for social networks, WordPress MU, the multi user version of WordPress, has the potential to be transformed into a social platform. WordPress MU is what powers the WordPress.com blogs, handling millions of blogs so you can get an idea of its power. But WPMU doesn’t offer the social network functionality out of the box.

Enter BuddyPress, the social network plugin for WordPress. We will learn how to setup BuddyPress on top of WordPress MU. Read more

Tags: , , , , , ,

26Feb

17 CMS for your eCommerce project

A list of the most popular eCommerce CMSeCommerce is not new. It is now one of the most important applications of internet along with e-mail, e-learning, chat and social networks. However, in the last few years a whole new world started in eCommerce CMS. New contenders like Magento challenge the long time champion osCommerce and even a medium CMS like WordPress and a hardcore CMS like Plone have their eCommerce plugin.

The following list doesn’t attempt to be perfect neither showcase the best CMS. It is merely a review of the most popular eCommerce specific CMS out there, both open source and paid ones. In the end, there’s a list of eCommerce plugins for some generic CMS like WordPress, Drupal or Plone. Read more

Tags: , , , , , ,

29Jan

Thank a Plugin Developer Day

Matt declares January 28th the official “Thank a Plugin Developer” day. Visit your favourite plugin developer and drop a love note. I’m visiting Ozh.

Tags:

21Jan

WordPress plugin: ILC FLVBox. Show flv video using ThickBox

This new plugin was created not only from a necesity but as a medium of learning as well. I wanted to play video using ThickBox, and just the other day someone asked on the WordPress support forums about playing FLV using Lightbox. I already had something done so it was a fine oportunity to finish it. So here it is.
Read more

Tags: , ,

3Jan

WordPress Plugin: Enabling TinyMCE for the title

Rich editing for the title

I needed this WordPress plugin, named ILC Rich Title for a particular work I was in. I had to enable rich text editing for the title field on the edit post/page area. In fact, the customer only wanted to add some line breaks, but I added the whole TinyMCE to it. I’m not sure if this exists for the title but I researched a lot and didn’t found one.

What I did found was the TinyMCE Excerpt plugin by Simon Wheatley which enables TinyMCE for the excerpt edit field. Changing the jQuery wrap that TinyMCE Excerpt performs by targeting the appropriate title div, #title (with the help of the ever loved Firebug) I got what I wanted. After that it was a matter of triggering wpautop for both edit area and rendered content, using the edit_post_title for the former and the_title for the latter. Now, since I’m using the_title, it means that it will enclose into p all the titles so be careful when setting your css for titles.

UPDATE: 2009-1-22

ILC Rich Title is hosted on WordPress plugins repository. You can download it from there.

Tags: ,

15Dec

Native Client from Google. Running native code safely on the web.

On Dec 8, Google unveiled a new technology for running native code within a browser. The Native Client project represents a significant effort towards a new technology for web browsers, to achieve greater speeds by giving browser applications a performance similar to the native applications, while ensuring safety.

Quoting the paper’s abstract:

(…)Native Client, a sandbox for untrusted x86 native modules. Native Client aims to give browser-based applications the computational performance of native applications without compromising safety. Native Client uses software fault isolation and a secure runtime to direct system interaction and side effects through interfaces managed by Native Client. Native Client provides operating system portability for binary code while supporting performanceoriented features generally absent from web application programming environments, such as thread support, instruction set extensions such as SSE, and use of compiler intrinsics and hand-coded assembler. We combine these properties in an open architecture that encourages community review and 3rd-party tools.

Running a web application code directly into the machine, without the browser layer in the middle opens the door to unlimited posibilities in performance. Of course, it also opens the door to some safety issues, but Google is using the inner-sandbox approach to guarantee that any code executed withing the memory range that is allocated to the application will stay within that memory space. This would prevent from running malicious code in other memory areas. The first security issue has been detected by now, but that’s why Google released the code, to be tested as hard as it’s possible.

I’ve been taking a look at the distribution, and all I can say is that this might be the future of web development. NaCl can be used as a plugin for Firefox, Chrome and some other browsers, but I stayed with the heavyweight championship and the ferocious newbie. Let’s just take a brief look at the following comparison (screenshots from a demo packed with NaCl):

ffc-comp

On the right column we have the Firefox and Chrome pure JavaScript machines, Spidermonkey from FF and V8 from Ch. It come has no surprise that NaCl is faster than Spidermonkey, but just take a look at the V8 speed!! jeezz I knew that Ch had the faster JS engine but I didn’t thought it was that much! Surprisingly, NaCl for Ch is outperformed by NaCl for FF.

Take a look at this amazing new technology and play around with the bundled demos. You will find such gems like a Quake for NaCl! yes, native 3d on top of a browser, can you imagine? With the download bundle you can test some demos running NaCl as a standalone application, build/install the plugin and even build the entire NaCl (with the comfortable SCons build tool based in Python ) as well as new modules for it. NaCl is written in C for maximum speed, so you should have experience in this language to write modules for it.

What do you think? could this be the future of the web applications?

Tags: , ,

Page 4 of 41234