+ Reply to Thread (include dating software, release, and patch number!)
Results 1 to 6 of 6

Thread: Need help changing top menu links

  1. #1
    yuki18
    Guest

    Exclamation Need help changing top menu links

    Hi guys,

    I'm trying to change the links from ray chat to flash chat.



    I have change the BxBaseMenu.php code

    Code:
    $ret .= $this -> getTopMenuItem( _t('_Chat'), 'chat/flashchat.php', '', '_blank' );
    However the links still don't work, it still went back to ray chat is there any more files i need to edit? Please help. Thank you

  2. #2
    yuki18
    Guest

    Default

    Quote Originally Posted by yuki18 View Post
    Hi guys,

    I'm trying to change the links from ray chat to flash chat.



    I have change the BxBaseMenu.php code

    Code:
    $ret .= $this -> getTopMenuItem( _t('_Chat'), 'chat/flashchat.php', '', '_blank' );
    However the links still don't work, it still went back to ray chat is there any more files i need to edit? Please help. Thank you
    Found out where to edit it.

    Need to edit the templates/tmpl_xxx/scripts/menu_design.php to get it work

    Does anyone have a pop code to share. Thanks in advance
    Last edited by yuki18; 08-11-2007 at 01:12 PM.

  3. #3
    mark
    Guest

    Post How to make chat link a PopUp

    DOLPHIN 5.x.x
    Try this it works in template = dfl :

    $onClick = "javascript: window.open( 'chat/flashchat.php' , 'WebChat', 'fullscreen=1,width=800,height=600,toolbar=0,direc tories=0,menubar=0,status=0,location=0,scrollbars= 0,resizable=1' )";
    $ret .= $this -> getTopMenuItem( _t('_Chat'), 'javascript:void(0)', '', '', $onClick);

  4. #4
    yuki18
    Guest

    Default

    Thanks mark

  5. #5

    Join Date
    Jan 2009
    Posts
    2

    Default Same error

    I have same error in flaschat 5 and dolphin 6.1.4, how to change the link?
    i edit MenuContent.inc and put:
    32 => array(
    'Type' => "top",
    'Caption' => "_Chat",
    'Link' => "chat/flashchat.php",
    'Visible' => "non,memb",
    'Target' => "_self",
    'Onclick' => "",
    'Check' => "",
    'Strict' => "0",
    'Parent' => "0",

    but the chat loads in "new page", i tried, _blank _parent, but nothing, someone can helpme to make a correct menucontent.inc file or chat.php file?
    thanks

  6. #6
    Administrator Smoge's Avatar
    Join Date
    Mar 2005
    Posts
    6,440
    Blog Entries
    5

    Default

    The code for this is

    Code:
    $sTarget  = $sTarget  ? ( ' target="'  . $sTarget  . '"' ) : '';
    so the correct value should be _Blank , assuming the parse code is working correctly in your version of Dolphin.

    Warm regards,
    ModMySite Administrator

    Problems? Questions? Need modifications or other help with your site?

    Open A Ticket , Send Us An Email Or Give Us A Telephone Call +1 518-632-4152.

+ Reply to Thread (include dating software, release, and patch number!)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Member Menu links not showing
    By quantumkangaroo in forum General Troubleshooting
    Replies: 7
    Last Post: 05-09-2007, 12:54 AM
  2. lost member menu links
    By little in forum General Troubleshooting
    Replies: 5
    Last Post: 04-23-2007, 05:01 AM
  3. Custom Menu - Profile Menu - Question
    By Zaphieon in forum General Issues, Comments, Questions
    Replies: 1
    Last Post: 02-10-2007, 04:28 PM
  4. Changing the tabs in the top menu
    By ArnMan in forum Dolphin General Discussion v5.0 to v5.21
    Replies: 9
    Last Post: 11-26-2006, 08:30 PM
  5. Latest Members link - member menu and visitors menu
    By Prometheus in forum Free Mod Exchange
    Replies: 1
    Last Post: 06-16-2006, 11:06 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts