Hi All,
Here’s some code you can use to smoothly integrate your language selector into JA Larix and get rid of the internationally unfriendly ‘You are here’ ànd the font-resizer (usertool).
In the end, it should look like this:
1. Backup & open your index.php (path: templatesja_larix)
2. Goto line 202, where you’ll find the code below:
<div id=”ja-pathway”>
<strong>You are here:</strong> <?php mosPathway(); ?>
<?php if ($ja_tool) { ?>
<div id=”ja-usertools”>
<?php genToolMenu($ja_tool & 3); ?>
</div>
<?php } ?>
</div>
3. Replace it with the code below:
<div id=”ja-pathway”>
<strong></strong> <?php mosPathway(); ?>
<?php if (mosCountModules(‘user5’)) { ?>
<div id=”ja_usertools”>
<?php mosLoadModules(‘user5’, -1); ?>
</div>
<?php } ?>
</div>
4. Now, go to the module-manager in the administrator backend and appoint it to user 5.
5. Remains only a little bit of finetuning (moving it a few pixels) in your template and it’s done.