<![CDATA[ use pagetitle in wayfinder/user friendly URL - My Forums]]> https://forums.modx.com/thread/?thread=45473 <![CDATA[Re: use pagetitle in wayfinder/user friendly URL]]> https://forums.modx.com/thread/45473/use-pagetitle-in-wayfinder-user-friendly-url#dis-post-263174 Quote from: PMS at Dec 09, 2009, 03:58 PM

Yes. It’s possible. Go to Modules>YAMS>Other Params>Multilingual Aliases and set Multilingual Aliases = Yes. You may also need to update your htaccess file according to Modules>YAMS>Server Config. You can then use the multilingual alias fields to set the document aliases per language.

OMFG, this is AWESOME. shocked

For the above problem: I must think what the best solution is. Currently I’m still enthusiastic about that cool MM’s synching feature.

]]>
FuryDE Dec 09, 2009, 10:07 AM https://forums.modx.com/thread/45473/use-pagetitle-in-wayfinder-user-friendly-url#dis-post-263174
<![CDATA[Re: use pagetitle in wayfinder/user friendly URL]]> https://forums.modx.com/thread/45473/use-pagetitle-in-wayfinder-user-friendly-url#dis-post-263173 Quote from: FuryDE at Dec 09, 2009, 03:23 PM

First question: For the menu I am currently using the provided YAMS-tepmlates for wayfinder (folder docr). This template needs the "menu title" to be set for each document. I usually do not set it, because the page title is very fine for the menu (with exceptions). Thus, my menu initially stays blank.
...
EDIT: I have just found ManagerManager’s field synching capabilities. But this restrains me from using a different menu title than page title.
Three options:

1) Make your own version of the yams Wayfinder templates. You can copy them into chunks and specify the chunk name instead of FILE: ... in the Wayfinder call if you prefer. Just replace the word menutitle by pagetitle in the YAMS snippet calls in the appropriate places in the templates.

2) Use ManagerManager to synchronise the menutitles with the pagetitles. However, as you state, this would then prevent you from setting the menutitle independently.

3) You may be able to use PHx to include the pagetitle if the menutitle is blank.

Quote from: FuryDE at Dec 09, 2009, 03:23 PM

Second question: Is it possible to use multilingual user friendly URLs? It would be very nice, if a document could be called by "/de/kontakt.html" resp. "/en/contact.html". Is this possible?
Yes. It’s possible. Go to Modules>YAMS>Other Params>Multilingual Aliases and set Multilingual Aliases = Yes. You may also need to update your htaccess file according to Modules>YAMS>Server Config. You can then use the multilingual alias fields to set the document aliases per language.]]>
PaulSuckling Dec 09, 2009, 09:58 AM https://forums.modx.com/thread/45473/use-pagetitle-in-wayfinder-user-friendly-url#dis-post-263173
<![CDATA[use pagetitle in wayfinder/user friendly URL]]> https://forums.modx.com/thread/45473/use-pagetitle-in-wayfinder-user-friendly-url#dis-post-263172
Now that my first YAMS-powered site is being set up, I get questions about the usage. I’m using 1.1.7. alpha RC 7.

First question: For the menu I am currently using the provided YAMS-tepmlates for wayfinder (folder docr). This template needs the "menu title" to be set for each document. I usually do not set it, because the page title is very fine for the menu (with exceptions). Thus, my menu initially stays blank.

Second question: Is it possible to use multilingual user friendly URLs? It would be very nice, if a document could be called by "/de/kontakt.html" resp. "/en/contact.html". Is this possible?

Thanks and greetings
Martin


EDIT: I have just found ManagerManager’s field synching capabilities. But this restrains me from using a different menu title than page title.]]>
FuryDE Dec 09, 2009, 09:23 AM https://forums.modx.com/thread/45473/use-pagetitle-in-wayfinder-user-friendly-url#dis-post-263172