11
Web Server - Ask For Help / Re: NetClient.Send error??
« Last post by jari@softmade.fi on January 10, 2026, 02:59:40 AM »Hi Ron,
I have the same problem. How did you manage to fix it?
Best regards,
Jari
I have the same problem. How did you manage to fix it?
Best regards,
Jari
12
Web Server - Ask For Help / Re: Multi site host maintenance message
« Last post by TimR on January 08, 2026, 03:42:39 PM »You are correct, however, I have multiple sites for different clients, using the same dlls, but with different web folders (for customization), I'm trying to avoid having to update a bunch of different files saying when "maintenance" is going to happen and just update one file instead. I could write a script to update/un update, but then I'd have to make sure new clients get added to this script, I have enough points of failure, don't need to add more if I can avoid it. Updates are generally pretty quick and at odd hours, to avoid users. I've also had the rare time where I would like to update asap, but I don't have a good mechanism to prevent users logging in or encourage them to give me 5 minutes for the update.
13
Web Server - Ask For Help / Re: Multi site host maintenance message
« Last post by rjolda on January 07, 2026, 05:17:06 PM »HI Tim,
I don't know much about multisite hosts but I think that each site gets compiled as a dll and my understanding is that the "host" will always be available even when one site's dll is down for maintenance. Therefore, I would think that you would want to notify only the site to get the update and not have it as a general message.
How are you going to deal with updates? How are you going to handle users that are already logged into your site when you want to do maintenance?
Ron
I don't know much about multisite hosts but I think that each site gets compiled as a dll and my understanding is that the "host" will always be available even when one site's dll is down for maintenance. Therefore, I would think that you would want to notify only the site to get the update and not have it as a general message.
How are you going to deal with updates? How are you going to handle users that are already logged into your site when you want to do maintenance?
Ron
14
Web Server - Ask For Help / Tooltip on droplist item?
« Last post by Jane on December 31, 2025, 01:42:40 PM »Is there a way to add a tooltip to dropdown items from the template (without omitting/rewriting template code in the embeditor?)
p_web.CreateOption has a place for a tooltip parameter, but I'm not seeing how to specify that in the form template.
And I couldn't find a way to wrap the droplist choice in a <span>.
Am I missing something obvious? NT 14.36
p_web.CreateOption has a place for a tooltip parameter, but I'm not seeing how to specify that in the form template.
And I couldn't find a way to wrap the droplist choice in a <span>.
Am I missing something obvious? NT 14.36
Code: [Select]
packet.append(p_web.CreateOption('Excluded contact','EXCLUDED',choose(lower('EXCLUDED') = lower(p_web.getSessionValue('dischargeBrowseResolvedFilter'))),'',loc:extra,'Appointment not needed OR Appointment declined OR HMO/other PCP')&p_web.CRLF) !k15
Web Server - Ask For Help / Multi site host maintenance message
« Last post by TimR on December 23, 2025, 05:30:50 PM »I would like to be able to have a message warning users that maintenance (updates) will be performed at a certain date/time. I have it working for a single site using <!-- Net:f:update.htm -->It is just a banner that displays in the header, when maintenance is pending.
I would like to be able move this file to my c:\host\web directory instead of the c:\host\site\web directory so I only have to change it in one place, instead of each website web folder. I tried setting it to <!-- Net:f:c:\host\web\update.htm --> but that didn't work. Can I do this?
I would like to be able move this file to my c:\host\web directory instead of the c:\host\site\web directory so I only have to change it in one place, instead of each website web folder. I tried setting it to <!-- Net:f:c:\host\web\update.htm --> but that didn't work. Can I do this?
16
Web Server - Ask For Help / Re: Change Page Title - browser tab description
« Last post by JohanR on December 03, 2025, 08:55:27 PM »Hi Jane
Thanks!
Coincidentally I found the same way late last night from ChatGPT, but did not try to implement.
Got it working this morning by adding this to the "send new value to server" embed
p_web.Script('document.title="' & clock() & '";')
Pretty handy, multiple tabs, can display client name, quote nrs, order nr, status etc...
Hardest thing to do now is decide what to display and to keep it short enough
NTWS covers so much thought there might be a builtin method.
thanks again
Johan
Thanks!
Coincidentally I found the same way late last night from ChatGPT, but did not try to implement.
Got it working this morning by adding this to the "send new value to server" embed
p_web.Script('document.title="' & clock() & '";')
Pretty handy, multiple tabs, can display client name, quote nrs, order nr, status etc...
Hardest thing to do now is decide what to display and to keep it short enough
NTWS covers so much thought there might be a builtin method.
thanks again
Johan
17
Web Server - Ask For Help / Re: Change Page Title - browser tab description
« Last post by Jane on December 03, 2025, 05:11:58 PM »I haven't done it.
But as an experiment, Johan, open the F12 developer tools and switch to the Console tab.
Type in
But as an experiment, Johan, open the F12 developer tools and switch to the Console tab.
Type in
Code: [Select]
document.title="Invoice 123";18
Web Server - Ask For Help / Re: Change Page Title - browser tab description
« Last post by JohanR on December 02, 2025, 09:39:44 PM »Hi Ron
No,
Its the 'Orders' with the red logo which is on one of the browser tabs.
Currently it's generic, but would be good to have the actual order number there or the quote nr,
if multiple tabs are open
I have added an attachment that currently show multiple tabs with the order nr , this is loaded at page loading,
Trying to see if I can change that text while the user is on the form, eg. when it's a quote and the users converts to a confirmed order, then change it from the quote nr to the order nr.
This is not critical, but a nice touch, and would be good to know how to access that data as it might have other uses for feedback.
This is an example of Bitfinex crypto trading exchange updating the price live
https://trading.bitfinex.com/trading?type=exchange
regards
Johan
No,
Its the 'Orders' with the red logo which is on one of the browser tabs.
Currently it's generic, but would be good to have the actual order number there or the quote nr,
if multiple tabs are open
I have added an attachment that currently show multiple tabs with the order nr , this is loaded at page loading,
Trying to see if I can change that text while the user is on the form, eg. when it's a quote and the users converts to a confirmed order, then change it from the quote nr to the order nr.
This is not critical, but a nice touch, and would be good to know how to access that data as it might have other uses for feedback.
This is an example of Bitfinex crypto trading exchange updating the price live
https://trading.bitfinex.com/trading?type=exchange
regards
Johan
19
Web Server - Ask For Help / Re: Change Page Title - browser tab description
« Last post by rjolda on December 02, 2025, 02:12:35 PM »HI Johan,
Are you trying to change Tab (Laptop5) to something else like Tab (LaptopDONE)? Is that what you are trying to change?
Ron
Are you trying to change Tab (Laptop5) to something else like Tab (LaptopDONE)? Is that what you are trying to change?
Ron
20
Web Server - Ask For Help / Re: Change Page Title - browser tab description
« Last post by JohanR on December 02, 2025, 06:21:15 AM »Hi Ron
Apologies, my question probably was not clear, seemed very clear to me when I was typing it
See the attachment
On the procedure General TAB, I can specify the page title and I can use a session variable
Looking in the code it is loaded with this line
p_web.MakePage('OrderMasterForm',Net:Web:Form,p_web.site.LoginRequired,p_web.GSV('my_title'),,,)
So I'm hoping to change that to a dynamic quote nr, or an order nr as the user changes the status on the page.
I also possibly created confusion with this line , Ignore this
p_web.ntForm(loc:formname,'setTabHeadingText',0,clip(loc:quote_tab_text))
thanks
Johan
Recent Posts