WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Section in Data Protection Directive URL
  • Print
Pages: [1]   Go Down

Author Topic: Section in Data Protection Directive URL  (Read 6580 times)

Offline richwingerter

  • Posts: 69
Section in Data Protection Directive URL
« on: November 22, 2019, 12:52:00 AM »
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!
Logged

Offline dbs

  • Betatester
  • **
  • Posts: 8915
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Section in Data Protection Directive URL
« Reply #1 on: November 22, 2019, 07:56:15 AM »
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.
Logged
https://onkel-franky.de

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1884
    • EFG MG
Re: Section in Data Protection Directive URL
« Reply #2 on: November 22, 2019, 07:59:22 AM »
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?
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline dbs

  • Betatester
  • **
  • Posts: 8915
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Section in Data Protection Directive URL
« Reply #3 on: November 22, 2019, 08:07:41 AM »
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.
Logged
https://onkel-franky.de

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1884
    • EFG MG
Re: Section in Data Protection Directive URL
« Reply #4 on: November 22, 2019, 08:19:20 AM »
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:
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline dbs

  • Betatester
  • **
  • Posts: 8915
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Section in Data Protection Directive URL
« Reply #5 on: November 22, 2019, 08:43:43 AM »
Quote
I'd like to remove the "#Sec31" anchor from the URL
Try this: WB Settings > Advanced Settings > Server Settings > Section Anchor Text:  write the word none
Logged
https://onkel-franky.de

Offline hgs

  • WebsiteBaker Org e.V.
  • **
  • Posts: 1884
    • EFG MG
Re: Section in Data Protection Directive URL
« Reply #6 on: November 22, 2019, 01:31:31 PM »
 (Y)This is the solution, now the link looks like this
https://wb_url/pages/datenschutz.php
Logged
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

"Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

Offline richwingerter

  • Posts: 69
Re: Section in Data Protection Directive URL
« Reply #7 on: February 03, 2020, 01:03:26 AM »
Yes, dbs. Much better. I change "Sec" to "none" and it works, now.

Thank you!
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.12.x) »
  • General Help & Support »
  • Section in Data Protection Directive URL
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2