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]: {NEWSCATEGORY} & {NEWS_CATEGORY_NAME: link=1} shortcodes renders wrong links #5291

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

Comments

@rica-carv
Copy link
Contributor

What e107 version are you using?

v2.3.3

Bug description

{NEWSCATEGORY} &{NEWS_CATEGORY_NAME: link=1}shortcodes renders wrong links. These shortcodes render links to the news item(...news.php?default.0.0), not to the category list (...news.php?list.7.0).

How to reproduce

Use {NEWSCATEGORY} or{NEWS_CATEGORY_NAME: link=1}shortcode in any news template and check the link rendered

Expected behavior

Shortcodes should render links to the category list (...news.php?list.7.0).

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