@neos.
In the file <site root>/assets/modules/yams/class/yams.class.inc.php there is a reference to <site root>/assets/modules/yams/class/../yams.config.inc.php
Here is a copy of my yams.config.inc.php (I use YAMS 1.1.4a)
If you have your website installed in a subfolder check line 114 and add like this ’subfolder/subfolder2’ where subfolder2 is your website install.
And don’t forget to put the right permissions on that file (for example chown + chmod with apache user + group on linux).
I hope it helps
noob un jour, noob toujours!
noob one day, noob every day!
I have a TV ordering problem in the manager.
The TV pagetitle_fr is not at the top. It went down in the "Template Variables" section (availiable in all tabs). It is replaced by a another TV that is supposed to show in english tab only...
check the image to see what I mean
Did that happend to some of you?
I use modx 1.0.0 and YAMS 1.1.4a
Thanks.
noob un jour, noob toujours!
noob one day, noob every day!
Quote from: st1pixel at Aug 26, 2009, 11:05 AM
I have a TV ordering problem in the manager.
Please can you try the attached patch? It should fix the sorting problem. Just rename to remove the .txt extension and substitute it for your existing assets/modules/yams/yams.mm_rules.inc.php file.
Thanks.
I have a TV ordering problem in the manager.
The patch worked like a charm.
There are still issues with the other multilingual variables in the manager. Almost all TV appear in every language tab (all exept one...).
I used: [[YAMS? &get=`tv` &from=`myTVName`]] in my template and created the appropriate myTVName_en and myTVName_fr as Template Varibles.
Thanks for checking
noob un jour, noob toujours!
noob one day, noob every day!
Hi Guys!
The permissions trick worked like a charm. However, I still don’t see the options to insert a pagetitle etc. I also applied the TV ordering patch supplied a few posts before this one. PMS, have you seen the screenshot? If you need any additional information, I’ll try to assist in whatever way I can.
Thanks for the help and the great app!
noes
PS: I noticed that when adding Dutch as language to the site, the following message appears:
Created a template variable called <strong>pagetitle_en</strong> (1).
Created a template variable called <strong>pagetitle_nl</strong> (2).
Created a template variable called <strong>longtitle_en</strong> (3).
Created a template variable called <strong>longtitle_nl</strong> (4).
Created a template variable called <strong>description_en</strong> (5).
Created a template variable called <strong>description_nl</strong> (6).
Created a template variable called <strong>introtext_en</strong> (7).
Created a template variable called <strong>introtext_nl</strong> (8).
Created a template variable called <strong>menutitle_en</strong> (9).
Created a template variable called <strong>menutitle_nl</strong> (10).
Created a template variable called <strong>content_en</strong> (11).
Created a template variable called <strong>content_nl</strong> (12).
However, they don’t appear in the tabs.
Quote from: gm at Aug 27, 2009, 02:13 AM
@PMS
In your code $itsCurrentLangId is initialized to:
// The current language id for the document
private $itsCurrentLangId = 'en';
into a class variable. But in some site ’en’ lbeanguage can not present.
Giorgio
Ah, yes. I see now. So your patch really is needed for version 1.0.5 beta. It isn’t needed for the latest alpha version by the way, since it appears I already fixed this (although in a slightly different way).
Quote from: noes at Aug 27, 2009, 02:29 AM
PS: I noticed that when adding Dutch as language to the site, the following message appears:
Created a template variable called <strong>pagetitle_en</strong> (1).
Created a template variable called <strong>pagetitle_nl</strong> (2).
Created a template variable called <strong>longtitle_en</strong> (3).
Created a template variable called <strong>longtitle_nl</strong> (4).
Created a template variable called <strong>description_en</strong> (5).
Created a template variable called <strong>description_nl</strong> (6).
Created a template variable called <strong>introtext_en</strong> (7).
Created a template variable called <strong>introtext_nl</strong> (8).
Created a template variable called <strong>menutitle_en</strong> (9).
Created a template variable called <strong>menutitle_nl</strong> (10).
Created a template variable called <strong>content_en</strong> (11).
Created a template variable called <strong>content_nl</strong> (12).
However, they don’t appear in the tabs.
Two questions and one request:
1. It says that all those template variables were created - which is correct, but were they actually created? Can you see then under Elements>Manage Elements>Template Variables.
2. Do the template variables appear anywhere in the document view, or is it just that they are not displayed on the correct tab?
Please can you go to the ’Multilingual Templates’ tab and click update and see if anything else happens?
Thanks.