We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 48561
    • 2 Posts
    Hi, i would like to suggest updating some code to correct document resource caption in multilanguage TV in file assets/modules/yams/class/yams.class.inc.php at:

    Line 455:
    $modxLangKey = 'document_title';
    //change to
    $modxLangKey = 'resource_title';


    Line 461:
    $modxLangKey = 'document_description';
    //change to
    $modxLangKey = 'resource_description';


    Line 464:
    $modxLangKey = 'document_summary';
    //change to
    $modxLangKey = 'resource_summary';


    Line 467:
    $modxLangKey = 'document_alias';
    //change to
    $modxLangKey = 'resource_alias';


    Line 470:
    $modxLangKey = 'document_opt_menu_title';
    //change to
    $modxLangKey = 'resource_opt_menu_title';


    Line 476:
    $modxLangKey = 'document_content';
    //change to
    $modxLangKey = 'resource_content';



    I'm using YAMS 1.1.9 and MODX 1.0.14.
    Thank you. [ed. note: himawan last edited this post 9 years, 8 months ago.]
      • 9995
      • 1,613 Posts
        Evolution user, I like the back-end speed and simplicity smiley