Suggestions regarding creation of block and package
PermalinkI have a question regarding development of site in concrete5. Suppose if I want to build a website with listing of houses on homepage with house images and also there will be a house detail page in site. so what best option to achieve this, Do I need to create a package for houses or I have to create two blocks one for homepage and another for house detail page?
Thanks in Advance!
Akash Sharma
In general I mean - create some page attributes like house_image, house_price, house_description etc and use these in a custom page list block template.
You could then reuse these attributes when rendering the page for each individual house.
If so, then fine. But either way you have to create some type of object for the houses. A page is just a fancy object with attributes already built it.
Or you could use a shop / eCommerce addon where each property is a product.
https://www.concrete5.org/marketplace/addons/page-list-maps-and-geoc...