i have three
homepage > page 1 > subpage 1
> subpage 2
> page 2
> subpage 3
how i create link from subpage 1 to subpage 3 thanks
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
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.
i have three
homepage > page 1 > subpage 1
> subpage 2
> page 2
> subpage 3
how i create link from subpage 1 to subpage 3 thanks
When you are in a TinyMCE field, add a link and select Page on the site from the side panel: https://skitch.com/dendeffe/r2pad/silverstripe-cms-pages
thanks
I think in SS template
$Subpage1.link
You might get this to work with a combination of <% control parent %><% control children %> (not sure, check the reference: http://doc.silverstripe.org/sapphire/en/reference/built-in-page-controls)
If that doesn't work, you'll need to program it in the controller.