Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rica-carv opened this issue Jun 29, 2024 · 1 comment
Open

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

rica-carv opened this issue Jun 29, 2024 · 1 comment
Labels
type: bug A problem that should not be happening

Comments

@rica-carv
Copy link
Contributor

rica-carv commented Jun 29, 2024

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 rica-carv added the type: bug A problem that should not be happening label Jun 29, 2024
@rica-carv
Copy link
Contributor Author

...but $SC_WRAPPER works!.... 🎉🎉🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A problem that should not be happening
Projects
None yet
Development

No branches or pull requests

1 participant