e107 icon indicating copy to clipboard operation
e107 copied to clipboard

[Bug]: $NEWS_GRID_WRAPPER doesn't work

Open rica-carv opened this issue 7 months ago • 1 comments

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 avatar Jun 29 '24 12:06 rica-carv