Author |
Message |
badass24
New Member


Joined: Apr 29, 2007
Posts: 3
|
Posted:
Sun Apr 29, 2007 3:09 pm |
|
Is there a way to edit the navigation links to your own for phpnuke? or should i just disable em and make my own? how do i do any of this so it is embeded into php? |
|
|
|
 |
Susann
Moderator

Joined: Dec 19, 2004
Posts: 3191
Location: Germany:Moderator German NukeSentinel Support
|
Posted:
Sun Apr 29, 2007 3:48 pm |
|
welcome badass24
do you mean that you missed that point in the HowToInstall of RavenNuke ?
There are several Navigation blocks availabe e.g. NaviNuke or very popular Sommaire you could also deactivet the original block and make a new block with the reguired links maybe combined with CSS.
To edit the block-modules.php you could replace for example <strong><big>·</big> with a own image.
Its your decision.
I believe thats basic nuke and there shouldn´t be more info in the HowToInstall. |
|
|
|
 |
badass24

|
Posted:
Sun Apr 29, 2007 7:10 pm |
|
i got php nuke installed i just wanna edit the links to my likin and still keep it embeded. |
|
|
|
 |
jakec
Site Admin

Joined: Feb 06, 2006
Posts: 3048
Location: United Kingdom
|
Posted:
Mon Apr 30, 2007 12:22 am |
|
Do you mean the links in the module block?
If so, the name of the modules listed there can be changed in the module administration. |
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Mon Apr 30, 2007 6:27 am |
|
badass24, please update your original post subject to give this a more descriptive title (one that really matches your question). Thank you. |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
badass24

|
Posted:
Mon Apr 30, 2007 3:49 pm |
|
jakec yeah. also the page the link goes to also. |
|
|
|
 |
hitwalker
Sells PC To Pay For Divorce

Joined:
Posts: 5661
|
Posted:
Mon Apr 30, 2007 6:08 pm |
|
i edited it....
i was in a helpfull mood...  |
|
|
|
 |
jakec

|
Posted:
Wed May 02, 2007 5:51 am |
|
badass24, what do you want the links to point to?
It sounds like Sommaire, or something similar, like what Susann said should do what you want. |
|
|
|
 |
montego

|
Posted:
Wed May 02, 2007 7:14 am |
|
Sommaire is definitely an excellent choice, but it is no longer supported by the author and since it is written with French comments and variable names, I cannot support it, but you can get it from my site.
However, if you want to just completely be in control of how your block looks, put in between the PHP start/end tags (I cannot post them here as I willl get blocked) the following:
Code:
if ( !defined('BLOCK_FILE') ) {
Header('Location: ../index.php');
die();
}
$content = '';
$content .= '<strong><big>·</big></strong> <a href="index.php">HOME</a><br />';
$content .= '<strong><big>·</big></strong> <a href="somelinkhere.php">Link Text</a><br />';
|
All you have to do is add more content .= '' lines to get what you want. |
|
|
|
 |
hitwalker

|
Posted:
Wed May 02, 2007 7:17 am |
|
montego,this is how your reply looks in my mail..
[code:1:7befde145a]
if ( !defined(''BLOCK_FILE'') ) {
Header(''Location: ../index.php'');
die();
}
$content = '''';
$content .= ''<strong><big>&middot;</big></strong>&nbsp;<a href=\"index.php\">HOME</a><br />'';
$content .= ''<strong><big>&middot;</big></strong>&nbsp;<a href=\"somelinkhere.php\">Link Text</a><br />'';
[/code:1:7befde145a] |
|
|
|
 |
montego

|
Posted:
Wed May 02, 2007 7:21 am |
|
Yes, unfortunately, that is the nature of the reply email. It htmlentities everything. But, there is always the link to the forums...  |
|
|
|
 |
|