Support » Plugin: Gwolle Guestbook » Go to next page with section link

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Marcel Pol

    (@mpol)

    It seems this is not possible with PHP code.
    For example adding this code to frontend/navigation.php doesn’t show the #gaestebuch in the REQUEST_URI. That means I can not add it to the pagination links.

    	$request = $_SERVER['REQUEST_URI'];
    	$result = preg_match("/#*/", $request, $matches);
    	if ( $result ) {
    		var_dump($_SERVER);
    		var_dump($matches);
    	}

    I think the only option is to do this in JavaScript. I cannot really do that in a general way in the plugin, it needs custom code for your website.

    Thanks very much. So I will look if we could solve it with javascript.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Go to next page with section link’ is closed to new replies.