November 9, 20242 yr I think I found a bug for the new Thirtybees 1.6.0. If you create a new CMS Category and fill in the description, the text that will show in the front office will be the PHP "source code" instead of just the text. If you look for the listings of CMS category created in the Backoffice, you will also see this under the description column as below: Here's what shows up on the front office : Can anyone replicate this? Is this a bug under TB 1.6.0? Please note that the CMS Categories that were previously created under TB 1.5.1 are displaying correctly, the problem is only with new CMS categories created under TB 1.6.0... Cheers Edited November 9, 20242 yr by papagino
November 9, 20242 yr Until thirty bees 1.5.0, CMS category description did not allow HTML content. We enhanced this in 1.5.0. However, old themes do not support this. You have to edit your theme cms.tpl file, and remove escaping. See this commit, how it was done in niara theme: https://github.com/thirtybees/niara/commit/402af237ecf99c5b9cb49e9316c54b88dd5b5c28 https://github.com/thirtybees/thirtybees/commit/09fcb66221a3ed14008c3476e1cfed1ff3d531d7 So this is not a bug. However, thanks to you I found different / related bug -- description displayed in the back office CMS category list needs to be striped from tags. I've fixed this, it's in bleeding edge now.
November 9, 20242 yr Author 1 hour ago, datakick said: Until thirty bees 1.5.0, CMS category description did not allow HTML content. We enhanced this in 1.5.0. However, old themes do not support this. You have to edit your theme cms.tpl file, and remove escaping. See this commit, how it was done in niara theme: https://github.com/thirtybees/niara/commit/402af237ecf99c5b9cb49e9316c54b88dd5b5c28 https://github.com/thirtybees/thirtybees/commit/09fcb66221a3ed14008c3476e1cfed1ff3d531d7 So this is not a bug. However, thanks to you I found different / related bug -- description displayed in the back office CMS category list needs to be striped from tags. I've fixed this, it's in bleeding edge now. Ok, I also noticed that on CMS Categories previously created with TB 1.5.1, when you would create CMS Block for those categories and click on the titles for the blocks, you would get the descriptions then under it would say: List of pages in (The category Names) and under would be listed links for all the CMS pages under those categories. It doesn't do this anymore, it only shows the description. Is this a change under TB 1.6?
November 11, 20242 yr On 11/9/2024 at 9:13 PM, papagino said: It doesn't do this anymore, it only shows the description. Is this a change under TB 1.6? I don't think so. Core controller still provide list of category pages to template, and niara/community theme displays them correctly.
Create an account or sign in to comment