#1 June 15, 2017 6:33am

daansk44
Member
From: Amersfoort, The Netherlands
Registered: September 12, 2016
Posts: 42

portfolio using a routed template

Hey everyone,

I want to make a portfolio using a routed template.

First of all, I've made an routed templated named portfolio and linked it to a module (portfolio too).
On the /portfolio page I want to make an overview with all the items.
But when you press on a 'photo' of a website I want to load another page /portfolio/name with more information on it.

How Can I do this using a routed templated?

/Daan

Offline

#2 June 15, 2017 8:21am

timbuckingham
Administrator
From: Baltimore, MD
Registered: April 2, 2012
Posts: 978

Re: portfolio using a routed template

I'd install the demo site and check out how the Trees template and module work together as they do much of what you're looking for here. The basics are that you want your module to have a Generated Route field that creates URL routes from the title of the portfolio items and then in your routed template you'll have a details.php file that looks up the route via the getByRoute method on your module's class and draws that portfolio item.

Offline

Board footer

Powered by FluxBB

The Discussion Forum is not available on displays of this size.