Adding Links

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Adding Links
redxdragon
CZ Newbie
redxdragon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 21, 2004
0.00 posts per day
Posts: 13
Points: 1,221
   
First off let me say great site and kick butt nuke items..Ok to the question at hand, I want to add other links in the dropdown menu which btw I'm using your CZModule..Let me try and explain it better...One link I have is to a module called vWar, well it takes u to a page where u can then go to other sections within that module..I want to be able to go there directly by having a link on the left menu..Basically I want to add a link to the menu which is not found in the modules admin panel..Do I have to create a dummy module so to speak in order to be able to add it to the menu..? And I apologize if this ? has been asked before, but I searched and didn't find anything to what I was looking for...Thanx for your time..



Back to top Reply with quote
#2   re: Adding Links
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
Welcome to Codezwiz......

if I understood your question correctly in the readme file there are directions on how to add external links which is what you want added to the menu

this is what comes from the readme for Nuke ver7

If you want to add external links open the block-CZModules.php and look for

// This is where you set any external links



taut


Back to top Reply with quote
#3   
redxdragon
CZ Newbie
redxdragon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 21, 2004
0.00 posts per day
Posts: 13
Points: 1,221
   
Ya I seen that, but if I add it there then I cannot move it to another section..Here's the page.. [ Register or login to view links on this board. ]
Close to the bottom you'll see 2 links, Challenge and Join Us....I would like to be able to put them as individual links on the left under War Room...Sorry if I wasn't clear the first post, and thanx for the quick response..!



Back to top Reply with quote
#4   re: Adding Links
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
I went to the link you gave and for some reason I can't see the 2 links you mentioned or the spot where you want these extra links to show up. Is this spot a block? or part of one?

taut



Back to top Reply with quote
#5   re: Adding Links
redxdragon
CZ Newbie
redxdragon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 21, 2004
0.00 posts per day
Posts: 13
Points: 1,221
   
OK, here's a SS of where the 2 links can be seen... [ Register or login to view links on this board. ]
And here's their respected addy if you or anyone would venture to them.
[ Register or login to view links on this board.] , [ Register or login to view links on this board.] . And to where I would like to add these to links are located here where the arrow is pointing. [ Register or login to view links on this board. ] Underneath the vWar Record link..Yes, it's a bit cluttered, I just made this theme and installed yesterday, so I'm trying to clean things up and make it more organized. Thanx for your patience and time...



Back to top Reply with quote
#6   re: Adding Links
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
lol...I didn't even think the site was "cluttered"....but so let me see, you basically want those links you mentioned as a second drop down from the main link coming from the main navigation correct?

I don't see why you can't just add them as part of the external links like the others you have. you should still be able to have them as links where you have them now since those links are totally separate from the main block files .... unless I'm missing something lol...where's my coffee!!!!

taut icon_mrgreen.gif



Back to top Reply with quote
#7   
redxdragon
CZ Newbie
redxdragon has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 21, 2004
0.00 posts per day
Posts: 13
Points: 1,221
   
Yeah I just decided to go that route, instead of making them individaul modules..Maybe down the road I'll give a shot at trying to move them from the Quick Links, but am satisfied with this..Thanx again Taut for your wisdom and patience..Hope the coffee helped.... icon_biggrin.gif



Back to top Reply with quote
#8   re: Adding Links
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
am glad you decided to take that route and come see us and let us know the result of your "testing". we'd love to hear from ya


taut icon_mrgreen.gif



Back to top Reply with quote
#9   re: Adding Links
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
Here's how I've been doing it...

Create a folder called what ever you want to reflect your new mod in root/modules
open the folder
using notepad create an index.php file and stick this in it


<html>

<head>
<META HTTP-EQUIV='refresh' content='0;URL=http://ensim.codezhost.com/~admin44/one/phpnuke/modules.php?name=Forums&file=mynewfile'>

</head>

<body>

</body>

</html>

Make sure the url matches yours and the 'mynewfile' is the main php file for your new mod

Upload your new html file disguised as index.php to your new module folder

Now just activate your new mod in the ACP and stick it in whatever folder you like and 90 percent of the time it works the first time depending on how the rest of your new mod is coded...any errors should tell you what to change...for example a few times I've had to copy the main php file of the mod to the root directory instead of in modules/Forums...but at any rate I've been able to put any link in any of the folders I want.
If you do have to move the file to the root directory your html link will look more like [ Register or login to view links on this board. ]
the key being you have to add .php

I hope this was clear enough...if not I'll try harder to explain icon_biggrin.gif




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#10   re: Adding Links
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
Errrr...the date on this thread is February? icon_rolleyes.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum