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.

Archive /

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

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

Absolute links in SiteTree


Reply


2 Posts   1999 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?