This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
16
Web Server - Ask For Help / Re: Change save button color in a form
« on: January 03, 2024, 05:12:59 AM »
Hector,
When in the form, press F12, inspect the button, change it css class to your colour, copy the rule and add it to your custom.css
Regards
When in the form, press F12, inspect the button, change it css class to your colour, copy the rule and add it to your custom.css
Regards
17
Web Server - Ask For Help / Re: Refreshing Maps(76) to new latitude and longitude
« on: December 29, 2023, 10:35:13 AM »
Hi Richard,
In all the code you use in the goto button the 3er parameter is the name of the waypoint, by example:
p_web.ntMap('GeneralMap','updateMarker','NewWp', p_web.GetLatLng(p_web.GetSessionValue('gm:Latitude')) , p_web.GetLatLng(p_web.GetSessionValue('gm:Longitude')) , p_web.WrapOptions(loc:options) , p_web.jsok('My Place', Net:HtmlOk*0+Net:UnsafeHtmlOk*0) , '1')
Then, in your loop you can name each waypoint and achieve what you need.
In all the code you use in the goto button the 3er parameter is the name of the waypoint, by example:
p_web.ntMap('GeneralMap','updateMarker','NewWp', p_web.GetLatLng(p_web.GetSessionValue('gm:Latitude')) , p_web.GetLatLng(p_web.GetSessionValue('gm:Longitude')) , p_web.WrapOptions(loc:options) , p_web.jsok('My Place', Net:HtmlOk*0+Net:UnsafeHtmlOk*0) , '1')
Then, in your loop you can name each waypoint and achieve what you need.
18
Web Server - Ask For Help / Re: Compile error in NetMaps example
« on: December 26, 2023, 07:34:10 AM »
I could make it work!
Add this line to update the marker instead of deleting it (still impossible) and insert it again...
after my last line add
p_web.ntMap('GeneralMap','updateMarker','NewWp', p_web.GetLatLng(p_web.GetSessionValue('gm:Latitude')) , p_web.GetLatLng(p_web.GetSessionValue('gm:Longitude')) , p_web.WrapOptions(loc:options) , p_web.jsok('My Place', Net:HtmlOk*0+Net:UnsafeHtmlOk*0) , '1')
and it will do what you need.
Add this line to update the marker instead of deleting it (still impossible) and insert it again...
after my last line add
p_web.ntMap('GeneralMap','updateMarker','NewWp', p_web.GetLatLng(p_web.GetSessionValue('gm:Latitude')) , p_web.GetLatLng(p_web.GetSessionValue('gm:Longitude')) , p_web.WrapOptions(loc:options) , p_web.jsok('My Place', Net:HtmlOk*0+Net:UnsafeHtmlOk*0) , '1')
and it will do what you need.
19
Web Server - Ask For Help / Re: Compile error in NetMaps example
« on: December 22, 2023, 06:28:43 AM »20
Web Server - Ask For Help / Re: Compile error in NetMaps example
« on: December 21, 2023, 08:00:10 AM »
Hi Bruce,
Trying to help I changed web 76 example adding some lines to the Go button of the General Map.
I can add a marker but I cant remove a Marker.
May you please check it?
Nettalkcentral does not allow me to upload the rar or zip so I will email it to you.
Thanks
Trying to help I changed web 76 example adding some lines to the Go button of the General Map.
I can add a marker but I cant remove a Marker.
May you please check it?
Nettalkcentral does not allow me to upload the rar or zip so I will email it to you.
Thanks
21
Web Server - Ask For Help / Re: Compile error in NetMaps example
« on: December 20, 2023, 04:29:55 AM »
Richard I
You need to replace the Here credentials by yours, the example credentials does not work.
Go to WebServer/Extensions/NetWebServer/Settings/Defaults/Maps and change the here APP code or API key
Take a look too to the Global Nettalk extention, Option tab
It seams that the WebServer Defaults get over the Nettalk Options.
Keep only one of those.
Best option is to set it by code:
net.Authenticate('HereAppID', ,'HereApiKey')
Cheers
You need to replace the Here credentials by yours, the example credentials does not work.
Go to WebServer/Extensions/NetWebServer/Settings/Defaults/Maps and change the here APP code or API key
Take a look too to the Global Nettalk extention, Option tab
It seams that the WebServer Defaults get over the Nettalk Options.
Keep only one of those.
Best option is to set it by code:
net.Authenticate('HereAppID', ,'HereApiKey')
Cheers
22
Web Server - Ask For Help / Re: Compile error in NetMaps example
« on: December 19, 2023, 11:14:58 AM »
Its cfiImgCt.inc
23
Web Server - Ask For Help / Re: NT Example Maps(76) question
« on: December 11, 2023, 04:58:10 AM »
Hi Richard, just use this method
SetMarker PROCEDURE(String pId,Real pLatitude,Real pLongitude,String pIcon,Long pIconIndex=1,Long pPointX=16,Long pPointY = 32,Long pHide=false),DERIVED
Using the same ID, you can update the marker.
Regards
SetMarker PROCEDURE(String pId,Real pLatitude,Real pLongitude,String pIcon,Long pIconIndex=1,Long pPointX=16,Long pPointY = 32,Long pHide=false),DERIVED
Using the same ID, you can update the marker.
Regards
24
Web Server - Ask For Help / Re: How do you do an address lookup on a mobile device's native map app from NT?
« on: December 06, 2023, 09:59:42 AM »
I dont fully understad what you need but if you need to open a google map you can add this in a button , onclick tab:
'https://www.google.com/maps/dir/?api=1&origin=' & p_web.GSV('_Latitude_') & ',' & p_web.GSV('_Longitude_') & '&destination='&ppar:latitud & ',' & ppar:longitud
'https://www.google.com/maps/dir/?api=1&origin=' & p_web.GSV('_Latitude_') & ',' & p_web.GSV('_Longitude_') & '&destination='&ppar:latitud & ',' & ppar:longitud
25
Web Server - Ask For Help / Re: Web Service Method - parallel nested tables
« on: November 30, 2023, 06:10:28 AM »
Hi Niels Larsen,
I dont fully undestand what you are tryinig to do but If you need to retreive only the invoices from each customer, in the customer node... at least you need a customer Field and a key in the invoices file.
What the view is doing is ok, you are asking for all the invoices in the regison inside each customer.
If you need a help doing the view make an ABC Browse linking the files as you need, once this browse shows what you want, just see the souce and duplicate it in the API method
Regards
I dont fully undestand what you are tryinig to do but If you need to retreive only the invoices from each customer, in the customer node... at least you need a customer Field and a key in the invoices file.
What the view is doing is ok, you are asking for all the invoices in the regison inside each customer.
If you need a help doing the view make an ABC Browse linking the files as you need, once this browse shows what you want, just see the souce and duplicate it in the API method
Regards
26
Web Server - Ask For Help / Re: Windows Popup Message
« on: November 30, 2023, 05:44:33 AM »
Hi rupertvz, you can use any of these:
p_web.Script('window.alert("Your message")')
p_web.popup('message', , 1, 'caption' )
p_web.Message()
Regards
p_web.Script('window.alert("Your message")')
p_web.popup('message', , 1, 'caption' )
p_web.Message()
Regards
27
Web Server - Ask For Help / Re: Error. Invalid String Start and String End positions. No data will be sent
« on: November 24, 2023, 09:29:52 AM »
FWIW, Ive opened the Bsic with Llogin example, set the defaul/secure on the webserver to Yes, goto the mailboxes browse and set it to no and it works.
Cheers
Cheers
28
Web Server - Ask For Help / Re: Error. Invalid String Start and String End positions. No data will be sent
« on: November 24, 2023, 08:24:30 AM »
Hi JohanR
What NT version? Ive tested it using 14.13 and works ok.
What NT version? Ive tested it using 14.13 and works ok.
29
Web Server - Ask For Help / Re: Center a WebBrowse
« on: November 09, 2023, 06:29:07 AM »
I mean, it may be easiest if we have a check in the template to "center the WebBrowse" or "make all the page centered"
Regarding non-webkit browsers, is there anyone? any sugestion to test?
Thanks
Regarding non-webkit browsers, is there anyone? any sugestion to test?
Thanks
30
Web Server - Ask For Help / Center a WebBrowse
« on: November 08, 2023, 10:15:32 AM »
Hi, to center a WebBrowse, his locator and buttons, I need to add the following css code:
(pic attached)
div#browsetasas_div {
text-align: -webkit-center;
}
div#browsetasas_table_div {
text-align: -webkit-center;
}
div#browsetasas_nav_b {
place-content: center;
}
div#browsetasas_update_b_div {
place-content: center;
}
Is there any other easy way?
Thanks
(pic attached)
div#browsetasas_div {
text-align: -webkit-center;
}
div#browsetasas_table_div {
text-align: -webkit-center;
}
div#browsetasas_nav_b {
place-content: center;
}
div#browsetasas_update_b_div {
place-content: center;
}
Is there any other easy way?
Thanks