6

Currently in Joomla 3.2, selecting "Save as copy" on a menu item copies the details but not the module assignments into a new menu item. (I believe module assignments were copied in Joomla 2.5)

Is there a way to copy menu items in Joomla 3.2 while also copying module assignments?

5
  • I realized I completely misread your post. Like completely way off. I deleted my answer. I was thinking you were copying modules, you're copying menu items. This may actually be considered a "bug" to be honest. I'd look for a way to submit that as a feature request to be put back in a future version. Commented Apr 23, 2014 at 1:56
  • Would it worked if you created a new menu item and chose the menu type as Menu item Alias? You would have to do this for each menu item you wanted to 'copy'. Commented Apr 23, 2014 at 2:13
  • Interesting, I didn't realize that was an option. I just played around with it but, the module assignments weren't copied Commented Apr 23, 2014 at 13:14
  • @BrianPeat thanks, I've opened #33647 in the bug tracker. Commented Apr 23, 2014 at 16:09
  • Interesting, this doesn't happen in a clean install of Joomla 3.2.2 Commented Apr 28, 2014 at 20:01

2 Answers 2

7

You can't do that as modules are assigned to a menu item id and saving a menu item as new will give it a new menu Id which no modules are assigned to.

Moving an item will keep its id but not copying.

3

I needed exactly the same thing so I made a plugin that makes Save as copy work that way. You can find it here: https://github.com/alexxandar/copy-module-assignments

3
  • I would like to test it, but install gives me an error "Unable to find install package". I have tried on both J3.4.8 on PHP5.6 and J3.5.0-rc4 on PHP7. How should I proceed? Commented Mar 20, 2016 at 11:03
  • 2
    Just copy the files to Joomla install, go to Extension Manager and then to Discover option. I haven't packed so that it can be installed the standard way. Honestly it was late and I was tired :) Soon I will repack the files so that you can install regular way. Thanks Commented Mar 20, 2016 at 11:53
  • 1
    Hvala druze, radi... Thanx bro, it's working... Nice one! Commented Mar 20, 2016 at 12:46

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.