I'm allmost finishing a CMS Made Simple website but I'm facing a weird problem:
I use FormBuilder for a contact form, on the bottom of a website consisting of one large single page. I first stuggled with the redirection after submitting when the user made an input error, because the page went to top while it should stay at the contact form. I'm glad I could fix that with this line of code (thanks, Velden):
Code: Select all
{FormBuilder|regex_replace:'/action="(.*)"/U':'action="$1#your-hash-tag"' form='contact-form'}
It's only the URL, the page starts just fine at the top. And yes I use the (AE-)gallery module, but I don't know why this happens? (I'm not that good with smarty tags / JS)
The website itself is working fine, it's just that ugly URL. I'm quite sure the regex_replace affects it but I got no clue how to correct it. The base-URL in the source code is also fine. Can anyone help? Thanks alot.