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, 66 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 - ONCLICK link 2 specific file in module or embed 2 files to 1 [ ]
 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
MurphDog
Sergeant
Sergeant


Joined: Jul 12, 2003
Posts: 90


PostPosted: Tue Oct 17, 2006 12:22 pm Reply with quoteBack to top

I've got 2 modules that I want to combine into one. They both work fine separately. The main one is the module that I created. It has a submit button on it that points toward the second module. The second module is simply a form (extremely modified clan recruitment form, not used for clan recruitment)

The form of course is on the index.php file in the form module. I simply either want to integrate it by changing the name of this file to say..."submit.php" or I would like to add the code to it inside the index.php file of my own module (this option would make it more streamlined wouldn't it?

If I do the first option, I would simply need to change this code...
Code:
ONCLICK="window.location.href='../modules.php?name=formmodule"

to be directed directly to the submit.php that I renamed and moved to my module. How can I do that?
I tried changing it to this code...
Code:
ONCLICK="window.location.href='../modules/MyModule/submit.php"

but of course it doesn't let you access that file directly

If I embed the code in the submit.php file into the code of my index.php file (simply to cut down on numbers of files) is this doable?

If you would like to take a look at the code for each page, let me know.
Find all posts by MurphDogView 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.158 Seconds - 212 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::