Quote:
Originally Posted by blind-eddie
What coding do I need to get this to work on 3.8.4 vbacmps?
|
Edit the adv_portal template in the style and replace it's contents with the following or something similar:
Code:
$stylevar[htmldoctype]
<html>
<head>
$headinclude
<meta http-equiv="Refresh" content="2; URL=forum.php" />
</head>
<body>
$header
$navbar
<div align="center"><a href="forum.php">Portal Disabled in Mobile View - Click here if your browser does not automatically redirect you.</a></div>
$footer
</body>
</html>
Alternatively the adv_portal template can be edited to only show the centre column.
You can do this by removing the left and right column block conditionals in the template in your mobile style. Find and delete the following 2 blocks of code:
Code:
<if condition="$show['left_column']">
<td width="$vba_style[portal_leftcolwidth]"<if condition="$show['center_column'] OR $show['right_column']"> style="padding-$stylevar[right]: $vba_style[portal_colspacing]px"</if>>
$home[leftblocks]
</td>
</if>
Code:
<if condition="$show['right_column']">
<td valign="top" width="$vba_style[portal_rightcolwidth]"<if condition="$show['center_column'] OR $show['left_column']"> style="padding-$stylevar[left]: $vba_style[portal_colspacing]px"</if>>
$home[rightblocks]
</td>
</if>
I've tweaked my vbadvanced templates a bit more to make them viewable in this style