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.

Customising the CMS /

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

How do you link to another part of the page?


Go to End


4 Posts   1570 Views

Avatar
salbelle

Community Member, 6 Posts

22 January 2010 at 5:18pm

I'm pretty new to Silverstripe and all things web-like so be gentle!

I'd like to make a page that has headings at the top that each link to another part of the same page (i.e. Accommodation would link to appropriate info half way down the page). It has a lot of information on it hence the need for links.

Is this possible on Silverstripe??

Avatar
CodeGuerrilla

Community Member, 105 Posts

22 January 2010 at 7:19pm

Hi salbelle,

Read the following at let us know if you need further help:

Fragment link rewriting

Avatar
salbelle

Community Member, 6 Posts

25 January 2010 at 11:50am

Thanks!
None of the links seem to be working on this page - is there somewhere else I can see some examples of this?
I'm pretty unsure of HTML as I didn't set up this site and any coding I do doesn't seem to work. Is it the only way to do this or is there an alternative?

Avatar
theAlien

Community Member, 131 Posts

26 January 2010 at 2:40pm

You might also want to read up on anchors,
because that's what you want to do: link to an anchor somewhere halfway the page.

Good luck