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

[Feature Request] How disable in modules (last news) ? #6

Open
spy-reality opened this issue Mar 18, 2022 · 2 comments
Open

[Feature Request] How disable in modules (last news) ? #6

spy-reality opened this issue Mar 18, 2022 · 2 comments

Comments

@spy-reality
Copy link

spy-reality commented Mar 18, 2022

Is it possible somehow to disable in modules ?
Version 3.1.12

@spy-reality
Copy link
Author

I decided this way.

public function onContentAfterDisplay($context, &$row, &$params, $page=0) {
   # Add this
   # Disable show in modules
   if($params['article_layout'] == NULL) { return; }

@PhocaCz
Copy link
Owner

PhocaCz commented Mar 21, 2022

Hi, thank you for this information, I added it to feature request - to implement in some of next version.

Thank you, Jan

@PhocaCz PhocaCz changed the title How disable in modules (last news) ? [Feature Request] How disable in modules (last news) ? Mar 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants