WebsiteBaker Support (2.12.x) > General Help & Support

Section in Data Protection Directive URL

(1/2) > >>

richwingerter:
I used the administrative settings to point the Data Protection Directive to a specific page on my site. However, I now get a URL for it in the form of:

WB_URL/pages/data-protection-page#Sec31

This means that when you click the link it positions you somewhere in the middle of the page.

I'd like to remove the "#Sec31" anchor from the URL in the reference on the signup_form page. But it uses a function in \bin\helpers\ParentList::getDsgvoDefaultLink(). I don't want to alter this function.

Is there another way to have this reference go to the top of the page?

Note that "31" is the value of the page ID and the code SecId. I don't see this recorded in the wb_settings table. In fact, I don't see the page name or anything else relating to this page recorded there. Does anyone know where WB caches the information for the Data Protection Directive page?

Thanks in advance!

dbs:
Hi, seems this work not right.
In my case on the registration page the protection link contain the path of the form page. In form page was no data protection choosed.

If you can use [wblink123] for such links.

hgs:
My link also looks like this
https://wb_url/pages/datenschutz.php#Sec21
and does what he should and opens the page with the pid21 "Privacy".
I still don't understand what's wrong with you?

dbs:
But Sec21 means section, not page_id.
Can't be right.

It is a section anchor for the case if your data protection section is not at the top of the page.

hgs:
Ok, I select in the module "Form" in the BE under option the page "Privacy" and save it.
The result is then in my case in order. There is also no "anchor" #Sec21 on the page.
I'm confused. :oops:

Navigation

[0] Message Index

[#] Next page

Go to full version