How to check for current view, current topic id?
Quote from Apos37 on November 13, 2024, 5:58 pmI am using the following hooks:
asgarosforum_topic_custom_content_top
asgarosforum_filter_header_menu
And neither of them have access to
$this->current_view
or the topic id, so how do I go about checking for them? Do you have a function I’m missing that gets this information so I can further customize the topic pages depending on what the topic is? Or can you just pass it to the hooks? It seems pretty simple to add.Thanks in advance.
I am using the following hooks:
asgarosforum_topic_custom_content_top
asgarosforum_filter_header_menu
And neither of them have access to $this->current_view
or the topic id, so how do I go about checking for them? Do you have a function I’m missing that gets this information so I can further customize the topic pages depending on what the topic is? Or can you just pass it to the hooks? It seems pretty simple to add.
Thanks in advance.
Quote from lindavester on January 16, 2025, 5:42 am
Quote from Apos37 geometry dash lite on November 13, 2024, 5:58 pmI am using the following hooks:
asgarosforum_topic_custom_content_top
asgarosforum_filter_header_menu
And neither of them have access to
$this->current_view
or the topic id, so how do I go about checking for them? Do you have a function I’m missing that gets this information so I can further customize the topic pages depending on what the topic is? Or can you just pass it to the hooks? It seems pretty simple to add.Thanks in advance.
I also wonder the same questions.
Quote from Apos37 geometry dash lite on November 13, 2024, 5:58 pmI am using the following hooks:
asgarosforum_topic_custom_content_top
asgarosforum_filter_header_menu
And neither of them have access to
$this->current_view
or the topic id, so how do I go about checking for them? Do you have a function I’m missing that gets this information so I can further customize the topic pages depending on what the topic is? Or can you just pass it to the hooks? It seems pretty simple to add.Thanks in advance.
I also wonder the same questions.