Remember me? forgot password | register

SilverStripe Forum

4682 Posts in 1048 Topics by 664 members

Jump to:

Extending and hacking

If this is your first visit, you will need to register before you can post. However, you can browse all messages below.

Community » SilverStripe Forum » Extending and hacking » Sub domains as links in HTML editor
Page: 1 go to end Reply
Author Topic: Sub domains as links in HTML editor 390 views
  • Mat Weir
    Mat Weir's avatar
    Community Member
    6 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?

    Cheers

    390 views
go to top Reply

Currently Online:

bebabeba, Invader_Zim, joon, Matt Hardwick

Welcome to our latest member: Boomer T