We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25483
    • 741 Posts
    I am trying to move some tv’s to a tab, but it is not working!

    I tried these rules:
    mm_widget_showimagetvs();
    mm_createTab('Engels', 'Engels');
    mm_moveFieldsToTab('content_en,longtitle_en,menutitle_en,pagetitle_en,summary_en', 'Engels');


    and these:
    mm_widget_showimagetvs();
    mm_createTab('Engels', 'Engels');
    mm_moveFieldsToTab('tvcontent_en,tvlongtitle_en,tvmenutitle_en,tvpagetitle_en,tvsummary_en', 'Engels');


    With both nothing happens, only the tab get’s created. How can I move the fields to the tab?
      with regards,

      Ronald Lokers
      'Front-end developer' @ h2o Media

      • 25483
      • 741 Posts
      Just found out that it doesn’t work because of the "_" that is in the name of the template variables!

      Does somebody know how I can fix this? I need the "_" because it is use for a multi language snippet. I alse changed the snippet to use "-" in the template variable name, but that doesn’t work too. After I got rid of these symbols it is working for me, but I still want to know how to fix it because changing the snippet is just a dirty fix.
        with regards,

        Ronald Lokers
        'Front-end developer' @ h2o Media