1
Hello all,
I'm working on a theme where I've removed the <{$xoops_contents}> tag and placed it in a separate template. The problem I am currently having is controlling when this gets displayed. I don't want this to be called when there is no module to display i.e. the home page. I've been experimenting with some variations around this:
<{if $thisPage == "system"}>
<{echo "";}>
<{else}>
<{include file="default/theme_contentcenter.html"}>
<{/if}>
This hasn't worked, it includes the template regardless. I'm only really stabbing the in dark, I don't even know if the syntax is right. Can anyone help shed some light onto this quandry?
Also:
In the template I've made (referenced above), I've used the <{$module.name}> tag for a title, but it only every returns 'Contact Us' in the browser irrespective of what module you're actually in. Anyone know why this might be?
TIA