Quote:
Originally Posted by pompaunpo
hi, i use vbadvanced,
how do I disable this plugin for vbadvanced and use it only for vb forum?
|
You have to manually edit the adv_portal template in the mobile style. Just remove or comment out the LeftColumn and RightColumn content in that template. Here's my "adv_portal" template for my mobile style:
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]" xmlns="http://www.w3.org/1999/xhtml">
<head>
<if condition="$pages['name'] == 'home'">
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
</if>
<title>$vboptions[hometitle] <if condition="$pagetitle">- $pagetitle</if></title>
$headinclude
</head>
<body>
$header
$navbar
<if condition="$show['customizepagelink']">
<div align="$stylevar[right]" style="padding-top: $stylevar[cellpadding]px; padding-bottom: $stylevar[cellpadding]px">
<if condition="$show['customizepage']">
[<a href="javascript: reset_cmps_layout($pages[pageid])">$vbphrase[reset_layout]</a>]
[<a href="$show[customizepagelink]">$vbphrase[exit_customization_mode]</a>]
<else />
[<a href="$show[customizepagelink]">$vbphrase[customize_this_page]</a>]
</if>
</div>
</if>
<table align="center" class="page" cellspacing="0" cellpadding="0" width="100%">
<tr valign="top">
<!-- REMOVED LT COL CODE -->
<if condition="$show['center_column']">
<td valign="top">
$home[centerblocks]
</td>
</if>
<!-- REMOVED RT COL CODE -->
</tr>
</table>
$footer
</body>
</html>