Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

bookmarks


Go to End


1100 Views

Avatar
Nicolaas

Forum Moderator, 224 Posts

4 December 2007 at 12:28pm

Hi Gurus

I noticed that when you create bookmarks within a page, the first time - for each page - you click on the bookmark, it reloads the page and then finds the bookmark. Subsequent clicks on other within-page hyperlinks work normal. The reason for this is that the automatically created menus in silverstripe link to pages with a forward slash at the end, while the bookmarks link to the pages without a forward slash.
menu: mypage/
bookmark on mypage: mypage#mybookmark

so, when you click on a bookmark link the first time, i thinks it is a different page and goes to

mypage#mybookmark.

the subsequent links work then as normal bookmarks as you are now on mypage and no longer on mypage/

Either the bookmarks OR the menus have to change. Is there a setting that I can use, did I miss something or should I put this forward as a feature request?

Cheers

Nicolaas