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.

All other Modules /

Discuss all other Modules here.

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

User Defined From with Link to 'Page on the site'


Go to End


3 Posts   1527 Views

Avatar
swaiba

Forum Moderator, 1899 Posts

2 September 2010 at 2:55am

Hi,

I have just setup a site with a User Defined From and entered links to 'Page on the site' on that page. The links are stored into the content as...

href="[sitetree_link id=34]"

but are not being converted to use the page url segment when presented on the live site... is this something to do with the ability to specify $UserDefiniedForm within $Content?

Avatar
Willr

Forum Moderator, 5523 Posts

4 September 2010 at 9:26pm

Yes it does have to do with the $UserDefinedForm in the Content, if you remove that it should be fine. A fix for this is in the development builds so if you want to try it check out a recent daily build (trunk) and use that.

Avatar
ulysses

Community Member, 57 Posts

23 November 2010 at 11:35pm

Edited: 23/11/2010 11:41pm

Hi Will,

Is there a manual fix available for 2.4.1 version?

To get this link to work properly, I have manually entered the page name to the link. However, this workaround will fail if the page name gets changed.

Where do you make the change you suggest Will?

Cheers

Mauricio