PDA

View Full Version : How to move tag list to other site.


bartek24m
11-16-2009, 07:28 AM
How to add tag list to some page of vb ?
I've installed this mod https://vborg.vbsupport.ru/showthread.php?t=211638

and I cant add tag cloud to article.php page

i use vbadvanced so i copy

$tag_cloud

into af_articles template

and replace plugin: Forum Tags: cache_templates

if(THIS_SCRIPT == 'forumdisplay')
{
$globaltemplates = array_merge($globaltemplates, array(
'tag_cloud_box',
'tag_cloud_headinclude',
'tag_cloud_link'));
}

with this code:

if(THIS_SCRIPT == 'forumdisplay' OR THIS_SCRIPT == 'articles')
{
$globaltemplates = array_merge($globaltemplates, array(
'tag_cloud_box',
'tag_cloud_headinclude',
'tag_cloud_link'));
}

but still tag list are not showing in article.php page

Lynne
11-16-2009, 02:20 PM
Questions regarding modifications need to be asked in the modification thread. That is where the support for modifications is - not out here in the main forums. Please note that if a modification is unsupported, you may be on your own if you chose to install it.

(Just because you have cached the templates for that page doesn't say anything about the code having been run on that page and thus making the variables available for use on that page.)