vietfancy
11-03-2008, 10:00 PM
If you noticed, by default in "ad_location_template" group; we only have "ad_forumhome_afterforums" but not "ad_forumhome_beforeforums".
If you need to add "ad_forumhome_beforeforums" to your forum homepage then here is what you need to do:
1. Create a new template as ad_forumhome_beforeforums
2. In index.php
find:
'ad_forumhome_afterforums',
add below:
'ad_forumhome_beforeforums',
find:
eval('$ad_location[\'ad_forumhome_afterforums\'] = "' . fetch_template('ad_forumhome_afterforums') . '";');
add below:
eval('$ad_location[\'ad_forumhome_beforeforums\'] = "' . fetch_template('ad_forumhome_beforeforums') . '";');
3. Open ForumHome template, and add $ad_location[ad_forumhome_beforeforums] right after $navbar
demo: http://lacloi.com
If you need to add "ad_forumhome_beforeforums" to your forum homepage then here is what you need to do:
1. Create a new template as ad_forumhome_beforeforums
2. In index.php
find:
'ad_forumhome_afterforums',
add below:
'ad_forumhome_beforeforums',
find:
eval('$ad_location[\'ad_forumhome_afterforums\'] = "' . fetch_template('ad_forumhome_afterforums') . '";');
add below:
eval('$ad_location[\'ad_forumhome_beforeforums\'] = "' . fetch_template('ad_forumhome_beforeforums') . '";');
3. Open ForumHome template, and add $ad_location[ad_forumhome_beforeforums] right after $navbar
demo: http://lacloi.com