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 ... 709 710 [711] 712 713 ... 744
10651
Hi Mike,

Are you editing the shipping CSS and JS files?
If not then you should be ok copying mine over yours, since your stuff will remain untouched.

The scripts folder is the most important one, and this has to be tightly syncronised with the generated CLW code.

The styles folder is the next most important because I add, or tweak, styles from time to time.

Ideally Images should also have different names to me, but this is less of a big deal because missing images are both obvious, and don't "break" the site.

So the bare minimum is to copy the scripts & styles.

Cheers
Bruce

10652
News And Views / Re: NetTalk Pre-Release version 4.31 available
« on: September 23, 2008, 07:19:18 AM »
PR 14 is up. This fixes the bugs in the EIP as well as a number of other fixes, and features, folk have asked for on this forum.

http://www.capesoft.com/ftp/public/prerelease/index.htm

Cheers
Bruce

10653
Web Server - Ask For Help / Re: More EIP woes
« on: September 22, 2008, 08:13:56 AM »
Thanks Bryan, I'll experiment with that example.

Cheers
Bruce

10654
Web Server - Ask For Help / Re: message if empty
« on: September 22, 2008, 07:49:48 AM »
Hi Kevin,

There is an embed point called
BeforeEmptyMessage
which you could use to add more conditional messages.

Usually, for a failed locator search you'll see 2 messages,
the first is from the Options tab and defaults to
'Enter a search term in the locator'

The second is on the general tab 'Message if Empty'

so between them you can put whatever you like. For example;

       If loc:LocatorValue <> ''
         packet = clip(packet) & '<tr><13,10><td>No records exist with your search text.</td></tr>'&CRLF
         do AddPacket
       End

Actually for reasons I can't quite explain the above _overwrites_ the first message, which is what you asked for. I'll have to follow it a bit closer to figure out why it overwrites it though.

Cheers
Bruce

10655
Web Server - Ask For Help / Re: More EIP woes
« on: September 22, 2008, 07:32:04 AM »
Is the browse file loaded or page loaded?

What is the unique key on this browse?

What fields are in that key?

What field are you sorting on?

Cheers
Bruce

10657
Hi Patrick,

I applaud your initiative at integrating ExtJs with NetTalk. I have investigated using ExtJs directly on an number of occasions.

Unfortunately the ExtJs license (GPL 3) is not ideal for many projects. If I were to bundle ExtJs with NetTalk there would be a fairly serious licensing problem for most NetTalk users.

That said, if there are "hooks" that can be added to NetTalk in order to make using ExtJs easier for you I would be happy to consider adding them for you.

Developers can of course purchase a commercial license of ExtJs (thus negating the requirements of GPL 3.)

Good luck with the project, and please keep us posted with your progress.

Cheers
Bruce

10658
Web Server - Ask For Help / Re: EIP - Insert new record
« on: September 19, 2008, 01:40:49 AM »
Hi Kevin,

At the moment you need a form - there's no IIP support yet.

Cheers
Bruce

10659
Web Server - Ask For Help / Re: Copy and Paste and right Click
« on: September 19, 2008, 12:30:38 AM »
Hi Kevin,

>> I just noticed before (in this new topic message screen) that if I have a spelling mistake I can simply right click and select the correction and it updates the word in this textbox.

Yes, I use FireFox, and it seems to do this for me - but only in Text boxes, not in Entry fields.


>> Also noticed I can copy and paste text around from within this text box but also from documents on my desktop. This also seems to work for Nettalk. But can I add just a button to a form to suck in this data (on the clipboard) and do something with it or would I need to copy it into a text box first?

In IE you can easily get, and set, the clipboard using JavaScript. So yes, you can perform the cut & paste for the user. In FireFox, Chrome & Safari though (for security reasons) don't allow this. (Think about it for a minute - accessing the clipboard via JavaScript means that when you visit a site, the clipboard can be sent to the server. One more reason not to use IE!)

>> Is there any functionality (or planned) in Nettalk to be able to add right click popup menus to Browses?

Maybe much later on. It would take a fair bit of work to make it work "right".

Cheers
Bruce

10660
Web Server - Ask For Help / Re: Printing
« on: September 18, 2008, 11:37:00 PM »
Hi Kevin,

It's the browse that does the printing, so I don't think there's any way to print "something the user can't see". In other words, if you want it to print, you have to send it to the browser first.

PDF gives you the most control over the end result because it handles page-layout and pagination. On the other hand, it doesn't "print automatically".

If you're sending them a nice clean HTML page then you can print it automatically when it arrives in the browser. But this approach also prints "extra stuff" on the page (typically the page name, date & time, page number, and so on.)

To make a Print dialog pop up as soon as the page in in the browser, add the following script somewhere on the page... (The user still has to click on "ok" though.)

<script type="text/javascript" defer="defer">print();</script>

Now for the 3 copies bit. This gets a bit tricky. when the dialog pops up they can set the copies to 3 - but that may not be ideal. So what you want to do then is send the HTML page containing 3 identical copies of what you want to print.

Between the 3 copies you add
<DIV style="page-break-after:always"></DIV>
which causes the pagination to happen.

Cheers
Bruce


10661
Web Server - Ask For Help / Re: Tab within Tab
« on: September 18, 2008, 11:04:47 PM »
fixed in 4.31 PR 14

Cheers
Bruce

10662
Web Server - Ask For Help / Re: Display extra fields in drop list?
« on: September 18, 2008, 07:05:48 AM »
Hi Charl,

great - I've got you 100%.

2 things;

a) I've added code to PR 14 so the Join gets done for you. You'll add the file to the Tables button, and add it as a HotField - but the template will just generate the VIEW correctly...

b) you've set the "Link File" in an attempt to make it work - but that's wrong, so just remove that setting.

If you're in a big hurry, then the workaround for this is;
a) remove the field as a hotfield
b) hand-code the Join inside the view (in the provided embed point).
c) and of course remove the incorrect link file mentioned above.

Cheers
Bruce

10663
Web Server - Ask For Help / Re: Display extra fields in drop list?
« on: September 17, 2008, 11:04:31 PM »
Hi Charl,

ah - yes - I follow you now. Thanks for the doc.

Just one question - Are you hand-coding any of that JOIN statement?

Cheers
Bruce

10664
Web Server - Ask For Help / Re: Field value filling another field
« on: September 17, 2008, 11:01:26 PM »
Hi Mike,

The code looks ok.

Is this server "live" somewhere where I can get to it?

My current guess is that there is something which renders the xml invalid. But I can see that easily if I browse to the page from here...

Failing that, the trick is to narrow down which of the routine calls below it is causing the problem. The easy way to test that is to duplicate them in your embed (all 4 of them) followed by a EXIT
Then you can comment them out one at a time to see which one is causing the problem. (My guess would be the call to do SendAlert )

Keep me posted.

Cheers
Bruce


Cheers
Bruce

10665
Web Server - Ask For Help / Re: Auto Refresh A Browse
« on: September 17, 2008, 10:39:56 PM »
Thanks for the analysis guys - I'll see what I can do to fix this.

Cheers
Bruce

Pages: 1 ... 709 710 [711] 712 713 ... 744