Blog type installation when you already have a blog

  • I already use a blog on my perch site and was wanting to use the same thing but for "projects."


    I want the backend to be exactly like it is with the blog, but instead it will be dedicated to just projects. So essentially I want to have 2 separate blogs in the same backend.


    Is this possible? If so, how should I go about doing that?

  • drewm

    Approved the thread.
  • Hello Nick,


    The Blog app is for date-ordered content (particularly blog posts). From the docs:



    We sometimes see people trying to use the Blog App for things that are not a blog or news listing. This is not usually what you want to do. All of the filtering, sorting and category functionality is available in regular Perch Content. Try using that before attempting to turn Blog into something it isn’t!


    Like Jade mentioned, you can use Perch Content for what you're after. You can create a multiple-item region for your projects:


    PHP
    1. perch_content_create('Projects', [
    2. 'template' => 'project.html',
    3. 'multiple' => true,
    4. 'edit-mode' => 'listdetail',
    5. ]);


    And you can display the items with perch_content_custom(). You can use the same filtering syntax you're used to using with the Blog app.