This Help forum is for issues relates to the latest release (1.3.x). For issues related to beta or svn version please use their own Help forum.
Before asking for help please read "How to request help" by clicking on that tab above here.
  • Page:
  • 1

TOPIC:

Possible adding <HTML TAGS> in NOTE fields ???? 8 years 2 months ago #1

  • danmer
  • danmer's Avatar Topic Author
  • Visitor
  • Visitor
I cant insert iframe or other HTML tags in note fields (in facts and events and other)...

Its possible? Or not?

Please Log in or Create an account to join the conversation.

Possible adding <HTML TAGS> in NOTE fields ???? 8 years 2 months ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
This is not possible.

If it was, then one of your users could add a tag like this.
<script>do_evil();</script>

Then when you visit the page to review the change, your account/server could be compromised.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Possible adding <HTML TAGS> in NOTE fields ???? 8 years 2 months ago #3

  • danmer
  • danmer's Avatar Topic Author
  • Visitor
  • Visitor
i`m exclusive user on my site. Can you help advise me?

Or tell me the best way to implement a slideshow directly to the person

Please Log in or Create an account to join the conversation.

Last edit: by danmer.

Possible adding <HTML TAGS> in NOTE fields ???? 8 years 2 months ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
What are your programming skills? Do you know how to read/write/modify PHP scripts?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Possible adding <HTML TAGS> in NOTE fields ???? 8 years 2 months ago #5

  • danmer
  • danmer's Avatar Topic Author
  • Visitor
  • Visitor
intermediate, but i`m learning now and can make modifications in code.

Which file do I need to edit?

Please Log in or Create an account to join the conversation.

Last edit: by danmer.

Possible adding <HTML TAGS> in NOTE fields ???? 8 years 2 months ago #6

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 14515
Notes are printed in these functions

print_main_notes()
print_note_record()

(and possibly others).

The note text is formatted with the function expand_urls(). Possibly just remove these functions. I haven't tested this.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Possible adding <HTML TAGS> in NOTE fields ???? 8 years 2 months ago #7

  • danmer
  • danmer's Avatar Topic Author
  • Visitor
  • Visitor
Thank you very much! For the quick response))

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum