You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@guacamole.apache.org by Tezarin <te...@yahoo.com.INVALID> on 2020/09/21 17:55:05 UTC

Any way to add a text next to the "Recent connections" at the top?

Hi all,
I was wondering if there is a way for me to add a text with hyperlink at the top of the page? My users login and see the recent connections on the left and the username they logged in as on the right. In between these two, I would like to add a text so when my users click that, they get redirected to another page. Is that possible? 

Thank you

Re: Any way to add a text next to the "Recent connections" at the top?

Posted by Tezarin <te...@yahoo.com.INVALID>.
 Thank you so much, it worked like a charm!
    On Tuesday, September 22, 2020, 03:26:52 PM EDT, Nick Couchman <vn...@apache.org> wrote:  
 
 On Tue, Sep 22, 2020 at 3:00 PM Tezarin <te...@yahoo.com.invalid> wrote:

>  Thank you Nick, I followed the steps in the URL you recommended and was
> able to put the text right on the homepage *after* the login-ui element
> (right below the username/password box). Is there any way to do this on the
> next page where it reads Recent Connections so the user will see it after
> they login?
>


Yes, all you have to do is specify the correct element in the meta tag
after which to insert the data.  You can use the browser's developer
console, or look at the existing source code, to determine the tags.  There
should be a "recent-connections" and "active-connections" CSS tag you could
use to insert it onto the home screen.

-Nick
  

Re: Any way to add a text next to the "Recent connections" at the top?

Posted by Nick Couchman <vn...@apache.org>.
On Tue, Sep 22, 2020 at 3:00 PM Tezarin <te...@yahoo.com.invalid> wrote:

>  Thank you Nick, I followed the steps in the URL you recommended and was
> able to put the text right on the homepage *after* the login-ui element
> (right below the username/password box). Is there any way to do this on the
> next page where it reads Recent Connections so the user will see it after
> they login?
>


Yes, all you have to do is specify the correct element in the meta tag
after which to insert the data.  You can use the browser's developer
console, or look at the existing source code, to determine the tags.  There
should be a "recent-connections" and "active-connections" CSS tag you could
use to insert it onto the home screen.

-Nick

Re: Any way to add a text next to the "Recent connections" at the top?

Posted by Tezarin <te...@yahoo.com.INVALID>.
 Thank you Nick, I followed the steps in the URL you recommended and was able to put the text right on the homepage *after* the login-ui element (right below the username/password box). Is there any way to do this on the next page where it reads Recent Connections so the user will see it after they login? 
Thank you in advance
    On Monday, September 21, 2020, 03:12:35 PM EDT, Nick Couchman <vn...@apache.org> wrote:  
 
 On Mon, Sep 21, 2020 at 1:55 PM Tezarin <te...@yahoo.com.invalid> wrote:

> Hi all,
>
> I was wondering if there is a way for me to add a text with hyperlink at
> the top of the page? My users login and see the recent connections on the
> left and the username they logged in as on the right. In between these two,
> I would like to add a text so when my users click that, they get redirected
> to another page. Is that possible?
>
>
Probably so, yes - not entirely sure it can be exactly where you want it,
but there's a decent chance it'll work.  You just need to create a custom
extension (no Java code required, just the guac-manifest.json and your HTML
resources) and, when you create the HTML code, you can specify where in the
page it is loaded.  The instructions for this are in the manual:

http://guacamole.apache.org/doc/gug/guacamole-ext.html#ext-patch-html

That lets you specify CSS selectors where your HTML code gets loaded
before, after, etc.

-Nick
  

Re: Any way to add a text next to the "Recent connections" at the top?

Posted by Nick Couchman <vn...@apache.org>.
On Mon, Sep 21, 2020 at 1:55 PM Tezarin <te...@yahoo.com.invalid> wrote:

> Hi all,
>
> I was wondering if there is a way for me to add a text with hyperlink at
> the top of the page? My users login and see the recent connections on the
> left and the username they logged in as on the right. In between these two,
> I would like to add a text so when my users click that, they get redirected
> to another page. Is that possible?
>
>
Probably so, yes - not entirely sure it can be exactly where you want it,
but there's a decent chance it'll work.  You just need to create a custom
extension (no Java code required, just the guac-manifest.json and your HTML
resources) and, when you create the HTML code, you can specify where in the
page it is loaded.  The instructions for this are in the manual:

http://guacamole.apache.org/doc/gug/guacamole-ext.html#ext-patch-html

That lets you specify CSS selectors where your HTML code gets loaded
before, after, etc.

-Nick