Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Determine the current view

Hello Vanilla community!

I'm trying to develop a plugin to display content in the side menu of the site.

I wish can determine the current view for display different content (for example, main page 'discussions', a category page, a single post, a search, etc ...)

I tried to get information from the querystring with $_GET['p'] but do not return anything, I try use '$ Sender-> ControllerName' but always is 'discussionscontroler' and does not give me more information.

¿Any ideas?

Thanks in advance. I hope can help you in the future!

A greeting.

Best Answer

Answers

Sign In or Register to comment.