plugin "link list" delays the page reproduction

Creating and modifying plugins.
Josh
Regular
Posts: 110
Joined: Mon Jul 18, 2005 3:02 pm
Location: Berlin
Contact:

Post by Josh »

Thank You, Matthew!!!

Yes, I had the versions of sidebar and event plugin backwards.
The easiest way to do this is to backup your xml, then switch "Enter XML directly" to no, go to "Manage Links" and delete all the default links,
Weird. "Manage links" is empty. No default links there. Even after re-installing the plugin.
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

Weird. "Manage links" is empty. No default links there. Even after re-installing the plugin.
The default links are actually loadded from the default XML entry, so if you replace that immediately after a fresh install and change the "Enter XML directly" to No it should import your new links automatically... My last message assumed that you had already switched the "Enter XML directly" without removing the default XML...

I really need to clean that process up, though. Or make it clearer.

Did the import work, though?
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

mgroeninger wrote:
Basically, I forgot to exclude the javascript reference if you choose Simple CSS. If it helps your page I will update the plugin in CVS.
It helps very much!

Did you change it in 1.10 or is these another change?


But, the question still is: WHY did the script slow down only my blog?
Ciao, Stephan
stm999999999
Regular
Posts: 1531
Joined: Tue Mar 07, 2006 11:25 pm
Location: Berlin, Germany
Contact:

Post by stm999999999 »

mgroeninger wrote:
And change it to this:

Code: Select all

            if (!$lessformatting) {
                $str='<script src="'.$serendipity['baseURL'] . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] . '?/' : '').'plugin/linklist.js" type="text/javascript"></script>';
            }
...
Basically, I forgot to exclude the javascript reference if you choose Simple CSS. If it helps your page I will update the plugin in CVS.
Now I do so and it works fine! Please make this update! Thanks!
Ciao, Stephan
mgroeninger
Regular
Posts: 546
Joined: Mon Dec 20, 2004 11:57 pm
Contact:

Post by mgroeninger »

Commited. Version 1.12 of the sidebar plugin will incorporate the patch.
Post Reply