Newbie editing existing website

Permalink
Hi Concrete5

I have lost count of the number of Wordpress websites I have built but this is my first Concrete5 website. Can someone just answer me a few questions please?

The project is to add functionality to an existing website
I will be pulling data from another system via an API
I need to create a search page, results page and detail page
In wordpress I would create three new templates within the theme for each of those pages containing all code needed. Then I would create those pages within wordpress, asign the template and off it goes.
What is the process with Concrete5 and the block system?

Can someone give me some pointers and pages to read on how to update the current theme to add these pages?

Thanks

 
robertsoniv replied on at Permalink Reply
robertsoniv
Have you checked out this page?

http://www.concrete5.org/documentation/using-concrete5/dashboard/pa...

This might shed some light on whether or not new page types would be necessary for what you want to do.

If it's just a matter of having certain HTML in a block you can create an HTML block that has the code you need within it on the three pages.

If you'd like to hard code it you could do that within the page types by calling a stack that has the block you need inside of it.
candell replied on at Permalink Reply
Aha thanks, it looks like page types will be the way to go. So I basically create three page types;

api_search
api_results
api_detail

Put all of the api code within these pages, create the pages in admin and assign the page type and voila?
jvansanten replied on at Permalink Reply
That's the most straightforward mapping from your WP design. And, for your first C5 project, that would likely get up up and running the most quickly.

The block structure of C5 adds another level of abstraction for elements on a page -- whereas in WP a blog is assumed and additional mods can be made to the page, as you describe.

So, another approach would be to define the specific functionality you have as blocks. And, since they're related, probably put in a package.

The value of this extra work -- and it is extra -- is that it allows you to place the individual blocks on any page/page type. That is particularly of value if you have functionality that you'd want to deploy in multiple sites. And, it sounds like this functionality is just that.