![]() |
how to identify CMS section?
Hi
Is there a way to idenfity the CMS section to which an article belongs? I want to write a plugin which will set a variable with different values in different sections. Thanks, Mike |
Try something like ...
hook location - vbcms_article_populate_end PHP Code:
Code:
global $sectionid; |
Thanks Lynne
haven't had a chance to try it yet but your advice always works so I'm confident! Cheers, Mike |
Works a treat!
Thanks again, Lynne. |
All times are GMT. The time now is 07:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|