@shadowraith
Nice idea, and thanks for contributing this.
Total time it took me to get it working on two Joomla templates was about 30 minutes - 10 mins reading the notes and installing the XML, and about 10 minutes each chomping up the index.php.
Just FYI, with the two templates I've tried (Rhuk, and JoomlArt's Xenia), the raw chopped up index.php code works just fine as-is without having to use the $myjoomlacontent[] technique. What version of PHP are you running?
One fairly important change though, for anyone even vaguely concerned about server load, you should probably wrap this around the plugin code:
PHP Code:
if (THIS_SCRIPT != 'cron')
{
blah blah
}
Otherwise you are loading the whole of Joomla twice on every page load, and it obviously doesn't need to happen the second time, just for the cron jobs.
The issue I'm working on at the moment is to see if I can get rid of the re-draws of things like CSS styled menus that use re-styling of UL elements, etc. It's particularly noticeable on the JA Xenia template, where the 'top' (main) menu draws three times - once as a plain UL, once with the text styling applied, and finally as the horizontal menu. I noticed something similar on your demo site.
Not sure if it'll be possible without some template-specific surgery though.
@nonamer69
Quote:
Originally Posted by nonamer69
anyone tested this with 3.7?
|
Seems to work OK on 3.7 Beta 5. I've only been testing it for an hour or so though.
-- hugh