How do I

spacecabbie

Verified User
Joined
Oct 11, 2019
Messages
103
Location
The Netherlands
So i have taken a stab at this before but got utterly lost.

Could some kind soul give me perhaps the basic step by step how to would lets say add a custom icon and a link somewhere on the icon grid.
Or a manual of some sort. I have looked into the vue but thats like a whole other ball game.

If it's really that complicated that's also fine but then at least i know.
issues i have:
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
9,300
Location
LT, EU
"Customize Evolution Skin" lets you add any URL you want (and the icon) :)

Alternatively, URL can be added "as plugin":
Code:
PLUGIN_DIR=/usr/local/directadmin/plugins/yourplugin_utl

mkdir -p ${PLUGIN_DIR}/hooks
mkdir -p ${PLUGIN_DIR}/admin
mkdir -p ${PLUGIN_DIR}/images

wget -O ${PLUGIN_DIR}/images/admin_icon.svg https://www.youdomain.com/image.svg

echo '<a href="http://someurl.com target="_blank">New Menu Entry</a>' > ${PLUGIN_DIR}/hooks/admin_img.html
echo '<a href="http://someurl.com" target="_blank">New Menu Entry</a>' > ${PLUGIN_DIR}/hooks/admin_txt.html

touch ${PLUGIN_DIR}/admin/index.html

echo 'active=yes' > ${PLUGIN_DIR}/plugin.conf
echo 'author=Some Name' >> ${PLUGIN_DIR}/plugin.conf
echo 'id=litespeed' >> ${PLUGIN_DIR}/plugin.conf
echo 'installed=yes' >> ${PLUGIN_DIR}/plugin.conf
echo 'name=New Menu Entry' >> ${PLUGIN_DIR}/plugin.conf
echo 'update_url=' >> ${PLUGIN_DIR}/plugin.conf
echo 'version=0.1' >> ${PLUGIN_DIR}/plugin.conf
echo 'version_url=' >> ${PLUGIN_DIR}/plugin.conf

chown -R diradmin:diradmin ${PLUGIN_DIR}
 
Top