Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » Sub domains as links in HTML editor

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

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

Page: 1
Go to End
Author Topic: 1095 Views
  • Mat Weir
    Community Member
    33 Posts

    Sub domains as links in HTML editor Link to this post

    Hi there,

    I'm developing a site that uses sub-domains for particular pages.

    I've used the "Use this page as the 'home page' for the following domains:" field to enter URIs such as subdomain.website.com.

    I'd like it so that when the user creates a link to one of these pages, the editor inserts the URI from this field.

    I think if it's at all possible, the change would need to be in sapphire/forms/TreeDropdownField.php, but I'm not sure.

    Has anyone had experience doing this? Or can someone point me in that right direction?


Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.