Skip to content

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

Open

Description

@spoetnik

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

Activity

  1. MoritzLost commented on Nov 26, 2020

    @MoritzLost
    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

  2. spoetnik commented on Nov 27, 2020

    @spoetnik
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions