Forum
Blog: Categories disappear when meta is saved?
Hi,
I'm using this code to output a list of categories:
<?php perch_blog_categories([
'set' => 'news',
'template' => 'elements/news--categories.html'
]); ?>
All my categories are listed, until I press save in the 'meta and social' tab (I want to use tags).
The category is removed from my categories list, until I go back to the post and re-save.
Is this a known issue?
Here's a video showing the issue
https://recordit.co/sw7KmDimzI
Health check
- Perch Runway is up to date
- PHP 7.0.22 is up to date
- MySQL 5.6.35 is up to date
- Image processing available
Can you post your diagnostics report please?
Sure,
Hi, Have you been able to recreate this?
Hi, any updates on this?
I've a site going live next week. Is it a bug, or is it a problem just with my install?
No, no updates. I'll take a look at it when I'm next working on this.
Hi,
I'm working on another site and I'm still experiencing this problem. Any updates?
Quick recap.
meta and social
tab, press saveHere's another video showing me clicking between the post tabs and pressing save.
Have you been able to recreate the problem locally?
Yes, the update is that I’ve designed and engineered a completely new way of dealing with extended properties in the form of field groups. That will eliminate this problem. I’m not attempting to fix your steps as I’m replacing them.
That's great news. I've been using
perch:groups
, it makes a huge difference to managing content in the CMS. Looking forward to seeing the new extended properties solution.