ok.. so an alternative solution would be, using T3 Object to detect on block level…
so ‘the hack’ would be some thing like this (in module.php)
<?php
$mobilecustomstyle=&T3BrowserObject::ismobile();
if($mobilecustomestyle){
?>
<jdoc:include type=”module” name=”<?php echo $module ?>” style=”<?php echo $style ?> mobileOnlyStyle” class=”mobileOnlyClass”/>
<?php }else{?>
<jdoc:include type=”module” name=”<?php echo $module ?>” style=”<?php echo $style ?>” />
<?php }?>
note:
&T3BrowserObject::ismobile(); is T3Object/Class/Function that do the mobile detection that i can use in block level
mobileOnlyStyle is inline-css style for mobile (optional)
mobileOnlyClass is css class style for mobile (optional)
now… is there any T3Object/Class/Function that doing mobile detection that i can use in block level
i believe this is the possible solution…