Quote:
Originally Posted by Luciano Chuck is correct.. the constant VB_AREA == 'vBGallery' is needed to tell the system that we are NOT in forums but in gallery.. This is Important as on most systems vbgallery is NOT installed inside the forum directory.
Easiest example..:
if VB_AREA == 'vBGallery' (if we are on a vbgallery page)
==> Highlight the Gallery tab..
if you want to have something on both, forum and gallery pages you can always do:
if(VB_AREA == 'vBGallery' OR VB_AREA == 'forum')
{
} |
That is very useful, thank you very much indeed. I'll try that out later on today and let you know if it worked.