NetTalk Central

Recent Posts

Pages: 1 ... 4 5 [6] 7 8 ... 10
51
Web Server - Ask For Help / Re: Different menu if they log on from mobile phone.
« Last post by Bruce on April 08, 2024, 02:38:11 AM »
>> However, I want to change some behavior of the app on mobile screen.

I think you need to define "mobile screen". Is my laptop mobile? is my 13" ipad?

>> I want to change the menu items - some so display and some not to display.  How does that  get done?

if you are basing the "mobileness" on resolution, then attach a css class to the menu item, and use css to set
display:none
when that resolution is met (ie with a media query).

Cheers
Bruce
52
Web Server - Ask For Help / Different menu if they log on from mobile phone.
« Last post by rjolda on April 06, 2024, 06:18:02 AM »
Hi,
I want to display a different menu and possibly a different start screen when the users log onto my program with a mobile phone.  I am using @media <600 to trap small screens.  My menus do change to the hamburg menu.  I have created custom css for the small screens to display correctly.  However, I want to change some behavior of the app on mobile scren.

1. I want to change the menu items - some so display and some not to display.  How does that  get done?  I doubt that i can capture @media < 600 and use it as a condition.  The other way that I can think of is to add a class attribute to the menu items and change their properties in the css.  Which is doaboe or better?

2. I want to display a page with "3 Action Buttons" when they log in on a mobile phone.  One way would be to give it a class name and hide it and use CSS to display if it is in on a small screen.

Any help will be appreciated.
Thanks,
Ron
53
Fresh day with fresh results.  ;D. I used the name of the view 'MSCView' and not what I was shown in debugview++ 'View|1'. Once I changed this I saw the translation take place for my return results.

What worked is in BuildResultsFields at Priority 5000 I added code similar to the following.

        renameView = 'view|1'
        renameViewField = UPPER('MSCVER:VersionSequence')
        renameViewJson = 'VersionSequence'
        json.reflection.SetRename(renameView, renameViewField, renameViewJson)

Jeff
54
Web Server - Ask For Help / Clarionlive not secure
« Last post by osquiabro on April 05, 2024, 05:36:54 AM »
Bruce check your certificate for clarionlive
55
Thank you Jane- Works Perfectly

I left the code in the ServerSide Code in  a Button, but removed the report name from Onclick
Then I created a second button  "write Report" and included the Reportname in OnClick
Ran them both
Report has the Count !!!
Cheers
Richard
56
Write a separate routine to read through and count all the records that will be in the report.
Run that BEFORE you OPEN the report.
That way the report header can have the correct information.
57
I have several tables that I need to change the way the json is created. I originally had used the external name of the table field to force the json to use upper and lower case. This worked great but, I have to convert these tables to the IPDriver which has proven to not like external names on any fields. Removing the external names fixes all my IPDriver problems but now my nettalk web service methods are not properly setup to translate the json. I found that reflection might be able to solve my issue. I have been able to use json.reflection.walk() to see what is being done with the json. I have been able to use json.reflection.rename() to change the reflection entry. I am not able to figure out where to put this code as I am not getting the results I would like. Nothing is actually getting renamed. I only see that I will need to make these translations on loading and saving of the table for gets as well as updates and adds.

from debugview

797   611.954211   7984   MSCClientWeb.exe   [3][rf]FIELD: GroupName=[MSCVERView] ColumnName=[MSCVER:VERSIONSEQUENCE] Num=[0] Type=[rf:NotSet] Rename=[VersionSequence] Pic=[] Attributes=[]


Any help would be appreciated on this.
58
Post a small example showing the affect and I can comment on what you might be doing wrong.
59
Hi
I have a report where I am totalling the number of records being displayed  using loc:Count+=1
A stop statement  into the Serverside code  returns a total number correctly both as loc:Count and as p_web.GSV('loc:Count')

My problem is getting the count value to display in the Header of the report.

Ive tried in WindowManager OpenReport Procedure after Parent Call SetTarget(report)
and in PrimeReportOptions when run in web mode...

loctotal     = p_web.GSV('loc:Count')
where loc:Total is a long N_4

But both return 0 in the report
What do I need to do , please?
Thanks
Richard
NT 14.20

60
Web Server - Ask For Help / Re: Freezing when applying security to buttons
« Last post by Richard I on April 03, 2024, 12:38:16 PM »
Hi Bruce,
 the problem of freezing applied to On the browse line buttons
Simply removed them and just using the below browse change delete buttons which will hide with security applied.
Thanks
Richard
Pages: 1 ... 4 5 [6] 7 8 ... 10