or Create a profile
10 Dec, 2013 10:25 PM
So I am trying to achieve a page that displays three different
project grids. Its gonna be like an archive page of projects
divided into different categories, with some text in between and
So I think the best way to go is to use the project() function
and within it call the different section using tags or sections,
specifying "section= work and show= small" as I've understood
projectList() cant be used in this way from another thread.
But the problem - and I believe its super easy - is that I dont
know where to start. If I make a normal page I cant enter php code
in the content in the cms I believe? So I guess it needs to be hard
coded some way - so how can I create a hard coded page that
properly includes all the headers and functions? Or am I missing
First I thought I could achieve it with a custom html template
and create a page with project as Type, and then use the template.
But It seems that the templates only control how to format only the
project list. I'd like to make a custom layout.
I hope that it's clear. And I'm sure that its quite easy to do
on 11 Dec, 2013 11:13 AM
Oh never mind, I believe I solved it by putting all the code
inside the layout_default and using if ( currentPage() ==
Please poke me if there's a better way of doing it :)
on 28 Apr, 2014 04:26 PM
Late answer, sorry.
But yes, the best way would be to put it into
layout_default.php. layout_projects.php is the view that is shown
when a project is selected. Default is for everything else.
Formatting help /
(switch to plain text)
(switch to Markdown)
You can attach files up to 10MB
If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.
A conversation has been started with the Secretary staff to resolve this discussion.
This discussion is private.
Only you and Secretary support staff can see and reply to it.
This discussion is public. Everyone can see and reply to it.
You can use Command ⌘ instead of Control ^ on Mac
Powered by Tender™.