Error
  • The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.
  • The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.
  • The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.
  • The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.
  • The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.
  • The most recent request was denied because it contained an invalid security token. Please refresh the page and try again.

Wed

05

Aug

2009

Enhanced frontend editing patch for 1.6

I’ve spent the past week getting a patch ready for 1.6 as well as making many behind the scenes changes to improve the overall code. I’ve migrated much of my code to work with Joomla! 1.6 and also created a patch that you can apply easily. You can get the patch from here, http://joomlacode.org/gf/project/frediting/frs/.

com_content is still in the works and so I’ve not migrated the code for article editing to 1.6 yet. However, you’ll be able to edit module and menu-item titles, drag & drop modules, edit module params in a modal popup and edit page titles in J!1.6 after you’ve applied the patch. Also, you won’t need to apply any hack.

Here are a few screenshots of the patched 1.6: Admin component Editing of module params in modal popup Editing of titles

You can also download the latest release of the Joomla! 1.5 extension from here, http://joomlacode.org/gf/project/frediting/frs/. The changes won’t really be visible to you as most of them make the extension more secure and efficient. Here are the changes in the new release:

  • Modified module chrome structure and renamed it to modChrome_freditor
  • Namespaced all JavaScript functions to avoid conflict with user’s JS
  • Upgraded to mootools 1.2.3
  • Fixed bug of titles disappearing in Opera
  • When drag & drop is not successful, modules return to their original positions
  • Added better filtering of input for accurate recognition of titles and prevention of XSS attacks

An impairment of this extension is that since it is written using mootools 1.2.3, if you're using mootools 1.1 based scripts on your website, they are susceptible to not work when you're logged in and have editing permissions ( even though I'm using a compatibility script to add support for 1.1 )

If you’ve a previous version of the extension installed, you’ll need to revert the hack, uninstall the previous version and then install this one. Reverting the hack is necessary as I have renamed the module chrome.

The summer is almost nearing an end so I’ve pretty much feature frozen my project at this point of time. I’m going to use the remaining time to improve the patch as much as possible, fix the remaining IE JavaScript and CSS bugs and create the documentation.

See you on the other side!

58 Votes

4 Comments

Feed
  1. This is amazing :-) I have tested it and it works well!!! But should I apply the patch to my live site ? Is it safe or should I wait untill J1.6 ? :-) does it have ACL ?

    Great Work :-)
  2. You'll be using Joomla! 1.5 for your live site so you can use the extension for that. I've ran it through quite a few security tests so it should be fine in that respect.
    You could probably wait for the final release of the extension with the finishing touches :)

    Thanks!
  3. Great! :-), what is the best way of learning php ? any books you would recommend ? Do you know if joomla 1.5 templates and extensions will work on joomla 1.6 ?

    Thanks very much for youre timely response 8-)
  4. This is overall all very nice :)!!!... Can i suggest one more thing...is it possible to add new module, pages (content) from front end, and also new menu items(maybe to connect with menu from article pop up editing?... this will make whole circle in Joomla front end editing... and make Joomla more user friendly especially for clients :)... Anyway great work and all my compliments for this!!!

Add Comment


    • >:o
    • :-[
    • :'(
    • :-(
    • :-D
    • :-*
    • :-)
    • :P
    • :\
    • 8-)
    • ;-)