0
Welcome Guest! Login
0 items Join Now

SOLVED Trying to Understand Layouts Overrides in Gantry 5

  • SOLVED Trying to Understand Layouts Overrides in Gantry 5

    Posted 9 years 6 months ago
    • Using Gantry 4 on Wordpress, I was able to create overrides for each page that I would use to override only a specific widget area depending on the page. This would allow me to use the default theme for the sitewide changes, and then use the override to change smaller amounts of information on specific pages.

      Fast forward to today, as I'm trying to use Gantry 5 on a Joomla installation. There is a Default outline, and then you create additional outlines over that, that as far as I can tell, work as overrides. However, unlike my experience with Gantry 4 on Wordpress, when I create a new outline, or duplicate one, its layout overrides the entire layout of the default outline. There doesn't appear to be a way to override only part of the default outline's layout in the new outline's layout, as each item in the default's layout is created in the new outline's layout.

      I'm really hoping I'm using the best terminology here. . .

      Anyways, as far as I can tell so far after spending around a dozen hours, is that there is no way to create an outline whose layout only has a few positions changed, and allows for changes to the default layout to pass through unchanged. If I want to change, say, a footer menu across the site, I have to do it first in the default outline's layout, then in each othe other outlines I've created. This seems time intensive, and I'm hoping I'm just not using Gantry 5 correctly. Maybe it's because I'm using Joomla this time instead of Wordpress.

      If I could get clarification on this, that would be delightful. Let me know if I need to rephrase anything.

      Thanks!
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Trying to Understand Layouts Overrides in Gantry 5

    Posted 9 years 6 months ago
    • Layne Huber wrote:
      Fast forward to today, as I'm trying to use Gantry 5 on a Joomla installation. There is a Default outline, and then you create additional outlines over that, that as far as I can tell, work as overrides. However, unlike my experience with Gantry 4 on Wordpress, when I create a new outline, or duplicate one, its layout overrides the entire layout of the default outline. There doesn't appear to be a way to override only part of the default outline's layout in the new outline's layout, as each item in the default's layout is created in the new outline's layout.

      If I duplicate the Default Outline to Requiem-Huber then yes all the layout is duplicated. All menu pages with the exception of overrides will use the layout as defined by Requiem-Default. The override template<->Outline Requiem-Huber is assigned as the template to be used for the "About Huber" menu page. You can then shut off entire Sections -> Rows -> Blocks. add or remove module position's and add or remove particles to style that page as you wish.

      If for some reason the layout of Requiem-Default copied to Requiem-Huber doesn't work for you then you can load in a rather large choice of Presets and Outlines to change the layout to something entirely different.
  • Re: SOLVED Trying to Understand Layouts Overrides in Gantry 5

    Posted 9 years 6 months ago
    • Thanks for your response Dan.

      So, what if after I've created Requiem-Huber, and say a Requiem-Huber2, a Requiem-Huber3, and a Requiem-Huber4, I make a change to Requiem-Default (say to the footer) that I want to be updated across the site. Is there anyway to have the footer default to what's sent on the Requiem-Default outline, no matter which outline I'm using? So that when I'm using Requiem-Huber and Requiem-Huber2, I can override a set area on the page, but allow the changes to the footer to be passed through correctly? Or do I have to go into each outline and edit each footer to match the default footer?
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Trying to Understand Layouts Overrides in Gantry 5

    Posted 9 years 6 months ago
    • Layne Huber wrote:
      Thanks for your response Dan.

      So, what if after I've created Requiem-Huber, and say a Requiem-Huber2, a Requiem-Huber3, and a Requiem-Huber4, I make a change to Requiem-Default (say to the footer) that I want to be updated across the site. Is there anyway to have the footer default to what's sent on the Requiem-Default outline, no matter which outline I'm using? So that when I'm using Requiem-Huber and Requiem-Huber2, I can override a set area on the page, but allow the changes to the footer to be passed through correctly? Or do I have to go into each outline and edit each footer to match the default footer?

      Yes and no. Lets say you have a Requiem-Huber outline with a Footer section consisting of three Blocks module position particle -> showcase-a, module position particle -> feature-a and then a Gantry 5 particle.

      You then clone this to Requiem-Huber2 and Requiem-Huber3. You decide that feature-a can stay the same on all three outlines.

      However you need to change the showcase-a module positions for Requiem-Huber2 and Requiem-Huber3. This relatively easy using Module Manager as you would have two whatever unique modules in the showcase-a module position and assigned to their respective outline.

      Last you decide that you need two unique Gantry 5 particles for Requiem-Huber2 and Requiem-Huber3. Here you would have to modify each particle in it's outline.

      If that's not clear then ask and I'll try to give you a better answer.
  • Re: SOLVED Trying to Understand Layouts Overrides in Gantry 5

    Posted 9 years 2 months ago
    • Hi Guys
      Been using Rockettheme for at least five years, joomla 8? Having lots of trouble with this myself.

      It appears to be impossible to judge how the dependencies of outlines are connected. Maybe they are not connected.

      My understanding and expectation is that it should work like a master and exception model. From firrst glance that is what it looks like. That thinking totally destroyed my first attempt when removing some layout positions from the coming soon page destroyed the home page. OUCH!

      Seeing there is no Master-Child identification system I was thinking the Default acts as the master and all other outlines are a child of the one master with each having local customisations. But this also does not appear to be so.

      If I change the default colour scheme it is not inhereted by the Home, Coming Soon or the Typography outline, despite those settings being greyed out (displaying that they have not been manually customised).

      So I thought it must be that the default is used simply to populate data into a new outline without establishing any link to the master – its a dumb copy. You have to modify each page if say the colour sheme changes.

      However, if I create a new outline, I dont get my custom colours from the default outline, I get the colours from preset 1. This is very upsetting. Dumber than expected.

      However, change the logo on the default and the rest of the pages follow. Great, but what the heck is the predictable logic here?

      Really confused and trial and error is dangerous and time consuming.

      Can someone clarify this so we know the best practice for weilding total control over our sites.

      Thanks.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Trying to Understand Layouts Overrides in Gantry 5

    Posted 9 years 2 months ago
    • Robert Luxford wrote:
      It appears to be impossible to judge how the dependencies of outlines are connected. Maybe they are not connected.

      They work exactly the same as Gantry 4.
      G4-Default MASTER styles all menu pages except those that are template overridden - the most common was G4-Home.

      So in Gantry 5 we have:
      G4-Default outline styles all menu pages except those that are outline overridden - the most common is the G4-Home outline.

      Robert Luxford wrote:
      Seeing there is no Master-Child identification system I was thinking the Default acts as the master and all other outlines are a child of the one master with each having local customisations. But this also does not appear to be so.
      Actually this is no different than Gantry 4 ;)
      Gantry 4
      Style settings stored in DBRocketLauncher installs with a rt_templateName-Default MASTER - which styles ALL menu pages except overridden onesrt_templateName-HOME a template override to style the HOME menu page
      Gantry 5
      Style settings stored in BASE OUTLINERocketLauncher installs with a rt_templateName-Default - which styles ALL menu pages except overridden onesrt_templateName-HOME an Outline to style the HOME menu page

      If you look in the Outlines Assignments Tab you will clearly see what Menu pages this Outline affects.

      Robert Luxford wrote:
      If I change the default colour scheme it is not inhereted by the Home, Coming Soon or the Typography outline, despite those settings being greyed out (displaying that they have not been manually customised).
      When you install the template there is a special Outline called "BASE OUTLINE" that has the default setup for a Logo Particle. This particle exists directly in the Layout Manager so a Joomla module position was not needed to display it.
      All the outlines will use the setup from this "BASE OUTLINE".
      You are free to alter this Logo particle setup for any existing instance in an Outline or when you create new Outlines and Drag in a Logo particle.

      1) You can Drag a Logo particle onto a Layout, that has had NO changes in the settings Tab for the Logo, and the BASE OUTLINE settings will be used.

      2) You can alter the Logo in the settings tab of an Outline so that any time you drag a Logo particle into the Outlines Layout these settings will be used. This will be like an override for step 1).

      3) You can alter the Logo at the Layout level of an Outline with settings you wish to use. Thsi will be an override of step 1) and then also step 2)
  • Re: SOLVED Trying to Understand Layouts Overrides in Gantry 5

    Posted 9 years 2 months ago
    • Hi.
      Still flummoxed. Maybe if I start small and specific.

      Using Antares template, Gantry 5.

      I want to change copyright menu across the site. It appears greyed out in Default, Home and Coming Soon Outlines under "layout".

      Where do I make the change?

      Please pardon my thickness, thanks.
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: SOLVED Trying to Understand Layouts Overrides in Gantry 5

    Posted 9 years 1 month ago
    • Robert Luxford wrote:
      Hi.
      Still flummoxed. Maybe if I start small and specific.

      Using Antares template, Gantry 5.

      I want to change copyright menu across the site. It appears greyed out in Default, Home and Coming Soon Outlines under "layout".

      Where do I make the change?

      Please pardon my thickness, thanks.

      I can be quite planky at times also ;)

      Try this, see the little Cog wheel just up and to the right of the Copyright particle Block - click it and the "power" toggle should be Green meaning the particle is Enabled.

      If this isn't the resolution than Would you please create a SuperAdmin login for me and place it in the SECURE part of your Reply

      This image is hidden for guests.
      Please log in or register to see it.


      so that I can take a look..
    • David Goode's Avatar
    • David Goode
    • Preeminent Rocketeer
    • Posts: 17058
    • Thanks: 890
    • Web Designer and Host

    Re: SOLVED Trying to Understand Layouts Overrides in Gantry 5

    Posted 8 years 9 months ago
    • Hi all,

      I am currently going through our old posts and was wondering if you still need help with this issue or can we mark it as solved?

      I did note a point about editing one outline to affect others. This is called inheritance and has just been introduced in Gantry 5 - see more here - Watch our latest videos here - Particle Inheritance

    • 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 Trying to Understand Layouts Overrides in Gantry 5

    Posted 8 years 9 months ago
    • Hi David,

      The new inheritence functionality of Gantry 5 completely resolves the frustrations I was having with the layouts, and was exactly what I was looking for. It reduces time spent hugely.

      Thanks for checking back in on this thread. With the new inheritence functionality, I think we can mark this post resolved.

      Thanks!

      Layne

Time to create page: 0.067 seconds