We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 9995
    • 1,613 Posts
    I'm using below code placed into chunk mm_demo_rules for creating Tabs and moving a TV into that Tab.
    Works great but I need to say: if($id ==1,2,3) so it appears onto 3 IDs.

    How can I do this?

    if($id ==1) {
    mm_createTab('Home', 'home', '', '3', '', '650');
    mm_moveFieldsToTab('SomeTv', 'home');
    



    #edit#
    Duplicated it and had to change the template-number. (Number 3 changed into 4)

    This question has been answered by gadgetto. See the first response.

    [ed. note: fourroses666 last edited this post 13 years, 10 months ago.]
      Evolution user, I like the back-end speed and simplicity smiley
    • discuss.answer
      • 10378
      • 375 Posts
      Could you please mark this thread as solved - your question is still listed under "open questions"?
        Freelancer @bitego http://www.bitego.com
        ---
        GoodNews - one of the most advanced and integrated Group Mailer premium add-ons for MODX Revolution!
        More infos here: http://www.bitego.com/extras/goodnews/
        • 9995
        • 1,613 Posts
        Quote from: gadgetto at Nov 30, 2012, 01:47 AM
        Could you please mark this thread as solved - your question is still listed under "open questions"?
        how can i do it lol? don't see any btn
          Evolution user, I like the back-end speed and simplicity smiley