
Random Image
- Download : randomimg.rar
Password :
dleviet.com
- INSTALL :
1. upload file dle_img.php to folder engine/modules/
2. Open file index.php
Find
$tpl->set ( '{topnews}', $topnews );
Add BELOW
$tpl->set ( '{dle_img}', $dle_img);
3. Open file engine/init.php
Find
require_once ENGINE_DIR . '/modules/calendar.php';
Add BELOW
require_once ENGINE_DIR . '/modules/dle_img.php';
4. Opend all .css file of current template
Find
#hintbox
Unless you can not see that code, please insert below code to the end of any .css file
#hintbox
{
text-align : left;
width : 150px;
font-size : 10px;
border : 1px solid #99a1ab;
background-color : #fff;
layer-background-color : #a396d9;
color : #282828;
margin : 10px 0 0 10px;
padding : 3px 5px;
position : absolute;
visibility : hidden; z-index : 998;
-moz-opacity : 0.9;
-moz-border-radius : 5px;
filter : alpha(opacity="90");
}
{
text-align : left;
width : 150px;
font-size : 10px;
border : 1px solid #99a1ab;
background-color : #fff;
layer-background-color : #a396d9;
color : #282828;
margin : 10px 0 0 10px;
padding : 3px 5px;
position : absolute;
visibility : hidden; z-index : 998;
-moz-opacity : 0.9;
-moz-border-radius : 5px;
filter : alpha(opacity="90");
}
5. Open file main.tpl of current template
Find
</head>
Add ABOVE
<script type="text/javascript" src="/engine/skins/default.js"></script>
6. Open file main.tpl and add tag {dle_img}
For more info
http://www.dynamicdrive.com/dynamicindex16/showhint.htm

Updates
Dle templates English


