No links to plugins in Admin interface

neekster

New member
Joined
Mar 11, 2007
Messages
27
Have seen this problem once before many years ago and never resolved it. It's come back to haunt me on a new server.

I have a couple plugins installed, CSF Firewall and EximEditor. The plugins work as I can manually enter the URL, but there is no link to them in the admin interface at all.

We do run our own custom skin, but I eliminated this as the problem as it occurs with with the stock enhanced skin.

Running 1.337 of DA on Centos 5 32bit.

Any ideas?

Cheers
Nick
 
Hi Jeff,

Sorry for the late reply. Well it's our own custom skin which was originally based on the enhanced skin. Run's on a number of other servers without issue and the skins are identical.

But I just thought I would try with the default skin and it worked. When I said before I had tested it with a stock skin, I only tested it with the enhanced one. It's a new install so surprised it's broken in some cases.

Enhanced skin has this to render the plugin links:

Code:
|$/usr/local/bin/php
<?php
$data = <<<END
|PLUGIN_0_ADMIN_TXT|
END;
if (strlen($data) > 1)
{
echo <<<END
|PLUGIN_0_ADMIN_TXT|<br>
|PLUGIN_2_ADMIN_TXT|<br>
|PLUGIN_4_ADMIN_TXT|
END;
}
?>
DONE|
                </td>
                <td width="50%" valign="top">
                        <a href="/CMD_ADMIN_SETTINGS">|LANG_ADMIN_SETTINGS|</a><br>
                        <a href="/CMD_LICENSE">|LANG_LICENSE_UPDATES|</a><br>
                        <a href="CMD_PLUGIN_MANAGER">|LANG_PLUGIN_MANAGER|</a><br>
|$/usr/local/bin/php
<?php
$data = <<<END
|PLUGIN_1_ADMIN_TXT|
END;
if (strlen($data) > 1)
{
echo <<<END
|PLUGIN_1_ADMIN_TXT|<br>
|PLUGIN_3_ADMIN_TXT|<br>
|PLUGIN_5_ADMIN_TXT|
END;
}
?>


The intent as far as I can tell of all that code is to allow for the really quite horrible table layout :(


Our design didn't really need all that anyway as all our layout is handled in css anyway so the php was not necessary for us, removing it and replacing with:

Code:
<li>|PLUGIN_0_ADMIN_TXT|</li>
<li>|PLUGIN_1_ADMIN_TXT|</li>
<li>|PLUGIN_2_ADMIN_TXT|</li>
<li>|PLUGIN_2_ADMIN_TXT|</li>
<li>|PLUGIN_4_ADMIN_TXT|</li>
<li>|PLUGIN_5_ADMIN_TXT|</li>

That code won't work well in the default theme, but if anyone want's the necessary CSS to make it work I'm happy to provide it.

Could do with some php in there to not render list items for non existent plugins but other than that with a little css which we already have it's a much more efficient and fool proof way of rendering the links.

It's been my intent for sometime to ask around if anyone is interested in a new skin built to be css compliant, efficient and easily customizable using css without having to change any html. Think it's long overdue... Personally I would be happy to build it and donate it back to DA to include in future updates. While there are a few themes out there, I have never gone anywhere near them, I don't want an encoded theme that I can't modify myself if for any reason updates are not released on time etc.


Cheers
Nick
 
here it's the same

I'm also running version 1.337000 on CentOS, and whatever I try, I cannot seem to show the plugins in the Admin Plugin Manager interface. It might be something else though, as I'm very new to DirectAdmin administration.

I use the standard 'enhanced' skin.
 
Back
Top