Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Link to channels from Layout= Home Body

Open lunitic opened this issue 10 years ago • 4 comments

Hi all,

Not sure if this ticket should be under cordova app or here. Since its a little bit of both.

I am struggling with the Home Body , administration => layout => Home Body. I would like to have links on that page that takes the user directly to different #channels

I can get it to work with desktop clients, but I cant figure our how to do such href that works in the cordova app. When a user clicks on it in their app then the app will open up an external window in the browser (chrome/safari)

Anyone have any quick html fix or is this a much bigger task than I expect?

lunitic avatar May 04 '16 05:05 lunitic

I think it´s related to #2607

dytec avatar May 04 '16 07:05 dytec

Not sure .. I don't understand the other ticket...

lunitic avatar May 04 '16 08:05 lunitic

not sure i understand as well.. did you mean something like this <tr><td><span style="font-weight:bold"><a href="/channel/general">#general </span></td><td>General Discussions </td><td>Public</td></tr>

This works for me

IQ2022 avatar May 04 '16 19:05 IQ2022

@IQ2022 Cheers that did the trick!!

My href had the full URL href="https://myserver.com/channel/general and then it will open in Safari and Chrome.

lunitic avatar May 07 '16 06:05 lunitic