steveooo Posted April 13, 2016 Posted April 13, 2016 Hello, I am using PW for some time and I am thinking a lot about modularity in ProcessWire. In a German CMS called Redaxo, everything consists of blocks. A page has many blocks and every block has an input and output. It is pretty simple for the user to stack blocks per page to build content for a site. So I can define a "media gallery" block, a "Q & A" block and the user can stack them like he want's. And every block is a file so it can simply reused for the next project. How can I achieve this in ProcessWire and: Is this a good practice in regards of PW's structure? Let's start a discussion about it! I really like PW but I can not really get the gist of modular behavior in PW. I am also searching for some good practices. I currently try to achieve this kind of behaviour by using PageTable and creating templates for each block/component (prefixed with "c-")... Thanks for you answers in advance!
LostKobrakai Posted April 13, 2016 Posted April 13, 2016 There are already a bunch of topics about exactly that topic. Currently your options are pagetable, pagetable extended or matrix fields, where the last one is a commercial pro module. Depending on the specific need one might be a better fit than the other. 4
steveooo Posted April 13, 2016 Author Posted April 13, 2016 Hi Kobrakai, Do you have any links about the topics with the same topic? I did not find anything.
cstevensjr Posted April 13, 2016 Posted April 13, 2016 A few of the many links to get you started (google is your friend): https://processwire.com/talk/topic/10394-content-block-builder-in-processwire/ https://processwire.com/talk/topic/7350-smart-widgets-blocks/ https://processwire.com/talk/topic/10769-static-content-blocks/ 3
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now