Great Article.
Code:
'hook_location' => 'profile_left_last'
Does anyone know how to provide the hook location when defined by the admincp?
My product has setting options like seen below:
Code:
<setting varname="custom_hook_location" displayorder="20">
<datatype>free</datatype>
<optioncode><![CDATA[select:piped
0|None
1|$template_hook[profile_left_first]
2|$template_hook[profile_left_last]
]]></optioncode>
<defaultvalue>0</defaultvalue>
</setting>
I am trying to display the block from whichever is chosen in admincp.
Have tried the following with no luck-
custom_hook_location
$vbulletin->options['custom_hook_location']
Thanks