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, 70 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Opening forum in new window [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Guest







PostPosted: Wed Jun 29, 2005 5:40 pm Reply with quoteBack to top

Can I change it so my forum opens in a new window??
Find all posts by Anonymous
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Wed Jun 29, 2005 6:24 pm Reply with quoteBack to top

Explain what you mean:
literally in a new browser window?
or without the blocks?

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Guest







PostPosted: Thu Jun 30, 2005 6:48 am Reply with quoteBack to top

In a new browser window with no blocks (it has it's own layout).
Find all posts by Anonymous
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Thu Jun 30, 2005 8:11 am Reply with quoteBack to top

You'd have to manually add a new link and change the target of the link to a new window. (target="_new"). See the FAQ on
http://www.nukecops.com/postt1.html
"Adding HTML Links to Main Menu"

Second, you'll have to remove the blocks
See the HOWTO
http://www.nukecops.com/PHP-Nuke_hide-left-blocks.html

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Guest







PostPosted: Thu Jun 30, 2005 9:35 am Reply with quoteBack to top

Okay when I go to add the extra line

Quote:
Adding HTML Links to Main Menu
Find the following line of code in the block-Modules.php file found in the subfolder called blocks:
Code:
$content .= "<strong><big>&</big></strong>&<a href=\"index.php\">"._HOME."</a><br>\n";

And add this line after it:
Code:
$content .= "<strong><big>&</big></strong>&<a href=\"LINK\">LINK NAME</a><br>\n";

Of course modify the "LINK" to the URL you wish, and the "LINK NAME" to the name of the hyperlink.


It makes all my stuff dissapper. I just have my top logo.

This is my code:
Code:
    $content .= "<strong><big>&middot;</big></strong>&nbsp;<a href=\"index.php\">"._HOME."</a><br>\n";
$content .= "<strong><big>&</big></strong>&<a href=\"http://www.jovonna-rose.org/rsjrocks/phpnuke/modules.php?name=Forums\" target="_new">Forums</a><br>\n";
Find all posts by Anonymous
Guest







PostPosted: Thu Jun 30, 2005 9:51 am Reply with quoteBack to top

Okay it worked when I deleted the target code (I must have it in the wrong spot) BUT I now have two &. It looks like &&Forums (the first & is bigger too) and there is no bullet like the others.
Find all posts by Anonymous
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Thu Jun 30, 2005 10:57 am Reply with quoteBack to top

The code is
Code:

&middot;

you can delete the extra ampersand.

And you must backslash all quotes inside the string
Code:

target=\"_new\"

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Guest







PostPosted: Thu Jun 30, 2005 6:38 pm Reply with quoteBack to top

It worked thank you!!

Now I have another problem (well still part of the first problem). For removing the blocks I added this code:
[code]
if ($name=='Forums') {
/* Don't display it. */
}
else {
blocks(left);
}
[code]

Where it said but my module still shows.
http://www.jovonna-rose.org/rsjrocks/phpnuke/index.php
Find all posts by Anonymous
Guest







PostPosted: Thu Jun 30, 2005 7:00 pm Reply with quoteBack to top

Found another problem:

· Home
· Forums
· Content
· Downloads
· FAQ
· Feedback
· Forums

Forums now shows up twice. The first Forums is the one I added (opens in a new window), and I don't really know what to do. I want to keep it in aph. order.
Find all posts by Anonymous
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Thu Jun 30, 2005 7:29 pm Reply with quoteBack to top

Not sure about the blocks.. usually that code works.

Perhaps you'll want to use a more robust menu - I recommend Customize Menu (Sommaire) block

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Guest







PostPosted: Fri Jul 01, 2005 5:57 am Reply with quoteBack to top

Is there a way I can open it up without having any of my phpnuke layout on it? Like it opens to a new page?
Find all posts by Anonymous
Guest







PostPosted: Fri Jul 01, 2005 6:08 am Reply with quoteBack to top

Oh and what do you mean?

Quote:
Perhaps you'll want to use a more robust menu - I recommend Customize Menu (Sommaire) block


Where can I find that?

I found a forum that could be an example and they use phpnuke:
http://www.lost-media.com
http://lost-forum.com/index.php?styleid=18
Find all posts by Anonymous
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12403


PostPosted: Fri Jul 01, 2005 7:33 am Reply with quoteBack to top

The forum is only designed to work in phpNuke - the phpBB and phpNuke tables are not compatible.

They are using a seperate forum called vBulletin

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Guest







PostPosted: Fri Jul 01, 2005 12:31 pm Reply with quoteBack to top

Okay thanks. I will think of something.
Find all posts by Anonymous
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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.223 Seconds - 193 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::