Forum
Blog post categories lost on saving meta and social
Whenever I save details on the meta and social tab of a blog post, the categories set for that post are lost from the site - specifically when called by perch_blog_categories(). When I return to the post edit page the right checkboxes are still checked, but the post needs to be saved again for the categories to show up again.
Looks like this was flagged last year: https://forum.grabaperch.com/forum/01-26-2016-blog-authors-meta-ad-social
Is there a fix for this in the pipeline? Many thanks.
This is my categpry_link.html template called by perch_blog_categories() :
<perch:before><h3>Categories</h3>
<ul class="inline-list">
</perch:before> <li><a href="/blog/category/<perch:category id="catSlug" />/"><perch:category id="catTitle" /> (<perch:category id="count.blog.post" when-empty="0" />)</a></li>
<perch:after></ul>
</perch:after>
And the diagnostics:
Summary information
Perch Runway: 3.0.1, PHP: 5.6.28, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (3.0.1), assets (3.0.1), categories (3.0.1), perch_blog (5.5.1), perch_forms (1.9)
App runtimes: <?php $apps_list = [ 'perch_blog', 'perch_forms', ];
PERCH_LOGINPATH: /perch
PERCH_PATH: /Users/adam/Sites/hiddenireland.com/site/perch
PERCH_CORE: /Users/adam/Sites/hiddenireland.com/site/perch/core
PERCH_RESFILEPATH: /Users/adam/Sites/hiddenireland.com/site/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 128M, Total max file upload: 32M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
HTTP_HOST: hiddenireland.dev
DOCUMENT_ROOT: /Users/adam/Sites/hiddenireland.com/site
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
Yes, there's a fix in the pipeline.
Great to know, thanks Drew