We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25483
    • 741 Posts
    How can I make Reflect compatible with YAMS?

    It uses this ditto function to create a url;
    $ditto->buildURL("month=".$mon."&year=".$year."&day=false&start=0",$templatesDocumentID,$id);


    What do I need to change to make it work with YAMS?
      with regards,

      Ronald Lokers
      'Front-end developer' @ h2o Media

      • 25483
      • 741 Posts
      I did do the same trick as with ditto and that works now! First it didn’t because the internal alias was "naamloze-pagina" the automatic title every page get’s after saving without adding a internal title. Is there a way to sync the alias just like it does with the internal title?
        with regards,

        Ronald Lokers
        'Front-end developer' @ h2o Media

        • 22851
        • 805 Posts
        There’s nothing in YAMS to do that at the moment. Maybe you could try the ManagerManager synch fields function. Something like: [tt]mm_synch_fields(’alias_en,alias’)[/tt] I don’t know if it will synch a template variable with a document variable, but it’s worth a try.
          YAMS: Yet Another Multilingual Solution for MODx
          YAMS Forums | Latest: YAMS 1.1.9 | YAMS Documentation
          Please consider donating if you appreciate the time and effort spent developing and supporting YAMS.