<![CDATA[ empty title (title="" ) on menu links - My Forums]]> https://forums.modx.com/thread/?thread=45568 <![CDATA[Re: empty title (title=&quot;&quot; ) on menu links]]> https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263716 snippets. You can’t put your PHP code directly in your document template, but you can create a snippet for it and put it in that. Imagine that your snippet is called [tt]mymenu[/tt]. Then you would include the snippet in your template like so:
[[mymenu? &id=`(yams_id)`]]

I have added one parameter to pass the language id into the snippet. If YAMS is installed correctly the variable [tt]$id[/tt] will become available within the snippet and YAMS will ensure that [tt](yams_id)[/tt] evaluates to the id of the current language. For the snippet code you could then use:
<?php
include $id . '_menu.php';
?>


MODx gives you the flexibility implement your site like you want, so you could use that approach if you wish. However, you would miss out on all of the features of the Wayfinder snippet, so it would be good if we could work out why Wayfinder + YAMS extension is not working for you.]]>
PaulSuckling Jul 07, 2010, 06:34 PM https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263716
<![CDATA[Re: empty title (title=&quot;&quot; ) on menu links]]> https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263715
So i could use in my template something like:
<?php
include 'LANGUAGE-VARIABLE_menu.php';  
?>
]]>
matijat Jul 06, 2010, 05:54 AM https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263715
<![CDATA[Re: empty title (title=&quot;&quot; ) on menu links]]> https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263714 PaulSuckling Jul 03, 2010, 07:12 PM https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263714 <![CDATA[Re: empty title (title=&quot;&quot; ) on menu links]]> https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263713
[[Wayfinder? &startId=`0` &level=`1` &rowTpl=`@FILE:assets/modules/yams/tpl/wayfinder/docr/row.tpl`]]


is there another i could try?]]>
matijat Jul 01, 2010, 06:05 AM https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263713
<![CDATA[Re: empty title (title=&quot;&quot; ) on menu links]]> https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263712 http://svn.modxcms.com/docs/pages/viewpage.action?pageId=13205620]]> sottwell Jun 30, 2010, 06:10 AM https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263712 <![CDATA[empty title (title=&quot;&quot; ) on menu links]]> https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263711 I’ve installed YAMS 1.1.9 on clean MODX 1.0.3 installation. Everything is fine, multilingual content is displayed ok but I cannot get menu to display correctly! It doesn’t display anything, on any language, although the list and links are created. The rendered HTML code looks like this:


....
<li>
<a href="http://www.mydomain.com/mxnew/hr/index.php?id=51" title="" ></a>
</li>

<li>
<a href="http://www.mydomain.com/mxnew/hr/index.php?id=52" title="" ></a>
</li>
....

I have doublechecked installation steps, is there something else I could check?
The ’menutitle’ field for each language should be taken for generating menu labels automaticaly?

Thank you in advance.]]>
matijat Jun 30, 2010, 01:37 AM https://forums.modx.com/thread/45568/empty-title-title-on-menu-links#dis-post-263711