How can I capture the TOPIC_TYPE variable on the viewtopic page [solved]

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
caiocald
Registered User
Posts: 213
Joined: Mon Feb 26, 2018 9:32 pm
Name: B!

How can I capture the TOPIC_TYPE variable on the viewtopic page [solved]

Post by caiocald »

I looked in the variable lists and it seems to me that S_TOPIC_TYPE only appears in the viewforum


EDIT:
I got it using the function's topic_data array:

Code: Select all

core.viewtopic_modify_post_data
Post Reply

Return to “Extension Writers Discussion”