Click here to Skip to main content
15,886,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello, Converse.js is a XMPP web client, the best I've tried among all,
There are 3 fields, Room name, Nickname and Server,
What I'm trying to do is add default rooms, just like this Photoshopped image
When someone clicks on one of these rooms names', for example the first one, "Chat@conference.MyAvril.xyz" the name Chat will go to the "Room name" field while "conference.MyAvril.xyz" will go to the "Server" field.
I'm SO new to this, so please take it easy on me that IFF it's possible. Thanks.
Posted
Updated 3-Dec-15 23:39pm
v2
Comments
Sinisa Hajnal 4-Dec-15 5:58am    
It is almost certainly possible, but it is common to try some things yourself before coming to ask for the solution. Describe what you've tried, where are you stuck (what part do you need explained) and, if you have any, relevant parts of your code.
KiDo3Konvict 4-Dec-15 6:27am    
I tried adding new button as a beginning to \converse.js\mockup\controlbox.html right after the *Show rooms* button, but it's not showing there, like I didn't make any change to the code. The main problem is that no matter what change I make, the result will always be the same and the interface will always be the same!
Sinisa Hajnal 4-Dec-15 7:12am    
You're doing *something* wrong, but without you showing the code (the part with your button and surrounding container, it is hard to say what. Read my comment above and use Improve question to add more details to your question.
KiDo3Konvict 4-Dec-15 8:35am    
I've been making the changes on an example file and not the actual one, and now I'm afraid I can't find the file which I should make the changes on :S
Sinisa Hajnal 4-Dec-15 8:49am    
No problem. Let us know when you find it. Although, if it takes you some time, it would be better to delete this question and open new one so it pops up on top of list again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900