0
Welcome Guest! Login
0 items Join Now

Duplicate Template Fix for J2.5

    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Duplicate Template Fix for J2.5

    Posted 13 years 2 months ago
    • Since the release of Joomla 2.5 there has been a particularly annoying “duplicate template” bug that becomes clearly evident when you install or update a template. As our primary business involves templates, and as a result the vast majority of our users install templates, this has caused a great deal of confusion and consternation among our users.

      This bug was identified and patched in the Joomla platform shortly after the 2.5.0 release, however, Joomla is currently at 2.5.2 and this issue remains because the Joomla platfrom fix has not been merged into the Joomla CMS code. Even when this fix makes it into the Joomla CMS codebase, it will not fix the multiple duplicate database entries that result from the buggy template installer file.

      In an effort to address this, we’ve created a simple Joomla plug-in that patches the core template installer file with the relevant fix from the updated Joomla platform code as well as removing the erroneous extra database entries. On installation, the plug-in does it’s work, and won’t attempt to fix anything again until you toggle the “Patch Every Page-Load” option in the plug-in parameters. If you turn this on, the plug-in will patch and try to clean the database on every reload of the administrator. So just toggling this on, and then saving and then off again, should be good enough to refresh the process if you should need it. Also if you wish to revert the patch and go back to the original (but buggy) file, you can simply un-install the plug-in.

      DOWNLOAD: www.rockettheme.com/blog/joomla/1394-dup...te-fix-for-joomla-25
  • Re: Duplicate Template Fix for J2.5

    Posted 13 years 2 months ago
    • Andy,

      i tried to download the file from your link (and also clicking the link on the front page of rockettheme.com under the team blog module, but when i do, I get a message saying "you are not authorized to view this resource."

      I have verified that I am logged into the site. Is there something I am missing?

      Michael
    • Andy Miller's Avatar
    • Andy Miller
    • Preeminent Rocketeer
    • Posts: 9919
    • Thanks: 96
    • Web Kahuna

    Re: Duplicate Template Fix for J2.5

    Posted 13 years 1 month ago
    • Was a publishing mistake, i had the article setup with the wrong permissions. Should be fixed now.
  • Re: Duplicate Template Fix for J2.5

    Posted 12 years 11 months ago

Time to create page: 0.096 seconds