Keyword

[SOLVED] Items getting out of the wrapper

  • Kévin
  • Kévin's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago - 10 years 9 months ago #122965 by Kévin
Hello,

My customer just told me about a bug... It's weird because i put some fake items to show him and all worked great. Since today, he tried to add some items and their what happened .

In fact, after some few of items, the other just getting out the wrapper, and of course, i can't let it like this !
I must resolve this quick, i'm not a developer.

- Top of the page
All is ok

- Middle of the page
Disaster is starting

- Bottom of the page
All is fucked :/


Best regards and happy new year :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122966 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Items getting out of the wrapper
Most likely an unclosed HTML tag.

You need to use HTML validator to see which tag is unclosed. Is this is a commercial template you should contact the template developer.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Kévin
  • Kévin's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago - 10 years 9 months ago #122967 by Kévin
Replied by Kévin on topic Re: Items getting out of the wrapper
Hello :)

The wrapper div is well closed (just checked it in Coda), and HTML validator found nothing interesting.
Which tool do you use to find unclosed tag ?

This is a free template from Yootheme called "Master" and so, i've a free account with no technical support.

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122968 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Items getting out of the wrapper
I also use the HTML validator to see if there are any HMTL errors.

There might be an issue with the loops in ctaegory.php . Since these are custom and overriden by the template developer there is no way of telling where the issue lies.

From the screenshots it is 99% a tag closing too early on an unclosed element

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Kévin
  • Kévin's Avatar Topic Author
  • Offline
  • New Member
More
10 years 9 months ago - 10 years 9 months ago #122969 by Kévin
Replied by Kévin on topic Re: Items getting out of the wrapper
I used this tool to find unclosed tag.
There is what it found :

"Closing tag </div> on line 1165 does not match open tag <section id="content" class="grid-block"> on line 563."

Ok... now i've "only" to find in which file hahaha. I'll kill myself :(
And i'm not sure it's the solution for my problem.

Edit : I found it, in the "template" file, but it's well closed as you can see

"<?php if ($this->get('system_output')) : ?>
<section id="content" class="grid-block"><?php echo $this->render('content'); ?></section>
<?php endif; ?>"

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 9 months ago #122970 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Items getting out of the wrapper
it is probably in category.php or category-item.php.

This tutorial will assist you with K2 overriding.
getk2.org/documentation/tutorials/174-templating-with-k2-and-the-concepts-of-sub-templates

But since this is a bug of the template you should notify the template developer about this.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Kévin
  • Kévin's Avatar Topic Author
  • Offline
  • New Member
More
10 years 8 months ago #122971 by Kévin
Replied by Kévin on topic Re: Items getting out of the wrapper
Hello :)

Ok my bad, it was a </div> i totally forgot to erase since i modified the category-item.php, thanks for the clue !

Resolved and thanks again.

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum