Embedded HTML contact form not working correctly #5143
Replies: 2 comments
-
|
So I looked into the logs. Every time I switch the language I get the folowing output: But when I reload the page or click on contact in my upper bar I get the following: My question is how can I prevent this from happening? Can I define the full path or something like that somewhere? Thanks |
Beta Was this translation helpful? Give feedback.
-
|
I've already written that in issue #5144 , but I'll also write it again here for reference: I've got it working. Instead of e.g. (inside my index.html file that servers my contact form): I now use a complete path to the css files like so: I then simply changed the Hopefully this helps other people who have similar problems. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm setting up a blog for some tech stuff and I found online a preset contact form that I embedded into my hexo site.
The problem is that I need to manually reload the contact page with the form in it for correctly rendering the form instead of simply displaying the html without styling.
Does anyone know how i can fix this? I attached some pictures to describe my problem.
Thank you
Manuel
Edit:
P.S. I'm adding here some information about what I've done so far for better understanding.
I added a menu for switching the sites language from english to german and vice versa. My contact page is inside the sources folder under
enanddefor both languages.In both folders is a
index.htmlfile and inside this file I can set a path where the css exactly is.But the problem is when I put a
contact/before that path the first loading of the page shows the form the right way but when I reload it the foldercontactis included twice and the form is again not displaying properly. But now it's actually the other way around.Thank you and I appreciate any help.
Beta Was this translation helpful? Give feedback.
All reactions