>>  Site Map >>  Forums >>  General 6x

Forum module - topics in forum:



General 6x - Discussions reagarding any other PHP-Nuke Problems.



Modifying top links...

Hi there,
I was wondering how i could modify the top links i.e the whole 'create and account;home;downloads;etc;etc' and also to be able to do it in french as well.
Cheers,
chris






These are edited in the file header.html I believe.

Why do you want to edit them into french?

Can't you just set the default language for your Nuke to French?

Greetz






So i have found out that it is the header.html file in the relevant 'theme' folder. The thing is that when i delete the 'download' link it messes up the whole page! i realise this is because by deleting it it resizes the whole page, but how do i counter that?
These links are remain unchanged when you change the language, which is why i need to change them manually.
So any advice on how to sort this out would be gretaly appreciated.
cheers,
chris






I see you're using fiblack3d, the problem you mentioned shouldn't happen, it's only text links. Confused

If it is causing problems why not just change downloads to something else like topics or something.




UPDATE..

Hi there,
yeah i have tried what you suggested, but the same thing happens - if you have a look at my site again, you will see that the content of the page is pushed below the blocks and so messes up the whole page. I have tried to get the length and spacing the same for the links that i would like to have but am unable to successfully...
what do you suggest i do? i realise it is probably just a simple html job, but how can i set the width of the cell that contains the links to ensure that no matter what i put in it does not disrupt the entire page?
cheers for you help...take care,
chris






I really don't understand your problem, all you need to remove is

Code: :
 &nbsp;• &nbsp;<a href="modules.php?name=Downloads">Downloads</a>


from the source code of header.html, it doesn't effect anything I just tried.




no luck...

hi there,
what you suggested is exactly what i have been doing so it's a real mystery!! do you think it may be linked to the editor i am using or...what?...i have tried in other browsers and so it is not linked to that...
when you tried it was it with fiblack3d?
Ok, i just tried it with subblack as well and the same thing happened!!
i am not deleting any more that what you have suggested...which is exactly what i had done before anyway...
any suggestions...or am i doomed to have 'download' on my top links and not be able to have them in french as well Sad
take care...and cheers for your help to date...
chris






Just to prove the point I have just removed downloads from the header here, it is virtually the same header as yours. Confused

fiblack3d I changed works fine too

Code: :
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="themes/fiblack3d/forums/images/tnav_tl.gif" width="14" height="23" alt="" /></td>
<td width="100%" class="tbltop">&nbsp;</td>
<td><img src="themes/fiblack3d/forums/images/tnav_tr.gif" width="15" height="23" alt="" /></td>
</tr>
<tr>
<td class="tblleft">&nbsp;</td>
<td align="center" class="topbkg">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%" height="120"><a href="index.php"><img src="themes/fiblack3d/forums/images/logo.jpg" border="0" alt="$sitename"></a></td>
<td width="40% height="120">$showbanners &nbsp;</td>
</tr>
</table>
</td>
<td class="tblright">&nbsp;</td>
</tr>
<tr>
<td><img src="themes/fiblack3d/forums/images/tnav_bl.gif" width="14" height="26" alt="" /></td>
<td class="tblbot">&nbsp;</td>
<td><img src="themes/fiblack3d/forums/images/tnav_br.gif" width="15" height="26" alt="" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="topnav">
<tr>
<td width="165" nowrap><div align="center"><font class="content">$theuser</font></div></td>
<td nowrap><div align="center"><font class="content">• &nbsp;<a href="index.php">Home</a> &nbsp;• &nbsp;<a href="modules.php?name=Your_Account">Your Account</a> &nbsp;• &nbsp;<a href="modules.php?name=Forums">Forums</a> &nbsp;•</font></div></td>
<td width="165" nowrap><div align="center"><font class="content">$datetime
</font></div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="themes/fiblack3d/forums/images/tnav_tl.gif" width="14" height="23" alt="" /></td>
<td width="100%" class="tbltop">&nbsp;</td>
<td><img src="themes/fiblack3d/forums/images/tnav_tr.gif" width="15" height="23" alt="" /></td>
</tr>
<tr>
<td class="tblleft">&nbsp;</td>
<td>
    <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
      <tr valign="top">
        <td>$public_msg<img src="themes/fiblack3d/forums/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
  <td valign="top" width="7" background="themes/fiblack3d/forums/images/spacer.gif">





???

hey there,
so i just copied and pasted what you posted and it still comes up with the same thing!! Confused
i really don't understand why it works for you and not for me! Confused
could it be linked to the html editor i am using somehow? although i have tried in both netscape compsoer and dreamweaver 4...
do you think there is maybe some sort of conflict as i am using PHP Nuke v6.9 and fiblack3d is written for v6.5?
i'm just grasping at straws here, but...
cheers






