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

Absolute links in SiteTree


Go to End


2 Posts   2633 Views

Avatar
crazyScripter

Community Member, 8 Posts

5 September 2007 at 1:10am

Hi to all.

Hope somebody can help me.
I need to make abolute path when inserting internal links on the site (links to other pages from CMS), I mean inserting links using admin area. I found HtmlEditorField.php file in wich form is creating, but I cant imagine from where it is getting data.

Thanks in advance.

Avatar
crazyScripter

Community Member, 8 Posts

5 September 2007 at 3:09am

And another problem, when I making link in HTML editor after I save link become broken:
before: a href="/new-york/"
after save: a href="/new-york//new-york/"
Could someone advice?