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

link the $Title of the page to another page on the site


Go to End


11 Posts   5123 Views

Avatar
shox

Community Member, 21 Posts

11 December 2008 at 7:05am

hehehe thanks for ur effort.

Avatar
Liam

Community Member, 470 Posts

11 December 2008 at 8:24am

Maybe just extend the 5 children pages to add a textfield with the url in it. Would still be hard coded, but at least your template would look cleaner.

You could then use a normal childrenof control and build the link with the variable used as the textfield.

Either way there would have to be some hard coding going on somewhere.

Avatar
shox

Community Member, 21 Posts

11 December 2008 at 12:00pm

Thats what i ended up doing. every post starts with an <h3> tag with the link to the other page. hardcoded.
it works...well ....hardcoded....

if anyone can think of an automated way , u know, shoot :)

Go to Top