Bookmarks in CMSimple Pages

General questions about CMSimple
Post Reply
AFGadd
Posts: 21
Joined: Wed Sep 03, 2008 12:16 pm
Location: Oxfordshire, UK

Bookmarks in CMSimple Pages

Post by AFGadd » Thu Apr 02, 2009 3:21 pm

Hi All,

I've just found out that I can get bookmarks in CMSimple pages to work. I couldn't find any references to bookmarks when searching the forum so I thought I'd make a note here.

It stared because I’m re-writing my web pages to a new site, rather than have lots of pages I thought I’d condense them a bit. This started the need for bookmarks, a reference on the homepage or at the top of the bookmarked page to part of an article in the middle of a totally different or same page.
The solution is very simple;

Open the html editor and locate where you want your bookmark,
insert the code:

Code: Select all

<a name=”bookmark1”></a>
The name of the bookmark is relevant to that page.

Now go to the page you want to insert the bookmark link, and create the link,
either use the link editor or html editor, but what you need to insert:

Code: Select all

<a href=”?page1#bookmark1”>Link</a>
Page1 is an h1 page and the # extends the link to the bookmark.

If you need an h2 page then you would need:

Code: Select all

<a href=”?page1:page2#bookmark1”>Link</a>
It’s going to make navigation around my site just that bit easer.
Thanks,
Andrew.

CMSimple-Styles.com
Posts: 342
Joined: Thu Jun 26, 2008 8:19 pm
Location: Germany
Contact:

Re: Bookmarks in CMSimple Pages

Post by CMSimple-Styles.com » Fri Apr 03, 2009 1:12 am

Hi Andrew,
this is standard HTML, its nothing special! But thanks for sharing, i am sure some people don't know this.

Post Reply