e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
323 stars 214 forks source link

[Bug]: $NEWS_GRID_WRAPPER doesn't work #5290

Open rica-carv opened 5 months ago

rica-carv commented 5 months ago

What e107 version are you using?

v2.3.3

Bug description

If i try to use $NEWS_GRID_WRAPPER inside the news_grid_template, it doesn't wrap anything, it simply leave the shortcode output unwrapped.

But $NEWS_WRAPPER in news_template works. Why?

How to reproduce

Use $NEWS_GRID_WRAPPER['featured-news']['item']['NEWS_IMAGE'] = '<hr><hr>{---}<hr><hr>'; in the news_grid_template

The HR's won't be rendered in the final HTML

Expected behavior

To have news_grid shortcodes wrapped

What browser(s) are you seeing the problem on?

Firefox

PHP Version

PHP 7.4

rica-carv commented 4 months ago

...but $SC_WRAPPERworks!.... :tada::tada::tada: