Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Under TB 1.6.0 creating a new CMS Category show PHP code in the category description in front office instead of just the text...

Featured Replies

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:

CategoryCMS.thumb.png.c137ee3d0d3a4572f6961aee0d09588f.png

 

Here's what shows up on the front office :

CategoryBlock.png.eeeec73cbab747053c069b458688bda0.png

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 by papagino

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.

  • 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?

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.