NetTalk Central

Author Topic: NetWebBrowse - trying to remove the template CreateHyperlink() call  (Read 4059 times)

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Hi Bruce/Folks,

So I'm trying to put a custom url into a browse field.

But at the moment, no matter what options I select, I can't seem to get the template-code to not wrap it in a CreateHyperlink() call.

Screens attached.

Am I missing something basic?

[attachment deleted by admin]
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NetWebBrowse - trying to remove the template CreateHyperlink() call
« Reply #1 on: June 24, 2015, 10:30:13 PM »
Hi Stu,

Because you are putting the actual "html" in the field, you don't need to set anything on the "on click" tab (and indeed everything there should be off")

currently you have "field contains URL" set on - but that is wrong because the field contains HTML, not a URL. (You would only tick this on if the field was (and only was) a URL.)

If you put HTML in the Display field then you will likely need "allow html" on there as well, and possibly "allow unsafe html" as well.

cheers
Bruce


Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: NetWebBrowse - trying to remove the template CreateHyperlink() call
« Reply #2 on: June 25, 2015, 12:37:32 AM »
Hi Bruce,

Sorry, wasn't clear .. That doesn't make any difference.

Field contains URL OFF, still has the CreateHyperlink() wrapping. Screens attached.

[attachment deleted by admin]
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NetWebBrowse - trying to remove the template CreateHyperlink() call
« Reply #3 on: July 08, 2015, 05:27:45 AM »
Hi Stu,
have you got a space between the < and the a ?

ie this is legal
<a href="whatever">

this is not;
< a href="whatever">

I've tested here a bit, and if I take the space away then the URL looks right.

cheers
Bruce

Stu

  • Hero Member
  • *****
  • Posts: 510
    • View Profile
    • Email
Re: NetWebBrowse - trying to remove the template CreateHyperlink() call
« Reply #4 on: July 08, 2015, 04:56:27 PM »
Hi Bruce,

Is legit html. No bad spaces.

I've gotten around it since posting this, but check the screens. There's something happening there.

Will try and do up an example.

Stu
Cheers,

Stu Andrews

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: NetWebBrowse - trying to remove the template CreateHyperlink() call
« Reply #5 on: July 08, 2015, 10:36:03 PM »
yeah, I think an example will be helpful because when I tried to duplicate from your screens it seems to work ok.

cheers
Bruce