Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do you have a cookie cutter setup for this? #1

Open
spoetnik opened this issue Nov 25, 2020 · 2 comments
Open

Do you have a cookie cutter setup for this? #1

spoetnik opened this issue Nov 25, 2020 · 2 comments

Comments

@spoetnik
Copy link
Contributor

Thanks for the great writeup.

Could you share a sort of cookie cutter project with all the techniques from the tutorial?

Thanks in advance,

Martijn

@MoritzLost
Copy link
Owner

Hi Martijn,
thanks for reaching out and for the suggestion! Unfortunately, I don't have a ready-made project that I can share right now. At work we have built a ProcessWire starter project which includes most of the advice given in the tutorials, but that is the IP of the company I work for, so I can't publish it. I have thought about creating my own open-source site profile for this purpose, but that would be a lot of work and I'm not sure how useful it would be.

For now, all I can say is: If you follow the tutorials in the sections Setup and Structure and Templating and Development (in particular: Composer Integration, CSS and JS compilation, Twig setup and customization and finally the modular content system, you will have a very solid base installation which will support any type of content. Doing this manually will also allow you to better understand, for example, why I structure the Twig templates in this way and customize it to your liking.

The responsive image tutorial includes a full code example for the Twig component and the underlying PHP functions that you can use as-is. I plan to add a code example folder with downloads as well, which would include all the files required for this component.

Sorry I can't provide a better answer right now. I'll leave this issue open in case I get around to building a starter project for the site — though I can't promise that right now.

Kind regards,
Moritz

@spoetnik
Copy link
Contributor Author

Thanks for you answer. No worries, it would only be convenient. Building it up myself learns me more!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants