PDA

View Full Version : [Need Help] How to print category ID in SOCIALGROUPS template


Muhammad Rahman
10-26-2014, 02:57 PM
anyone can help how to print category ID in SOCIALGROUPS template ..
i try this, but not working .. :(

{vb:raw categoryid}
{vb:raw category.categoryid}
{vb:raw group.categoryid}
{vb:raw socialgroupcategory.socialgroupcategoryid}

kh99
10-26-2014, 03:07 PM
Try {vb:raw group.socialgroupcategoryid}

Muhammad Rahman
10-26-2014, 10:47 PM
Try {vb:raw group.socialgroupcategoryid}

thanks ... but still not working to ..

--------------- Added 1414369357 at 1414369357 ---------------

FIX with plugin ..
Hook location 'group_complete' .

$templater = vB_Template::create('SOCIALGROUPS');
$page_templater->register('group', $group);
vB_Template::preRegister('SOCIALGROUPS',array('gro up' => $group));
$templater->render();

and print with {vb:raw group.categoryid}