I have a problem with Smarty. I think there was no problem using {php} {/ php} up to version 3.1.
Now that this is over I need a little help. I have to adjust this php snippet for the inserted customer menu.
The snippet is as follows:
Code: Select all
require_once 'libs/Mobile_Detect.php';
$detect = new Mobile_Detect;
if ($detect->isMobile() ) {
include('myincludes/mainmenuMobiCell.php');
}else{
include('myincludes/mainmenuMobiBlog.php');
}
}
Code: Select all
<li>
<a href="https://corcons.com/">Home</a>
</li>
<li><a href="#">Services</a>
{include 'myincludes/mainmenuMobiBlog.php'}
</li>
Thanks in advance
Hermann