Web based family history software

Question Creating HTML block on Home Page

  • phendee
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #41 by phendee
Replied by phendee on topic Creating HTML block on Home Page
OK, More information. Now I was able to activate an email link on my email address. But, in doing so I was unable to fill in the "Subject". This was what gave me the 403 error code. Now, if only I could add a photo.

the-hendees.com/Tree-Leaf
Presently using Version 2.0.22

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

More
1 year 11 months ago #42 by fisharebest
Replied by fisharebest on topic Creating HTML block on Home Page
Could it be that your server is running some kind of security software - and this software is triggered when you upload content containing specific HTML???

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

More
1 year 11 months ago #43 by Sir Peter
Replied by Sir Peter on topic Creating HTML block on Home Page
This code works - either step by step or alltogether - on my site without any flaws - even with your image file:
Code:
<p><a href="mailto:email@example.com">Send Email</a></p> <p><a href="mailto:email@example.com?subject=Mail%20from%20our%20Website">Send Email incl. subject</a></p> <p><a href="mailto:email@example.com?subject=Mail%20from%20our%20Website&amp;body=Some%20body%20text%20here">Send Email incl. subject and body</a></p> <p><img alt="Hendee.jpg" src="https://the-hendees.com/Tree-Leaf/public/Hendee.jpg" style="height:117px; width:100px" /></p>

If this doesn't work on your site you might have to contact your hosting provider and ask whether they block something here.

Peter

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

More
1 year 11 months ago #44 by Sir Peter
Replied by Sir Peter on topic Creating HTML block on Home Page
@Greg, I don't understand why the 403 error occurs when the HTML block is being saved. That information goes into the database, not into the filesystem. Could it be that s.th. is wrong with the ckeditor or that some function of the ckeditor is being blocked?

@phendee, you could try adding/changing the HTML code in the database tabel wt_block_setting (or similar) directly and see whether it then displays correctly. It would look like this, but with a different block_id:


Peter

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

  • phendee
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #45 by phendee
Replied by phendee on topic Creating HTML block on Home Page
Having some success I decided to go further. I deleted the space after the opening sentence, "Welcome to Our Hendee Family Tree". I then did a hard return and "Saved". This worked. Now, I decided to center the line Welcome to Our Hendee Family Tree. That did not work. Here is the HTML for your review of where I stopped:
<p style="text-align:center"><strong>Welcome to our Hendee Family Tree</strong>.</p>

<p>We hope this will be informative and benaficial to your Hendee Research.&nbsp; At the top right is a link to register for the site.&nbsp; Registration will allow you many privliges.&nbsp; Your registration process begins with filling in a brief form and submitting in to the Administrator of the site.&nbsp; Your registration will be reviewed by the Administrator.&nbsp; if approved you will get a return email indicating your approval.&nbsp; If at anytime you have any questions or suggestions please feel free to drop a line to me at:<br />
<a href="mailto:paul.e@the-hendees.com">paul.e@the-hendees.com.



<p>Until Then - Enjoy,<br />
Paul E Hendee</p>

the-hendees.com/Tree-Leaf
Presently using Version 2.0.22

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

More
1 year 11 months ago #46 by Sir Peter
Replied by Sir Peter on topic Creating HTML block on Home Page
It's difficult to judge, but you might be missing the closing
Code:
</a>
behind
Code:
<a href="mailto:paul.e@the-hendees.com">paul.e@the-hendees.com

Peter

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

  • phendee
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #47 by phendee
Replied by phendee on topic Creating HTML block on Home Page
Not sure, Sir Peter, if that code is necessary. I was able to save and publish the HTML without it (review the website). It is only when I add a hard return and center the title that the dynamics do not work.

the-hendees.com/Tree-Leaf
Presently using Version 2.0.22

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

More
1 year 11 months ago #48 by fisharebest
Replied by fisharebest on topic Creating HTML block on Home Page
> @Greg, I don't understand why the 403 error occurs when the HTML block is being saved. That information goes into the database, not into the filesystem. Could it be that s.th. is wrong with the ckeditor or that some function of the ckeditor is being blocked?

You can install "security software" for webservers. The most well-known is "mod-security" for apache.

This intercepts requests that match certain rules, and block them.

My guess is that the server is using something similar. It is detecting requests (i.e. save form data) that contain HTML, and blocking them.

The request never reaches the webserver, and hence never reaches PHP / webtrees

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • phendee
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #49 by phendee
Replied by phendee on topic Creating HTML block on Home Page
fisharebest: Is it possible that I may have security on my domain I am not aware of? My domain is with namecheap.com . The only security I purchased was the SSL for the https . If it is an issue with my SSL I will need to contact my domain tech support. Your thoughts?
Paul

the-hendees.com/Tree-Leaf
Presently using Version 2.0.22

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

  • phendee
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #50 by phendee
Replied by phendee on topic Creating HTML block on Home Page
I found an app they put on my domain called ModSecurity. I could not modify the app but I was able to turn it off. I re tried simply centering the Welcome To Our Hendee Family Tree line and tried to "Save". No luck.

the-hendees.com/Tree-Leaf
Presently using Version 2.0.22

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

More
1 year 11 months ago #51 by fisharebest
Replied by fisharebest on topic Creating HTML block on Home Page
> fisharebest: Is it possible that I may have security on my domain I am not aware of?

I guess yes.

> My domain is with namecheap.com

www.namecheap.com/support/knowledgebase/...d-why-do-we-need-it/

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

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

  • phendee
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #52 by phendee
Replied by phendee on topic Creating HTML block on Home Page
Online with them now

the-hendees.com/Tree-Leaf
Presently using Version 2.0.22

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

  • phendee
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #53 by phendee
Replied by phendee on topic Creating HTML block on Home Page
So, the answer was in a security app called ModSecurity. The tech whitelisted my Webtree and we are on the road. I cannot thank you guys enough for all the help.
Peace,
Paul

the-hendees.com/Tree-Leaf
Presently using Version 2.0.22

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

  • Bogie
  • Offline
  • Elite Member
  • Elite Member
  • Life is good!
More
1 year 11 months ago #54 by Bogie
Replied by Bogie on topic Creating HTML block on Home Page
Just to be correct use 'webtrees', please. The name has a trademark (all lower case with 's' at the end).

Bogie
webtrees 2.1.19 | PHP 8.1.27 | MariaDB 10.5.23 | Apache on Ubuntu 12.9
AutoComplete places of @tkempf, chart modules of @magicsunday, Fancy treeview of @justCarmen

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

  • phendee
  • Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #55 by phendee
Replied by phendee on topic Creating HTML block on Home Page
webtrees it is. Again many thanks.
Paul

the-hendees.com/Tree-Leaf
Presently using Version 2.0.22

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

More
1 year 11 months ago #56 by jprause
Replied by jprause on topic Creating HTML block on Home Page

...(all lower case...).

Josef

webhosting:-- webtrees 2.1.18, PHP version 8.1.16, MySQL 8.0.22, test site webtrees 2.1.18
local desktop:-- webtrees 2.1.18, PHP version 8.2.12, MySQL 8.0.28, Apache2 2.4.41, Linux Ubuntu 22.04 64bit

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

More
1 year 11 months ago #57 by Franz Frese

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

More
1 year 10 months ago #58 by Franz Frese
Replied by Franz Frese on topic Creating HTML block on Home Page
error: can not send a message to you with the-hendees.com.

change media title in the-hendees.com/Tree-Leaf/index.php?rout...-amp-Alice-Hart-1929
from 1929 to 1629

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

Powered by Kunena Forum
}