| Author |
Message |
Guest

|
Posted:
Wed Jun 29, 2005 5:40 pm |
  |
Can I change it so my forum opens in a new window?? |
|
|
 |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Wed Jun 29, 2005 6:24 pm |
  |
|
     |
 |
Guest

|
Posted:
Thu Jun 30, 2005 6:48 am |
  |
In a new browser window with no blocks (it has it's own layout). |
|
|
 |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Thu Jun 30, 2005 8:11 am |
  |
|
     |
 |
Guest

|
Posted:
Thu Jun 30, 2005 9:35 am |
  |
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>·</big></strong> <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"; |
|
|
|
 |
 |
Guest

|
Posted:
Thu Jun 30, 2005 9:51 am |
  |
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. |
|
|
 |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Thu Jun 30, 2005 10:57 am |
  |
|
     |
 |
Guest

|
Posted:
Thu Jun 30, 2005 6:38 pm |
  |
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 |
|
|
 |
 |
Guest

|
Posted:
Thu Jun 30, 2005 7:00 pm |
  |
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. |
|
|
 |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Thu Jun 30, 2005 7:29 pm |
  |
|
     |
 |
Guest

|
Posted:
Fri Jul 01, 2005 5:57 am |
  |
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? |
|
|
 |
 |
Guest

|
Posted:
Fri Jul 01, 2005 6:08 am |
  |
|
 |
 |
Evaders99
Site Admin


Joined: Aug 17, 2003
Posts: 12383
|
Posted:
Fri Jul 01, 2005 7:33 am |
  |
|
     |
 |
Guest

|
Posted:
Fri Jul 01, 2005 12:31 pm |
  |
Okay thanks. I will think of something. |
|
|
 |
 |
|
|