I have the term 'Case Studies' in my navigation and it's causing me grief. I created my page template for the Case Study page and associated styleheets, attached these and then went to create the actual page. No matter what I do, the page becomes 'case-studies' and therefore naffs up my navigation and my link won't work. How do I get rid of the '-' that is somehow generated. Maybe if someone could explain to me the what the Title and Menu Text input boxes refer to that might help my understanding...but I have tried both of the following with no success:
When creating the page I have used the following:
Title : Case Studies
Menu Text : Case Studies
I get 'case-studies' as the page ID in my nav and also the page link (http://www.techsinthecity.co.uk/devsite/index.php?page=case-studies) and so the link won't work and you can only access the page if you type inthe URL. So I tried
Title : casestudies
Menu Text : casestudies
And the same problem occurs.
My menu code is as follows in case that has something to do with it...
Code: Select all
{if $count > 0}
<ul id="primarynav">
{foreach from=$nodelist item=node}
{if $node->depth > $node->prevdepth}
{repeat string="<ul>" times=$node->depth-$node->prevdepth}
{elseif $node->depth < $node->prevdepth}
{repeat string="</li></ul>" times=$node->prevdepth-$node->depth}
</li>
{elseif $node->index > 0}</li>
{/if}
{if $node->current == true}
<li id="{$node->alias}"><a href="{$node->url}" class="active" title="{$node->menutext}"> <span>{$node->menutext}</span> </a>
{else}
<li id="{$node->alias}"><a href="{$node->url}" title="{$node->menutext}"> <span>{$node->menutext}</span></a>
{/if}
{/foreach}
{repeat string="</li></ul>" times=$node->depth-1}</li>
</ul>
{/if}
Please help.
thanks
E

