0
Welcome Guest! Login
0 items Join Now

SOLVED Export/Import Menu settings

  • SOLVED Export/Import Menu settings

    Posted 4 years 9 months ago
    • Hi,
      I want to export the menu data from one G5 template and import it to another G5 template including the "Subtitle". I have about 35 links with subtitles.

      How do i do this please? Is the data stored in the Databse or the template files?

      Cheers
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Export/Import Menu settings

    Posted 4 years 9 months ago
    • You can use j2xml to import/export joomla menu data. This will get you 90% of the way there, but you may still need to manually configure additional g5 menu edit data.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Export/Import Menu settings

    Posted 4 years 9 months ago
    • Thanks Mr T. Is there no way to just use phpmyadmin? Export from 1 table and import to another?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Export/Import Menu settings

    Posted 4 years 9 months ago
    • No, because the data does not exist in just one table. Joomla use a table to store menu data but it also has many references in other tables to those menu items (e.g. for module assignments). Plus, Gantry 5 store supplementary menu information in YAML flat files and again other YAML file reference the menu items IDs too.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Export/Import Menu settings

    Posted 4 years 9 months ago
    • Ok, Which Yaml files does Gantry store the menu subtext data in please?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 101084
    • Thanks: 13481
    • Web Designer/Developer

    Re: SOLVED Export/Import Menu settings

    Posted 4 years 9 months ago
    • You should not change these files manually as you could break your site.

      But the config files for the menu(s) can be found in /templates/TEMPLATENAME/custom/config/menu - there will be one YAML file in there for each menu.

      Note that in YAML file indentation has meaning and you cannot use tabs.

      Regards, Mark.
    • Please search forums before posting. Please make sure your post includes the version of the CMS you are using and a link to the problem. Annotations on screenshots can also be helpful to explain problems/goals. Please use the "secure" tab for confidential information.
  • Re: SOLVED Export/Import Menu settings

    Posted 4 years 9 months ago
    • Ok, thanks

Time to create page: 0.037 seconds