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 - Rob de Jager

Pages: [1] 2 3 4
1
Web Server - Share Knowledge / Logout without using the Logout Button
« on: July 19, 2014, 04:58:25 AM »
I recently had to be reminded of how to log out using a url and not a logout button. A log out url comes in handy, for example, when you want to use a menu or menu item in the Nettalk menu extension to log out with.

In the url field, place the pagename you want the user to navigate to, with the parameter (?) logout_btn=logout_btn, for example indexpage?logout_btn=logout_btn.




2
Web Server - Ask For Help / Re: NT7.12 p_web.SetAlert Compile error
« on: June 28, 2013, 05:19:19 AM »
Hi Johan
I think it was
    loc:alert = 'some message'
    p_web.SetAlert(loc:alert, net:Alert + Net:Message,'formprocedurename')

Cheers

3
Web Server - Ask For Help / Re: Edit Text Field with Mobile
« on: June 18, 2013, 12:47:37 AM »
I get the same effect on my IPad.

4
Web Server - Ask For Help / Re: Planner Problems
« on: June 18, 2013, 12:46:21 AM »
I cannot duplicate it in 7.12. It seems to be fixed.

5
Hi Hector,

You won't know if the user has left the browser, so the only way to destroy sessions in this case is to set the session expiry time.

The "Session Timeout" is a template option - WebServer procedure / Settings / Advanced tab

Cheers


Rob

6
Hi Matthew, I might be missing something, but try setting the field as a required field. It removes the requirement for your code. Then look for a suitable embed point around the alert routine to do our logging.

Cheers

Rob

7
Web Server - Ask For Help / Re: Thank you!
« on: March 30, 2012, 04:32:02 AM »
It is really embarrassing to read all this shameless sucking up and glorifying of one the best programmers around; who has developed one of the most incredible / innovative clarion tools to date.  ;)

Cheers

Rob
 

8
Web Server - Ask For Help / Re: Disabling Right Click on Gallery
« on: March 29, 2012, 06:41:43 AM »
Hi Johan

At the point when the image is visible, it is already on disk. If the user really wants it, all he has to do is to go and look in the browser cache.

It would be "safer" to watermark the image using freeimage.

Slight off topic but for more info though, NetTalk uses the JQuery pluggin Ad Gallery to display images. It has a couple of options not exposed in the template, which you can change in the script file, look at http://coffeescripter.com/code/ad-gallery/ for more info.

Cheers


Rob





9
Web Server - Ask For Help / Re: Browse Parent-Child help
« on: March 29, 2012, 01:36:43 AM »
The "final" filter is set in loc:filterwas.
You can see this in the Start of "After SetView" embed in debugview if you put this code there : p_web._trace(Current filter = '  & loc:filterwas)

Cheers

Rob


10
Web Server - Ask For Help / Re: NetWebForm URL on Save
« on: March 28, 2012, 01:39:30 AM »
Hi Trent,

Firstly the gsv value must be already set when you open the form. If the form is popup; I have had no success getting the form to open a different url on save or cancel, other than back to the browse the form was called from.


Rob

11
I normally create a Unique ID field and key for each table ... preferably a guid. A long with an auto number will also work.

Rob

12
Web Server - Ask For Help / Re: OT::Error 47
« on: March 26, 2012, 01:00:44 PM »
Hi Johan,

One of two scenarios. Either the data file does not match your dictionary (which is the most likely cause) or the data file is corrupt. To check for corruption, use clarion's TpsFix.

To compare the data file to you dictionary, I would import the suspected datafile into your dictionary and compare it to the original file in your dict. Before the import, you might have to rename the original table name in your dict (so make a copy of the dict). You can also export the dict to txd and read the structures in notepad ++ or so. You might want to check out DMC....I think the DMC tool will do a compare of two files structures for you. Or TopScan both files and compare the two structures side by side.


Cheers


Rob

13
Hi Johan

It worked...here is my step by step screen shots.


Rob


[attachment deleted by admin]

14
Hi Johan

It works for me. Save as new file and overwrite existing file, both works. It sounds like you are having a permissions issue.


Rob

15
Web Server - Ask For Help / Re: TPS Error messages on server
« on: March 24, 2012, 09:39:44 AM »
Hi John,

Yes, the message will not pop up, but CS MessageBox will log the message for you to a file. You can then check the log file sporadically. The default file name is messagebox.log. If you run it as a process though,  CS MessageBox will allow you to set a timer as well, on the message window which closes the window automatically. For a WebServer make it very quick, say one second.

Cheers


Rob

Pages: [1] 2 3 4