Great resources
Process
-
Install blog to apps
-
Add
perch_blogtoapps.php -
Copy
addons/apps/perch_blog/templates/blogtotemplates/blog -
Copy from download folder
blogtotemplates/pages/ -
Add
Post page routescustom token to/config/runway.php'routing_tokens' => [ 'blogslug' => '[1-2][0-9]{3}\-[0-9]{2}\-[0-3][0-9]-[a-z0-9\-]+', ], -
Create test blog posts on back end, remember to publish, add categories
-
Rename blog if required
control panel/Blog/Blogs -
Add
Blog post page pathundercontrol panel / Settings / Blog. For example,/PATH/{postSlug} -
Add page to display blog
-
Blog page/Location. Change path if required and URL Pattern to
PATH/page/[i:page]. Add second URL pattern for blog preview.PATH/[slug:s]/[preview:preview]to Blog main page -
Add posts as above. Adding
PATH/[slug:s]to URL pattern -
Add Archive Page, adding the following URL Patterns
-
PATH/category/[slug:cat]
-
PATH/tag/[slug:tag]
-
PATH/[year:year]
-
PATH/[year:year]/[i:month]
-
PATH/author/[slug:author]
-
-
Change templates to match the above file paths