June 19, 20224 yr I have no idea what I'm doing wrong here I've added custom notifications to some scripts and they work brilliantly, but I'm trying to add a link to those notifications with -l "my/link/" and clicking them does absolutely nothing Also, sort of related, does anyone know a link to use to go to a specific user scripts log page? I feel like I need to put more information here but there really isn't any. I've tried it with -l as the only option, I've tried putting only "/Settings/Userscripts/", I've tried "http://IP/Settings/Userscripts/". Nothing links Edited June 19, 20224 yr by RoryIsNotACabbage
June 19, 20224 yr Author 32 minutes ago, Squid said: Probably be best to post the actual command you're using /usr/local/emhttp/webGui/scripts/notify - l "/Settings/Userscripts" Plus the other variations I mentioned I get the notification in the Web gui, it just doesn't take me anywhere when I click it
June 19, 20224 yr Author Sorry I was replying from my phone, when I done it in the terminal there was no space
June 19, 20224 yr Author That's interesting. I've tried many many times and nothing. Thanks for the help anyway
June 19, 20224 yr Author Okay so it seems the link doesn't work when your notifications are set to summarized, which I just recently changed to. Setting it back to detailed works perfectly. Possibly a bug?
June 27, 20224 yr Author On 6/19/2022 at 12:14 PM, RoryIsNotACabbage said: Also, sort of related, does anyone know a link to use to go to a specific user scripts log page? Hey @Squid, is there an easy fix for this? I started out with -l "javascript:showLog(\"$script\")" setting script to the relevant name earlier, which is perfect when you're on the userscripts page but obviously fails when somewhere else. And no variation of /plugins/user.scripts/showLog.php&arg1='+script I've tried has worked, with or without the ,'Log Information',800,1200 at the end and also as a regular link and as a javascript:openWindow Further than this I'm a little stumped
June 27, 20224 yr It's a link designed to go to a page in the UI. eg /Settings or /Main trying to leverage it for running a script etc isn't really what it was designed for
September 9, 20232 yr On 6/28/2022 at 12:56 AM, Squid said: It's a link designed to go to a page in the UI. Any way to get the link to open in a new page and/or tab? I was wanting to set up a link that goes to a section of the online documentation and it would be better if this left the current GUI page unchanged.
September 9, 20232 yr 2 hours ago, Squid said: No. It has to be an internal page. I found it can be an external link to the User Manual, but that it loads into the tab that is currently displaying the GUI. That was why I asked about a way to force a new tab. I now need to decide if the value of displaying the relevant manual page out-weighs the downside of the user now having to reload the Unraid GUI into another tab.
September 9, 20232 yr 1 hour ago, itimpi said: I found it can be an external link to the User Manual, but that it loads into the tab that is currently displaying the GUI. That was why I asked about a way to force a new tab. I now need to decide if the value of displaying the relevant manual page out-weighs the downside of the user now having to reload the Unraid GUI into another tab. Have you tried embeding the contents of the User Manual page inside a div in the current page using javascript?
September 9, 20232 yr 4 hours ago, BRiT said: Have you tried embeding the contents of the User Manual page inside a div in the current page using javascript? The link is via clicking on a notification - I do not see how embedding the link in the page can be leveraged from a notification? I wonder if it can be embedded in the text part of a notification in some way - might need to try that next.
September 10, 20232 yr 3 hours ago, itimpi said: The link is via clicking on a notification - I do not see how embedding the link in the page can be leveraged from a notification? I wonder if it can be embedded in the text part of a notification in some way - might need to try that next. Ah yeah, I lost that context.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.