0
Welcome Guest! Login
0 items Join Now

Missing </div> in Simple Content Particle

    • R2ba5Aq4's Avatar
    • R2ba5Aq4
    • Rocketeer
    • Posts: 75
    • Thanks: 10

    Missing </div> in Simple Content Particle

    Posted 9 years 2 weeks ago
    • Hi,

      Assumptions:

      1. Joomla! 3.5.1
      2. Gantry 5.2.13
      3. Photon 1.0
      4. Localhost

      Problem: Unable to add third column to Coyright section. For example, if I drag and drop three module positions into the first row of the Copyright section and I set them to equal width, the result when I test on the frontend is that I get two columns 33.33% each. The third column appears nested within the second column. Visually, the third column appears nested below the second column, 33.33% of 33.33%.

      Thank you
    • Last Edit: 9 years 2 weeks ago by R2ba5Aq4. Reason: Changed title from "Problem Adding a Third Column to Copyright Section" to "Missing in Simple Content Particle"
    • DanG's Avatar
    • DanG
    • Preeminent Rocketeer
    • Posts: 36750
    • Thanks: 3229
    • Custom work done

    Re: Problem Adding a Third Column to Copyright Section

    Posted 9 years 2 weeks ago
    • R2ba5Aq4 wrote:
      Hi,

      Assumptions:

      1. Joomla! 3.5.1
      2. Gantry 5.2.13
      3. Photon 1.0
      4. Localhost

      Problem: Unable to add third column to Coyright section. For example, if I drag and drop three module positions into the first row of the Copyright section and I set them to equal width, the result when I test on the frontend is that I get two columns 33.33% each. The third column appears nested within the second column. Visually, the third column appears nested below the second column, 33.33% of 33.33%.

      Thank you

      Running the same setup 1. -> 4. as you I had no issues. This is what I got:

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


      Clone your site from local to remote server with a free copy of Akeeba backup . Takes about ten minutes.
    • The following users have thanked you: R2ba5Aq4

    • R2ba5Aq4's Avatar
    • R2ba5Aq4
    • Rocketeer
    • Posts: 75
    • Thanks: 10

    Re: Problem Adding a Third Column to Copyright Section

    Posted 9 years 2 weeks ago
    • Hi

      Thank you for taking the time to test this for me. I just tried to add a third column again and experienced the same problem: The third column is still nested inside the second.

      However, I think I may know what's wrong --- an extra (or missing) div tag somewhere in the Copyright section. This seems most likely to me, as I also checked this on another testing site and didn't experience the error. I'll take a closer look at this tonight and see if that's indeed the problem.

      Thanks again!
    • R2ba5Aq4's Avatar
    • R2ba5Aq4
    • Rocketeer
    • Posts: 75
    • Thanks: 10

    Re: Problem Adding a Third Column to Copyright Section

    Posted 9 years 2 weeks ago
    • Actually, I think there's a bug in the Simple Content particle for Photon: There appears to be a missing closing </div> tag in simplecontent.html.twig.:

      <div class="{{ particle.class|e }}">

      You can check this by going to simplecontent.html.twig in Photon and inspecting the divs. It wasn't the Copyright section that was the problem --- it was the Simple Content particle.

      To fix this I inserted another </div> on Line 45 of an override, just before {% endblock %}.

      Thank you
    • Last Edit: 9 years 2 weeks ago by R2ba5Aq4.
    • R2ba5Aq4's Avatar
    • R2ba5Aq4
    • Rocketeer
    • Posts: 75
    • Thanks: 10

    Re: Missing </div> in Simple Content Particle

    Posted 9 years 2 weeks ago
    • Hi

      As described above, I think there's a missing </div> in the Simple Content particle for Photon:
      R2ba5Aq4 wrote:
      Actually, I think there's a bug in the Simple Content particle for Photon: There appears to be a missing closing </div> tag in simplecontent.html.twig.:

      <div class="{{ particle.class|e }}">

      You can check this by going to simplecontent.html.twig in Photon and inspecting the divs. It wasn't the Copyright section that was the problem --- it was the Simple Content particle.

      To fix this I inserted another </div> on Line 45 of an override, just before {% endblock %}.

      Thank you

      The original title of this post was "Problem Adding a Third Column to Copyright Section." However, after reporting the bug and not hearing back for a few days I thought that perhaps it had been overlooked. Therefore, I'm posting this reply with a new title that more accurately reflects the problem.

      Thank you
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Missing </div> in Simple Content Particle

    Posted 9 years 2 weeks ago
    • Hi there,

      sincere apologies that you did not get another response and thank you for your patience.
      I have forwarded your bug report to our developers and we will make sure to get this addressed in the next update of Photon.

      Thanks again!
    • The following users have thanked you: R2ba5Aq4

    • Kat05 / QA Lead & Support / Germany
    • Kat05's Avatar
    • Kat05
    • Preeminent Rocketeer
    • Posts: 25898
    • Thanks: 334

    Re: Missing </div> in Simple Content Particle

    Posted 9 years 2 weeks ago
    • This message contains only secure information that is visible to Kat05, moderators and administrators
    • Kat05 / QA Lead & Support / Germany

Time to create page: 0.064 seconds