NetTalk Central

Show Posts

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.


Messages - Bruce

Pages: [1] 2 3 ... 696
1
Web Server - Ask For Help / Re: Next button breaks browse
« on: September 22, 2021, 09:56:08 PM »
update to 12.26

2
Web Server - Ask For Help / Re: URL on Save not Working - Memory PopUp Form
« on: September 19, 2021, 10:06:09 PM »
yes, since it's a popup, in NT 11 it does not use the URL's, it simply closes the popup. You could change to a Page based form if you wish the form to go to different URL's on Save or Cancel.

This was on my list for changing in NT12, but I'm not sure if I've done that  yet.

cheers
Bruce


3
Web Server - Ask For Help / Re: NT12 and empty comments
« on: September 19, 2021, 10:02:12 PM »
Hi Alberto,

It looks like your comment fields are set with a background color and border color. That's somewhat unusual. Which theme are you using? Is this done by the theme, or by your custom.css?

cheers
Bruce

4
Web Server - Ask For Help / Re: Global setting of DatePicker Options
« on: September 16, 2021, 12:28:41 AM »
thanks Alberto - fixed for 12.26

5
Web Server - Ask For Help / Re: How to Enable and Disable CancelButton
« on: September 15, 2021, 04:53:05 AM »
If the form is in View-Only mode there should not be an Ok or Cancel button.
Just a Close button.

So perhaps post an example of what you are doing? Tweak one of the shipping examples to show the effect maybe?

cheers
Bruce

6
Web Server - Ask For Help / Re: Global setting of DatePicker Options
« on: September 15, 2021, 04:49:31 AM »
Hi Gordon,

for the possible options to the date picker (ie the options that Alberto is using below) see
https://api.jqueryui.com/datepicker/

There are a LOT of possible options, so you can do whatever you like.

Alberto: Unfortunately I have not been able to duplicate the issue that you reported. It may be related to one of the options you are using. From your report it is not clear if the error only occurs with your global options setting? or if it happens without the options?

Cheers
Bruce

7
Web Server - Ask For Help / Re: SQL browse problem
« on: September 13, 2021, 10:09:12 PM »
possibly.

8
Web Server - Ask For Help / Re: Problem with NT 12.25
« on: September 08, 2021, 10:36:21 PM »
Hi Richard,
An example app with the effect would be most useful in understanding it

Thanks
Bruce

9
Web Server - Ask For Help / Re: Odd lookup behaviour
« on: September 07, 2021, 11:13:26 PM »
Hi Gordon,

This is one of those cases where it is impossible to really understand the problem without an example.
The fact that it is intermittent suggests that you are somewhere doing "2 things at once" and the timing can vary from one to the other. so yeah, an example will help, even if it is intermittent.

Cheers
Bruce

10
Web Server - Ask For Help / Re: Select list greybar 12.25?
« on: September 07, 2021, 11:10:47 PM »
Hi Jane,

As with most (all?) CSS you can override earlier settings in your custom.css file.
In this case you are "setting" CSS variables, and that's done inside the :root tag. So in other words;

:root{
  --font-size:14pt;
}

I would likely limit this approach to a smallish number of variables - there's a point at which you are just creating a new theme, and it's better to clone the theme to some new name, and go from there. but for a small number of settings this approach should be fine.

cheers
Bruce

11
Web Server - Ask For Help / Re: Select list greybar 12.25?
« on: September 06, 2021, 10:47:27 PM »
Hi Jane,

the greenbarring is handled by some css in jquery-ui.theme.css circa line 482;

.nt-select-height>.ui-menu-item:nth-child(odd){
   background-color:var(--select-droplist-background);
}
.nt-select-height>.ui-menu-item:nth-child(even){
   background-color:var(--select-droplist-background-2);
}
.nt-select-height>.ui-menu-item:hover{
   background-color:var(--select-droplist-background-hover);
}

notice the use of css variables here;
--select-droplist-background
and
--select-droplist-background-2

All the css variables are defined and set in nt-theme.css

In the base theme they are declared circa line 580;
   --select-droplist-background:var(--lightest-primary);
   --select-droplist-background-2:var(--lightest-secondary);

so yes, the easier way is just to adjust your nt-theme.css file.
You can put direct colors in here if you like, or you could use one of the defined palette colors (which you'll see declared near the top of the file, and which you can also inspect in the themer example.)

If you like I can walk through this with you in the User Group webinar.

cheers
Bruce


12
Web Server - Ask For Help / Re: I need to modify the header before posting
« on: September 05, 2021, 10:54:17 PM »
no

13
Web Server - Ask For Help / Re: I need to modify the header before posting
« on: September 02, 2021, 08:06:47 PM »
Hi Ray,

An HTTP header contains a list of name: value pairs. This looks something like this;

POST /updatecustomers HTTP/1.1
Host: 127.0.0.1:88
Connection: keep-alive
Content-Length: 2332
Accept: */*
DNT: 1

And so on.

So when someone says "put it in the header", it's helpful to know which header they are talking about. From your post you imply  it might be the Authorization header. For example;

Authorization: ABCD

To do that is trivial. Simply set

Postnet.Authorization = 'ABCD'

That said the Authorization header is often (correctly) used in a more formal way. For example;

Postnet.Authorization = 'Basic ' & whatever
or
Postnet.Authorization = 'Bearer ' & whatever
or Digest, or NTLM or something else.

The Whatever part is then encoded depending on the form - Basic has a specific encoding, Digest has another and so on.

Hence the question about specifics. We basically need more than "just include in the header" in order to answer your question. An example of the header, or a Curl example would be sufficient to more accurately answer your question.

cheers
Bruce



14
Web Server - Ask For Help / Re: I need to modify the header before posting
« on: September 01, 2021, 05:26:21 AM »
Hi Ray,

I think it'd be helpful if you have more details about specifically what you need in the header.
There are any number of things tat _could_ be in play here, so it's helpful if you know the specifics of what you are actually looking for.

Cheers
Bruce



15
Web Server - Ask For Help / Re: NetTalk 12.20 Export XML
« on: September 01, 2021, 05:12:35 AM »
Hi Vinnie,

Thanks. 20.25 is up.
Sorry it got lost in 20.24.

Cheers
Bruce

Pages: [1] 2 3 ... 696