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 / CKEditor
« on: December 03, 2021, 11:09:16 PM »
hi
i enable ckeditor for a text and if i put a paragraph in it, at desktop view it looks ok.
but in smaller screen, it does not get resize.
also, ckeditor dont have option to select font, make the text center, paragraph indent option like tinymce.
regards,
Jason
nt12.29
c11
i enable ckeditor for a text and if i put a paragraph in it, at desktop view it looks ok.
but in smaller screen, it does not get resize.
also, ckeditor dont have option to select font, make the text center, paragraph indent option like tinymce.
regards,
Jason
nt12.29
c11
17
Web Server - Ask For Help / chat field in netwebform
« on: November 29, 2021, 07:38:37 PM »
hi
what is the use of the chat form field type?
i need to create AI Chat like page. The first screen will ask question with some answers as option. when they select the answer, then i need to show another set of question. some question can have 2 answer option. some will have more than 2 option. thus, both question and answer will be in a separate database.
Please give some ideas on how to do this?
Thank you
regards,
Jason
nt11.53
c11
what is the use of the chat form field type?
i need to create AI Chat like page. The first screen will ask question with some answers as option. when they select the answer, then i need to show another set of question. some question can have 2 answer option. some will have more than 2 option. thus, both question and answer will be in a separate database.
Please give some ideas on how to do this?
Thank you
regards,
Jason
nt11.53
c11
18
Web Server - Ask For Help / text for select button
« on: November 09, 2021, 12:13:47 AM »
hi
in a browse, when i put a select button without any text, it shows fine with icon.
if i put a text eg 'Select this record' then the button is not resized accordingly to show both text and icon.
how do i fix it?
regards,
jason
nt11.51 c11
in a browse, when i put a select button without any text, it shows fine with icon.
if i put a text eg 'Select this record' then the button is not resized accordingly to show both text and icon.
how do i fix it?
regards,
jason
nt11.51 c11
19
Web Server - Ask For Help / json format in post data
« on: August 16, 2021, 02:09:42 AM »
hi everyone
i am making an api call and i need to provide some json info inside the post data
postdata = st.getvalue()
posturl = 'api.testdata.payme'
net.post(posturl,postdata)
sample post data:
{
"order" : {
"amountOfMoney" : {
"currencyCode" : "USD",
"amount" : 2345
},
"customer" : {
"merchantCustomerId" : "1234",
"billingAddress" : {
"countryCode" : "US"
}
}
},
"hostedCheckoutSpecificInput" : {
"variant" : "testVariant",
"locale" : "en_GB"
}
}
usd, 234, 1234, US should be variables.
how do i put it inside string theory?
i have tried the following way but compiler gives error of misused of {{
st.setvalue('{order": {"amountOfMoney" : {"currencyCode" : "' & LOC:CurrencyCode & '","amount" : ' & LOC:Amount......&'}}'
regards,
Jason
nt11.53
c11
i am making an api call and i need to provide some json info inside the post data
postdata = st.getvalue()
posturl = 'api.testdata.payme'
net.post(posturl,postdata)
sample post data:
{
"order" : {
"amountOfMoney" : {
"currencyCode" : "USD",
"amount" : 2345
},
"customer" : {
"merchantCustomerId" : "1234",
"billingAddress" : {
"countryCode" : "US"
}
}
},
"hostedCheckoutSpecificInput" : {
"variant" : "testVariant",
"locale" : "en_GB"
}
}
usd, 234, 1234, US should be variables.
how do i put it inside string theory?
i have tried the following way but compiler gives error of misused of {{
st.setvalue('{order": {"amountOfMoney" : {"currencyCode" : "' & LOC:CurrencyCode & '","amount" : ' & LOC:Amount......&'}}'
regards,
Jason
nt11.53
c11
20
Web Server - Ask For Help / JWT Json Web Token
« on: July 20, 2021, 01:51:35 AM »
hi
i need to Create the JWT token (https://jwt.io/) with the following claims:
{
"iss": "your_api_key",
"ist": "project",
"iat": current_timestamp_in_seconds,
"exp": expire_timestamp_in_seconds,
"jti": "jwt_nonce"
}
i was told to run a phyton script to get the token
import jwt
import time
import uuid
print jwt.encode({"iss": "my-account-API-key",
"iat": int(time.time()),
"exp": int(time.time()) + 180,
"ist": "project",
"jti": str(uuid.uuid4())},
'my-API-secret',
algorithm='HS256')
how to do this in nettalk??
jason
c11
nt11.51
i need to Create the JWT token (https://jwt.io/) with the following claims:
{
"iss": "your_api_key",
"ist": "project",
"iat": current_timestamp_in_seconds,
"exp": expire_timestamp_in_seconds,
"jti": "jwt_nonce"
}
i was told to run a phyton script to get the token
import jwt
import time
import uuid
print jwt.encode({"iss": "my-account-API-key",
"iat": int(time.time()),
"exp": int(time.time()) + 180,
"ist": "project",
"jti": str(uuid.uuid4())},
'my-API-secret',
algorithm='HS256')
how to do this in nettalk??
jason
c11
nt11.51
21
Web Server - Ask For Help / jquery version conflicts
« on: April 21, 2021, 10:51:24 PM »
hi,
i have included some html codes that requires jquery-2.2.4.min.js
however, this breaks the nt form that is in the same page. NT is using version 3.3.1
it gives the error: Uncaught TypeError: $(...).ntbrowse is not a function
i have tried the following noconflict method with no success.
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script type="text/javascript">
$(...).ntbrowse = $.noConflict(true);
</script>
any suggestions?
regards,
jason
nt11.51
c11
i have included some html codes that requires jquery-2.2.4.min.js
however, this breaks the nt form that is in the same page. NT is using version 3.3.1
it gives the error: Uncaught TypeError: $(...).ntbrowse is not a function
i have tried the following noconflict method with no success.
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script type="text/javascript">
$(...).ntbrowse = $.noConflict(true);
</script>
any suggestions?
regards,
jason
nt11.51
c11
22
Web Server - Ask For Help / adding google analytic via embed
« on: April 12, 2021, 12:39:05 AM »
hi,
i have google analytic stored in a database for each customer.
i need to include it in the <head> before loading the customer page.
i have the value stored in a session value.
May I know which embed point and the code to include the script?
i have tried p_web.addscript(p_web.gsv('cus_googleanalytic')) in webhandler - add script embed point
but it is not reflecting in the source code of my customer page.
jason
nt11.51
c11
i have google analytic stored in a database for each customer.
i need to include it in the <head> before loading the customer page.
i have the value stored in a session value.
May I know which embed point and the code to include the script?
i have tried p_web.addscript(p_web.gsv('cus_googleanalytic')) in webhandler - add script embed point
but it is not reflecting in the source code of my customer page.
jason
nt11.51
c11
23
Web Server - Ask For Help / Share Link feature
« on: April 03, 2021, 01:23:46 AM »
hi,
i have a browse (Procedure Name: Products) in grid format and view button and i wanted to put a share button and i need to generate the link for it.
If it is to share link for browse, i could use the anchor feature. Thus, i can generate link like this : www.mywebsite.com/products?a=100
However, the record id 100 may have more detailed information in the form (Procedure name: ViewDetail). Therefore, i need to generate a link so that the user can open the form directly.
for the form, under advanced tab, i put a session value (ChosenProductID).
the link : www.mywebsite.com/viewdetail?a=100 does not work consistently. Sometimes i get record not found.
the link: www.mywebsite.com/viewdetail?chosenproductid=100 does not work too.
Any advice to get this done correctly?
thanks
jason
nt11.51
c11
i have a browse (Procedure Name: Products) in grid format and view button and i wanted to put a share button and i need to generate the link for it.
If it is to share link for browse, i could use the anchor feature. Thus, i can generate link like this : www.mywebsite.com/products?a=100
However, the record id 100 may have more detailed information in the form (Procedure name: ViewDetail). Therefore, i need to generate a link so that the user can open the form directly.
for the form, under advanced tab, i put a session value (ChosenProductID).
the link : www.mywebsite.com/viewdetail?a=100 does not work consistently. Sometimes i get record not found.
the link: www.mywebsite.com/viewdetail?chosenproductid=100 does not work too.
Any advice to get this done correctly?
thanks
jason
nt11.51
c11
24
Web Server - Ask For Help / Why W strikethrough appears instead of backslash?
« on: April 02, 2021, 03:15:06 AM »
hi,
i have a field named BLI:CompanyProfile and i have 3 fields in a form,
one to upload. one as display. another as string.
upload works and display shows the value correctly. but if i populate it in string, then it shows the W.
it works ok in previous nt version.
attached is the snapshot.
it happens in text field too but for that, i use st:parameters to fix it.
jason
nt11.51
c11
i have a field named BLI:CompanyProfile and i have 3 fields in a form,
one to upload. one as display. another as string.
upload works and display shows the value correctly. but if i populate it in string, then it shows the W.
it works ok in previous nt version.
attached is the snapshot.
it happens in text field too but for that, i use st:parameters to fix it.
jason
nt11.51
c11
25
Web Server - Ask For Help / nettalk and website template
« on: February 01, 2021, 08:43:29 PM »
hi friends,
some of my customers request a design template or one page template to be merged with nettalk.
thus, in order to do that, i am thinking in theory to do the following:
a) put the html codes of <head> into pageheader
b) put the <body> codes into a netwebpage
c) put the footer codes into a pagefooter
d) i have product database. In order to incorporate that, i need to call a source procedure from netwebpage and loop the product file and generate the html code inside the <body>
i guess some of you have done this before. as such, i am seeking for your kind advice on this matter.
is my approach correct?
is there any better way to do?
kindly advice. thanks.
regards,
Jason
nt11.50
c11
some of my customers request a design template or one page template to be merged with nettalk.
thus, in order to do that, i am thinking in theory to do the following:
a) put the html codes of <head> into pageheader
b) put the <body> codes into a netwebpage
c) put the footer codes into a pagefooter
d) i have product database. In order to incorporate that, i need to call a source procedure from netwebpage and loop the product file and generate the html code inside the <body>
i guess some of you have done this before. as such, i am seeking for your kind advice on this matter.
is my approach correct?
is there any better way to do?
kindly advice. thanks.
regards,
Jason
nt11.50
c11
26
Web Server - Ask For Help / chinese words in text field
« on: November 13, 2020, 02:03:28 AM »
hi friends,
anyone have experience of putting chinese words in the text fields?
i put utf-8 for charset and store data as.
my backend is ms sql
i can type the word 如 but after i save it, it becomes 冂
how do i fix this?
jason
nt11.46
c11
anyone have experience of putting chinese words in the text fields?
i put utf-8 for charset and store data as.
my backend is ms sql
i can type the word 如 but after i save it, it becomes 冂
how do i fix this?
jason
nt11.46
c11
27
Web Server - Ask For Help / insert image in tinymce xhtml text field
« on: October 19, 2020, 06:53:32 PM »
hi friends,
i could add the image in the xhtml enabled text field if my application is under debug mode.
but once i turn on the web mode, then i could not insert image in the field.
even if i put the html line, it shows empty box.
<div id="site_content">
<div id="content">
<div class="content_item"><img title="" src="http://www.rks.com.my/images/mrp.png" alt="" width="241" height="52" border="0" />
<h1>testing image</h1>
what am i doing it wrong?
jason
i could add the image in the xhtml enabled text field if my application is under debug mode.
but once i turn on the web mode, then i could not insert image in the field.
even if i put the html line, it shows empty box.
<div id="site_content">
<div id="content">
<div class="content_item"><img title="" src="http://www.rks.com.my/images/mrp.png" alt="" width="241" height="52" border="0" />
<h1>testing image</h1>
what am i doing it wrong?
jason
28
Web Server - Ask For Help / browse total
« on: September 15, 2020, 08:12:23 PM »
hi friends,
i have a memory form with a browse. in the memory form, i have some fields and a other button (add btn) and after they fill in and press the add button, the records added to the browse and it gets refreshed. works fine.
but once i put total a check the totalling of a field in that browse , then all stops working.
if i press the delete button of a browse, it does not get refreshed. when i press the add button, the code does let the record added but it does not get refreshed.
does anybody use the totalling function and experience this?
jason
c11
nt 11.43
i have a memory form with a browse. in the memory form, i have some fields and a other button (add btn) and after they fill in and press the add button, the records added to the browse and it gets refreshed. works fine.
but once i put total a check the totalling of a field in that browse , then all stops working.
if i press the delete button of a browse, it does not get refreshed. when i press the add button, the code does let the record added but it does not get refreshed.
does anybody use the totalling function and experience this?
jason
c11
nt 11.43
29
Web Server - Ask For Help / excel export in browse
« on: August 20, 2020, 01:44:57 AM »
hi friends,
is there a way to rename the worksheet before export the browse?
i notice there is only ExcelExport.SetWorkSheet and ExcelExport.WithWorkSheet
it would be great if we have excelexport.renameworksheet
also, i would like to put a name at the first row and column and when i put it as
ExcelExport.SetCell(1,1,'Booking Sheet')
i only see the first column and row as 0
jason
is there a way to rename the worksheet before export the browse?
i notice there is only ExcelExport.SetWorkSheet and ExcelExport.WithWorkSheet
it would be great if we have excelexport.renameworksheet
also, i would like to put a name at the first row and column and when i put it as
ExcelExport.SetCell(1,1,'Booking Sheet')
i only see the first column and row as 0
jason
30
Web Server - Ask For Help / dynamically rename url path
« on: August 05, 2020, 07:24:36 PM »
hi friends,
i have a procedure called Product.
when i call that procedure, then the url path is localhost/product
i will be using the same procedure for other business option like Services, Consultation and so on (i provide the entry field for the customer to type their own service name).
thus, for example, if the customer select the option as Consultation, then the url should be
localhost/consultation
but since the procedure is Product, thus the url remains localhost/product
how do i achieve it as localhost/consultation
any idea?
jason
nt11.41
c11
i have a procedure called Product.
when i call that procedure, then the url path is localhost/product
i will be using the same procedure for other business option like Services, Consultation and so on (i provide the entry field for the customer to type their own service name).
thus, for example, if the customer select the option as Consultation, then the url should be
localhost/consultation
but since the procedure is Product, thus the url remains localhost/product
how do i achieve it as localhost/consultation
any idea?
jason
nt11.41
c11