How can I turn off/stop the Menu Manager changing & to &? I use various codes in my menu such as ´ or " however, the system is always changing the & to & so that the codes do not work correctly. I appreciate any assistance that you can give me.
Thanks,
Joshua Barnette
[gelöscht durch Administrator]
Menu Changing & to &
Re: Menu Changing & to &
menu field creates html entities by default from all characters, so you can just use " ' / \ and so on without thinking for the html entities.
the problem is that if you use & it will still parse through that and change it to & (yeah, its a stupid function
hmm I wonder what would happen if we first run it through htmlunentities and then again through html entities...
the problem is that if you use & it will still parse through that and change it to & (yeah, its a stupid function

hmm I wonder what would happen if we first run it through htmlunentities and then again through html entities...
Re: Menu Changing & to &
The problem I have when I use just the characters " ' / \ etc. is that my XHTML code will not validate and my page shows an error. Like everyone else I do everything possible to make sure the code validates. I am changing the "Guy's Team" on the menu to reflect the ' and the "Girl's Team" to reflect using ' by changing this you will be able to see the error I get. The site address is http://www.inmanchristian.com/index.php, the site is still in development so the entire url is necessary.
Re: Menu Changing & to &
Those are page names, menu text, you should be able to just type in the name and the menu manager will spit it out normal,,,,
but looking at your code/source view it looks like you are using a diff. menu setup unless you did a lot of modifications to a menu template...
but looking at your code/source view it looks like you are using a diff. menu setup unless you did a lot of modifications to a menu template...
Re: Menu Changing & to &
I did make changes to the CSS Menu Template. That template code is pasted below:
{* CSS Menu Template *}
{if $count > 0}
{foreach from=$nodelist item=node}
{repeat string="" times=$node->prevdepth-$node->depth}
{if $node->depth type != 'separator' and $node->current == true}
depth > 1 and $node->type != 'separator' and $node->current == true}
depth type != 'separator'}
depth > 1 and $node->type != 'separator'}
depth type == 'separator'}
{elseif $node->depth > 1 and $node->type == 'separator'}
{else}
{/if}
{if $node->type == 'sectionheader' or ($node->current == true and $node->haschildren == true)}
onclick="expandcontent('{$node->alias}_sub_menu')" href="#menu" onmouseover="window.status=':: {sitename} ¤ {$node->menutext} ::'; return true" onmouseout="window.status=''" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{elseif $node->parent == true}
onclick="expandcontent('{$node->alias}_sub_menu')" href="{$node->url}" onmouseover="window.status=':: {sitename} ¤ {$node->menutext} ::'; return true" onmouseout="window.status=''" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{elseif $node->type != 'sectionheader' and $node->type != 'separator'}
href="{$node->url}" onmouseover="window.status=':: {sitename} ¤ {$node->menutext} ::'; return true" onmouseout="window.status=''" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{/if}
{if $node->type == 'sectionheader' or ($node->haschildren == true)}
alias}_sub_menu" class="expand">
{elseif $node->type != 'sectionheader' and $node->type != 'separator'}
{/if}
{/foreach}
{/if}
{* CSS Menu Template *}
{if $count > 0}
{foreach from=$nodelist item=node}
{repeat string="" times=$node->prevdepth-$node->depth}
{if $node->depth type != 'separator' and $node->current == true}
depth > 1 and $node->type != 'separator' and $node->current == true}
depth type != 'separator'}
depth > 1 and $node->type != 'separator'}
depth type == 'separator'}
{elseif $node->depth > 1 and $node->type == 'separator'}
{else}
{/if}
{if $node->type == 'sectionheader' or ($node->current == true and $node->haschildren == true)}
onclick="expandcontent('{$node->alias}_sub_menu')" href="#menu" onmouseover="window.status=':: {sitename} ¤ {$node->menutext} ::'; return true" onmouseout="window.status=''" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{elseif $node->parent == true}
onclick="expandcontent('{$node->alias}_sub_menu')" href="{$node->url}" onmouseover="window.status=':: {sitename} ¤ {$node->menutext} ::'; return true" onmouseout="window.status=''" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{elseif $node->type != 'sectionheader' and $node->type != 'separator'}
href="{$node->url}" onmouseover="window.status=':: {sitename} ¤ {$node->menutext} ::'; return true" onmouseout="window.status=''" {if $node->accesskey != ''}accesskey="{$node->accesskey}" {/if}{if $node->tabindex != ''}tabindex="{$node->tabindex}" {/if}{if $node->titleattribute != ''}title="{$node->titleattribute}"{/if}{if $node->target ne ""} target="{$node->target}"{/if}>{$node->menutext}
{/if}
{if $node->type == 'sectionheader' or ($node->haschildren == true)}
alias}_sub_menu" class="expand">
{elseif $node->type != 'sectionheader' and $node->type != 'separator'}
{/if}
{/foreach}
{/if}