Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 



       myfreeforum.org Forum Index -> Portal components
CodyT07

LINKSMENU Question

on my forum http://linkexchange.myfastforum.org im added a links menu to the subportal area. It works but i want it to work differently in a way. When i click on a link (browser-AOL 9.0 SE) it replaces the page link exchang is in. Is their a way to change it so the links open in a new window?

If you want some codes.
OVERALL_HEADER.
Code:

{MYFF.LINKSMENU}

In Options. (not naming all).
Code:

item1=Support Forum
link1=http://forum.myfreeforum.org
item2=Downsizer.net
link2=http://www.downsizer.net
.........(So on)
admin (no pm's please)

Just edit cms_linksmenu.tpl to add target="_blank" in the links.
Brandon

Dangit admin, you stole my glory, I was just about to say that.
CodyT07

No joy in adding it. No matter what i add in the portal files nothing changes. Heres the portal file contents.
Code:

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_linksmenu_title -->
   <tr>
        <th colspan="1"  height="25" class="thCornerL" nowrap="nowrap">{LINKSMENU_TITLE}</th>
     </tr>
<!--END switch_linksmenu_title -->     
  <!-- BEGIN linksmenu_row -->
  <tr>
     <td class="row2"><span class="topictitle"><a href={linksmenu_row.U_VIEW_MENU}" class="topictitle">{linksmenu_row.MENU_NAME} </a></span></td>
  </tr>
  <!-- END linksmenu_row -->
</table>


And Admin REMOVE the DELETE BUTTON please! Im not sure what it does and i dont want to find out.
Brandon

I tried adding it also, but it didn't change anything.
admin (no pm's please)

Codyt07 wrote:
No joy in adding it. No matter what i add in the portal files nothing changes. Heres the portal file contents.
Code:

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_linksmenu_title -->
   <tr>
        <th colspan="1"  height="25" class="thCornerL" nowrap="nowrap">{LINKSMENU_TITLE}</th>
     </tr>
<!--END switch_linksmenu_title -->     
  <!-- BEGIN linksmenu_row -->
  <tr>
     <td class="row2"><span class="topictitle"><a href={linksmenu_row.U_VIEW_MENU}" class="topictitle">{linksmenu_row.MENU_NAME} </a></span></td>
  </tr>
  <!-- END linksmenu_row -->
</table>


And Admin REMOVE the DELETE BUTTON please! Im not sure what it does and i dont want to find out.


I don't see target="_blank" you need:

Code:

 <!-- BEGIN linksmenu_row -->
  <tr>
     <td class="row2"><span class="topictitle"><a href={linksmenu_row.U_VIEW_MENU}" target="_blank" class="topictitle">{linksmenu_row.MENU_NAME} </a></span></td>
  </tr>
  <!-- END linksmenu_row -->


Delete does what it implies it deletes your copy of the template file, so you are back to the original.
CodyT07

Still no joy. So delete means its back up mess up click it and goes back? I thought it meant delete delete as in gone.
Heres the code now.
Code:

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_linksmenu_title -->
   <tr>
        <th colspan="1"  height="25" class="thCornerL" nowrap="nowrap">{LINKSMENU_TITLE}</th>
     </tr>
<!--END switch_linksmenu_title -->     
 <!-- BEGIN linksmenu_row -->
  <tr>
     <td class="row2"><span class="topictitle"><a href={linksmenu_row.U_VIEW_MENU}" target="_blank" class="topictitle">{linksmenu_row.MENU_NAME} </a></span></td>
  </tr>
  <!-- END linksmenu_row -->
 </table>
Brandon

I used this code
Code:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_linksmenu_title -->
   <tr>
        <th colspan="1"  height="25" class="thCornerL" nowrap="nowrap">{LINKSMENU}</th>
     </tr>
<!--END switch_linksmenu_title -->     
  <!-- BEGIN linksmenu_row -->
  <tr>
     <td class="row2"><span class="topictitle"><a href="{linksmenu_row.U_VIEW_MENU}" target="_blank" class="topictitle">{linksmenu_row.MENU_NAME} </a></span></td>
  </tr>
  <!-- END linksmenu_row -->
</table>

And it worked fine. Try that^
CodyT07

It works ^_^
Brandon

Great
CodyT07

Um the Links Menu box is missing the "Links Menu".
CodyT07

I got it to work now. Thanks.
Cheesman

Im using this code and its not working for me

Quote:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_linksmenu_title -->
<tr>
<th colspan="1" height="25" class="thCornerL" nowrap="nowrap">{LINKSMENU}</th>
</tr>
<!--END switch_linksmenu_title -->
<!-- BEGIN linksmenu_row -->
<tr>
<td class="row2"><span class="topictitle"><a href="{linksmenu_row.U_VIEW_MENU}" target="_blank" class="topictitle">{linksmenu_row.MENU_NAME} </a></span></td>
</tr>
<!-- END linksmenu_row -->
</table>
admin (no pm's please)

link?
Cheesman

http://thecheesman.myfastforum.org/

sorry
admin (no pm's please)

in myfs_cheeseman2 I see in cms_linksmenu.tpl

Code:

<td class="row2"><span class="topictitle"><a href="{linksmenu_row.U_VIEW_MENU}" class="topictitle">{linksmenu_row.MENU_NAME}</a></span></td>
  </tr>


e.g. no "target="_blank"
Cheesman

yeah i changed it back to the original because i was worried what the other would do but I did have what I said I had before.

Quote:
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_linksmenu_title -->
<tr>
<th colspan="1" height="25" class="thCornerL" nowrap="nowrap">{LINKSMENU}</th>
</tr>
<!--END switch_linksmenu_title -->
<!-- BEGIN linksmenu_row -->
<tr>
<td class="row2"><span class="topictitle"><a href="{linksmenu_row.U_VIEW_MENU}" target="_blank" class="topictitle">{linksmenu_row.MENU_NAME} </a></span></td>
</tr>
<!-- END linksmenu_row -->
</table>
admin (no pm's please)

Well tell me when it is back to what should work and I will have a look at it, what is the point of me looking for something that is not there?
Cheesman

Ok I have changed it to what should be working but its not.

http://thecheesman.myfastforum.org
admin (no pm's please)

You seem to have lost {LINKSMENU_TITLE} and have only {LINKSMENU} where the title should be.

But the links open in a new window for me. Have you browser settings that may prevent this?
Cheesman

Nah man coz It works on some other forums for example if I click on the howtodoit link up the top of this site if will open in a new window for me.

Weird things is that its only the top 5 links that dont work the other will open in a new window just not those listed under "friends of the forum"

http://thecheesman.myfastforum.org/
admin (no pm's please)

Cheesman wrote:
Nah man coz It works on some other forums for example if I click on the howtodoit link up the top of this site if will open in a new window for me.

Weird things is that its only the top 5 links that dont work the other will open in a new window just not those listed under "friends of the forum"

http://thecheesman.myfastforum.org/


So LINKMENU where you have edited it to work works, MAINMENU where you have left it as it is by default doesn't work how you want it
Cheesman

Yes I have just seen the light now and realise that I should be editing the
cms_mainmenu.tpl.

Ill assume that it works the same way then ?

       myfreeforum.org Forum Index -> Portal components
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum