TinyPortal

Development => Support => Topic started by: guvenck on October 11, 2007, 11:32:19 PM

Title: Opening Flashchat in a new window (Cityscape Theme)
Post by: guvenck on October 11, 2007, 11:32:19 PM
Hello,

I am using SMF 1.1.4 and TP0.9.8 with Cityscape_TP theme (cityscape_11final_tp).

I installed Flashchat and the Flashchat Mod 1.0a. It did not any Chat buttons to upper menu, so I manually opened up Themes/cityscape_11final_tp/index.template.php and added this to function template_menu:


// chat button
$context['menubox'][]=array(
'title' => 'Chat',
'link' => $scripturl.'?action=chat',
'chosen' => 'chat',
'memberonly' => false,
'guestonly' => false,
'permission' => '',
);


It added a chat menuitem to menubar, but unfortunately I couldn't make it open in a new window (a JS popup window is preferred). Any advices?