Forum Index PD-Downloads Stop _blank on download |
Re: Stop _blank on download
|
||||
---|---|---|---|---|
Webmaster (O.M.A.)
|
hm i checked your website, ok the disclaimer have no footer when you agree the disclaimer it works
to solve the disclaimer problem search for the following lines in visit.php Quote: if ($xoopsModuleConfig['showDowndisclaimer'] && $agreed == 0) before the exit(); also insert the footer (include XOOPS_ROOT_PATH . '/footer.php';) so i hope everything will work now.
Posted on: 2006/9/15 0:50
|
|||
The Solution Provider
_________________________________ _________________________________ ------ krobi@power-dreams.com |
||||
|
Re: Stop _blank on download
|
||||
---|---|---|---|---|
Power-Dreams Anfänger
|
That almost works. It has the background, but nothing else.
I also tried putting: include XOOPS_ROOT_PATH . '/footer.php'; at the end, but no luck. Any thoughts?
Posted on: 2006/9/14 23:12
|
|||
|
Re: Stop _blank on download
|
||||
---|---|---|---|---|
Webmaster (O.M.A.)
|
hey
open the visit.php and after (at the beginning of the file) global $xoopsUser, $xoopsModuleConfig, $xoopsDB; insert this xoops_header(); and before (at the end of the file) ?> insert this xoops_footer(); this should work.
Posted on: 2006/9/14 22:35
|
|||
The Solution Provider
_________________________________ _________________________________ ------ krobi@power-dreams.com |
||||
|
Re: Stop _blank on download
|
||||
---|---|---|---|---|
Power-Dreams Anfänger
|
Ok, I made the changes, and it does not launch a new window, but it does loose the xoops theme. Please download a file from https://www.saeportal.com/modules/PDdownloads/ and you'll see what I'm talking about.
Thanks for the help.[quote]
Posted on: 2006/9/14 22:23
|
|||
|
Re: Stop _blank on download
|
||||
---|---|---|---|---|
Webmaster (O.M.A.)
|
open this two templates from the sub-folder templates:
-> PDdownloads_download.html -> PDdownloads_singlefile.html search for this line: Quote: <a href="visit.php?cid=<{$down.cid}>&lid=<{$down.id}>" target="_blank"> and change it like this Quote: <a href="visit.php?cid=<{$down.cid}>&lid=<{$down.id}>" target="_self"> and re-upload this two files to you server and update the module.
Posted on: 2006/8/31 18:17
|
|||
The Solution Provider
_________________________________ _________________________________ ------ krobi@power-dreams.com |
||||
|
Stop _blank on download
|
||||
---|---|---|---|---|
Power-Dreams Anfänger
|
When the "Download Now" link is clicked, a new window is opened. How can I stop this and make it stay in the main site?
Posted on: 2006/8/31 17:59
|
|||
|
You can view topic.
You can start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.