3
hey
the first "problem" is quiet simple
edit the following templates:
PDdownloads_download.html and PDdownloads_singlefile.html
in this templates you will find a line like this
Quote:
simple remove the
target="_blank" or change it so
target="_self".
and then you have to make some small changed in the visit.php
at the begin of the file look for this
Quote:
after that line put in this line
Quote:
include XOOPS_ROOT_PATH . '/header.php';
and at the end of the file
befor this line
Quote:
but this in it
Quote:
include XOOPS_ROOT_PATH . '/footer.php';
after that the visit.php at the two points will look like this:
at the begin of the file:
Quote:
include 'header.php';
include XOOPS_ROOT_PATH . '/header.php';
and at the end
Quote:
include XOOPS_ROOT_PATH . '/footer.php';
?>
so thats all, done forget to update the module because of the changes you made in the templates.
regarding the second problem, hm normally the module will change the size to kb/mb automatically for the user-side. but you have to put in bytes when you submit a download - its because the module will calculate the kb/mb/gb size from the bytes size.
so there is no need to change this.
Developer of PD-Modules like PD-Downloads and PD-Links.
Webmaster of
Power-Dreams.com