You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 55 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - I need Help From a PHPNuke Pro on Downloads Module [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
dirtbag
Lieutenant
Lieutenant


Joined: May 08, 2003
Posts: 159


PostPosted: Thu May 08, 2003 1:41 am Reply with quoteBack to top

Hello,

I only starting using PHPNuke a little over a week ago and been busting my brain trying to figure out how it all works.... Anyways i am stuck on this part for tonight in the Downloads Section. I would like to include instructional videos that are in the Flash .swf format.... Now when i click the link it opens the .swf over the _parent browser window. The thing i need is for say when i click on a Download Link the .swf file would open in a _blank Browser window instead of the _parent Browser window..

Here is a link to my site if you would like to see what i mean... Just click the link to download file...

http://www.subfighter.com/modules.php?name=Downloads&d_op=viewdownload&cid=72


Anyways i was trying to search the download module files and others and had no luck as i was pretty lost....... Sad

Any Help Would Be really appreciated.....

Regards
Rick
Find all posts by dirtbagView user's profileSend private message
Raven
General
General


Joined: Mar 22, 2003
Posts: 5233

Location: USA

PostPosted: Thu May 08, 2003 2:27 am Reply with quoteBack to top

Look in the modules/Downloads/index.php file for the function viewdownload(). Then look for this code.
Code:
   if (is_admin($admin)) {
       echo "<a href=\"admin.php?op=DownloadsModDownload&lid=$lid\"><img src=\"modules/$module_name/images/lwin.gif\" border=\"0\" alt=\""._EDIT."\"></a>&&";
   } else {
       echo "<img src=\"modules/$module_name/images/lwin.gif\" border=\"0\" alt=\"\">&&";
   }
        echo "<a href=\"modules.php?name=$module_name&d_op=getit&lid=$lid\">$title</a>";

and modify the last line to read
Code:
echo "<a href=\"modules.php?name=$module_name&d_op=getit&lid=$lid\" target=\"test\">$title</a>";

Obviously call your target whatever you like. Did that fix it or not?

_________________
Those who hear not the music think the dancers mad.
Raven Web Hosting|My Scripts & Stuff
Find all posts by RavenView user's profileSend private messageVisit poster's website
dirtbag
Lieutenant
Lieutenant


Joined: May 08, 2003
Posts: 159


PostPosted: Sun May 25, 2003 12:23 am Reply with quoteBack to top

thanks raven for the help and your time..

Rick Estrada

_________________
Rick Estrada
http://www.subfighter.com
Online Jiu Jitsu Techniques MMA News
Find all posts by dirtbagView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.206 Seconds - 286 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::