0
Welcome Guest! Login
0 items Join Now

Assigning particles to menu items.

    • ianmol100's Avatar
    • ianmol100
    • Hero Rocketeer
    • Posts: 275
    • Thanks: 1

    Assigning particles to menu items.

    Posted 6 years 11 months ago
    • Can't work out how to assifgn particles to menu items. Can it only be done through 'assignment' in the templates section?
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 98615
    • Thanks: 13111
    • Web Designer/Developer

    Re: Assigning particles to menu items.

    Posted 6 years 11 months ago
    • Particles are put on a layout in an outline - it is the outline that is assigned to a menu item.

      OR

      You can create a Gantry 5 module particle (basically a module wrapper around a particle) that means your can then assign a gantry 5 module particle to a position and also assign the menu item in module manager as you would for any other module.

      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.
    • ianmol100's Avatar
    • ianmol100
    • Hero Rocketeer
    • Posts: 275
    • Thanks: 1

    Re: Assigning particles to menu items.

    Posted 6 years 11 months ago
    • Thanks Mark - got it.
      So, in theory if you wanted modules to only appear once, you could assign them to menu items using outlines/layouts, but if you want them to appear on multiple pages you would use the more traditional assignment option in the module?
      Loving the new Gantry 5 so far.
    • MrT's Avatar
    • MrT
    • Preeminent Rocketeer
    • Posts: 98615
    • Thanks: 13111
    • Web Designer/Developer

    Re: Assigning particles to menu items.

    Posted 6 years 11 months ago
    • You want to keep the number of outlines to a minimum. Let me explain the two extremes... first you could have a single outline with nothing but "module position" particles on the layout - this would mean that all content could be assigned through module manager. Conversely you could have an outline for every single page (menu item) of your site with all the content being added directly on the layout with particles (so you wouldn't need to do anything in module manager). The reality is somewhere between the two extremes, but in general you should keep the number of outlines to a minimum. Why? because if you go the latter route things that are common between pages (e.g. a logo) would have to be repeated in every outline layout and things soon get unmanageable.

      The Gantry 5 module particle allows you to use one module across multiple layouts and to use the same "module position" for different content on different pages (menu items).

      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.

Time to create page: 0.088 seconds