• Forum
  • Doc
  • Screenshots
  • Download
  • Donate
  • Contributors
  • Contact
  • Follow @phpfreechat
  • DEMO
  • Board index ‹ Version 1.x branch ‹ Joomla, Drupal, and Wordpress (v1.x)
  • Change font size
  • FAQ
  • Register
  • Login

Preselect Channel on startup

Integration help for Joomla, Drupal, and Wordpress

Moderators: OldWolf, re*s.t.a.r.s.*2

Post a reply
1 post • Page 1 of 1

Postby pfc-fan » Fri Dec 19, 2008 7:28 am

Hi,

I´m quite sure, this is not a Drupal-only question...

On startup I create several channels, which are nicely created:
var pfc_defaultchan = ["channel1","channel2","channel3"];
var pfc_userchan = ["channel1","channel2","channel3"];

My problem is, I cannot preselect a channel. If somebody opens the channel, he clicks a link which has a defaultchat-parameter, like ?defaultchat=channel1
I tried to put something similar to
pfc.gui.selectTabById('<?=md5('ch_'.$_GET['defaultchat'])?>');
in different places, but at best, it did not preselect the tab, at worst, it did not show up.

Any ideas, how I can preselect a Tab on startup?

Greetings and thanks in advance
pfc-fan
New member
 
Posts: 1
Joined: Fri Dec 19, 2008 7:20 am
Top

Post a reply
1 post • Page 1 of 1

Return to Joomla, Drupal, and Wordpress (v1.x)

Who is online

Users browsing this forum: No registered users and 1 guest

  • Board index
  • The team • Delete all board cookies • All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
Sign in
Wrong credentials
Sign up I forgot my password
.
jeu-gratuit.net | more partners
Fork me on GitHub