Link List (serendipity_plugin_linklist) with dtree
Posted: Sat Dec 09, 2017 8:15 pm
Hi,
Link List (serendipity_plugin_linklist) with dtree is not working. The cause is that serendipity_plugin_linklist.php:389 embeds it as
but there is no lldtree.js in hat directory, there is dtree.js instead. The odd thing is that serendipity_event_linklist.php:359 within case 'external_plugin': has
However, a symbolic link in the plugins/serendipity_event_linklist directory works around, but I don't consider that a real fix..
Link List (serendipity_plugin_linklist) with dtree is not working. The cause is that serendipity_plugin_linklist.php:389 embeds it as
Code: Select all
$str .= "\n".'<script type="text/javascript" src="'.$serendipity['serendipityHTTPPath'] . 'plugins/serendipity_event_linklist/lldtree.js"></script>'."\n";
Code: Select all
case 'lldtree.js': // name unique!
header('Content-Type: text/javascript');
echo file_get_contents(dirname(__FILE__).'/dtree.js');
break;
Code: Select all
ln -s dtree.js lldtree.js