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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

link to child page.

Go to End

2 Posts   1211 Views


Community Member, 36 Posts

16 February 2010 at 2:32pm

I have built my portfolio using pages so I have a portfolio_holder and each item in it is stored as a page portfolio_page. So in my portfolo holder I have got this:

<% control ReverseChildren %>
<div id="port_box">
<span class="port_type">
<span class="port_title_type">Client:</span> $Client</span>
<span class="port_type"><span class="port_title_type">Role:</span> $Role</span>
<span class="port_type"><span class="port_title_type">Project:</span> $Task</span>
<% if Content %><span class="port_type"><span class="port_title_type">Summary:</span> $Content</span><% end_if %>

<% end_control %>

So this is basicly getting all the data form inside or the portfolio page and showing it. However I am wanting to start using showcases and being a bit more indepth with some of my items So i would like to be able to click on $portimage and got to the actual Portfolio_page. How could I do this?


Forum Moderator, 5523 Posts

16 February 2010 at 5:06pm

You can use $Link inside that control to get the links for the pages.