Have you modified any other files?

Here's my test site http://www.phpnuke-ie.net/68

Running 6.8, no it doesn't make a difference.

Here is that theme, latest version 3.0 http://phpnuke-uk.net/modules.php?name=Downloads&d_op=viewdownloaddetails&lid=38&ttitle=Fiblack_3d

That's the one I just uploaded.




HAPPY DAYS!!

so it's working with the updated version of the theme...

thanks very much for all the time and energy...
until next time Very Happy
take care






Good, now you can change the words to french. Very Happy




Bad News!!!

so i changed things and the same problem is arising!!
all i am doing is changing the words, along with the corresponding 'a ref' that's it!!! nothing else...but it still messes up the page in the same way!...why can i not do the same as you?!
this is really baffling!
sorry about this, i really thought it was resolved!
i have reinstalled the entire theme, so even if i had somehow changed another file it shouldn't matter...
anyway...i'll hopefully hear from you soon.






Once again, changed them fine on test site.

http://www.phpnuke-ie.net/68/

Code: :
<table class="bodyline" width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td align="center" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="themes/fiblack3d/forums/images/tnav_tl.gif" width="14" height="23" alt="" /></td>
<td width="100%" class="tbltop">&nbsp;</td>
<td><img src="themes/fiblack3d/forums/images/tnav_tr.gif" width="15" height="23" alt="" /></td>
</tr>
<tr>
<td class="tblleft">&nbsp;</td>
<td align="center" class="topbkg">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="60%" height="120"><a href="index.php"><img src="themes/fiblack3d/forums/images/logo.jpg" border="0" alt="$sitename"></a></td>
<td width="40% height="120">$showbanners &nbsp;</td>
</tr>
</table>
</td>
<td class="tblright">&nbsp;</td>
</tr>
<tr>
<td><img src="themes/fiblack3d/forums/images/tnav_bl.gif" width="14" height="26" alt="" /></td>
<td class="tblbot">&nbsp;</td>
<td><img src="themes/fiblack3d/forums/images/tnav_br.gif" width="15" height="26" alt="" /></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="topnav">
<tr>
<td width="165" nowrap><div align="center"><font class="content">$theuser</font></div></td>
<td nowrap><div align="center"><font class="content">• &nbsp;<a href="index.php">Accueil</a> &nbsp;• &nbsp;<a href="modules.php?name=Search">Recherche</a> &nbsp;• &nbsp;<a href="modules.php?name=Forums">Forums</a> &nbsp;•</font></div></td>
<td width="165" nowrap><div align="center"><font class="content">$datetime
</font></div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="themes/fiblack3d/forums/images/tnav_tl.gif" width="14" height="23" alt="" /></td>
<td width="100%" class="tbltop">&nbsp;</td>
<td><img src="themes/fiblack3d/forums/images/tnav_tr.gif" width="15" height="23" alt="" /></td>
</tr>
<tr>
<td class="tblleft">&nbsp;</td>
<td>
    <table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
      <tr valign="top">
        <td>$public_msg<img src="themes/fiblack3d/forums/images/spacer.gif" width="1" height="1" border="0" alt=""></td>
</tr></table>
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
<tr valign="top">
  <td valign="top" width="7" background="themes/fiblack3d/forums/images/spacer.gif">





the story continues!!

Hey there,
So i copied and pasted but no luck!! it's all very strange!...i haven't changed anything else related to the theme, and have reinstalled it as i mentioned before...one thing that also happens is that despite the fact that i may have the login block and survey block activated they only appear on some of the pages and not all...it doesn't bother me...i've actually deactivated them now, but it had no affect...i was thinking that might shed some light on a potential bug or something related to my site that might have other implecations - such as messing the page up when you try and change the links...
but this whole situation doesn't make sense - yo ucan change the links, but i can't...
when i change the code in an editor, and look at it on the browser, it looks exactly the same - it doesn't affect the size of any section of the header.
i don't know what other information i can give you to try and resolve this whole fiasco!!
so there we go...i'm sorry about this...i don't understand what is going on...i don't think i am making any stupid mistakes, since all i am doing is cutting and pasting, or typing in a new word and corresponding link - not exactly the most complex thing to do!
anyway...i hope we can resolve this somehow...
take care, and thanks
chris




Attention! You are currently viewing sitemap page!
We strongly suggest to look at original content

Search from web

Select page

Valid HTML 4.01 Valid CSS