- Posts: 92
COMMUNITY FORUM
Layout Bug On Some K2 Items
- Red Evolution
- Topic Author
- Offline
- Premium Member
Less
More
5 years 4 months ago #172445
by Red Evolution
Layout Bug On Some K2 Items was created by Red Evolution
Hi Fotis,
Got another quirk on a site running the latest dev version of K2. In the Item edit window in the backend, on some of the items the layout is being loaded incorrectly. Basically, the tabs at the top all get loaded together so that some of the section titles overlay the other items on the page and you can't edit them. So for example, in Screenshot1.png you will see I have marked the area where extra section titles are being displayed, this is stopping us from being able to click on the pencil icon to update the article author (although we can change it in the batch layout on the main item screen). This doesn't happen on all the items though which is the odd thing and there are no errors appearing in the console. Any ideas what could be causing this?
Thanks,
Dave
Got another quirk on a site running the latest dev version of K2. In the Item edit window in the backend, on some of the items the layout is being loaded incorrectly. Basically, the tabs at the top all get loaded together so that some of the section titles overlay the other items on the page and you can't edit them. So for example, in Screenshot1.png you will see I have marked the area where extra section titles are being displayed, this is stopping us from being able to click on the pencil icon to update the article author (although we can change it in the batch layout on the main item screen). This doesn't happen on all the items though which is the odd thing and there are no errors appearing in the console. Any ideas what could be causing this?
Thanks,
Dave
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Away
- Admin
Less
More
- Posts: 6218
5 years 4 months ago - 5 years 4 months ago #172462
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Layout Bug On Some K2 Items
Do you see any JS errors in your browser's dev tools?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 5 years 4 months ago by JoomlaWorks.
Please Log in or Create an account to join the conversation.
- Red Evolution
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 92
5 years 4 months ago - 5 years 4 months ago #172502
by Red Evolution
Replied by Red Evolution on topic Layout Bug On Some K2 Items
Hi Fotis,
Sorry I was out of the office last week. No, there are no JS errors in the dev tools.
Dave
Sorry I was out of the office last week. No, there are no JS errors in the dev tools.
Dave
Last edit: 5 years 4 months ago by Red Evolution.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Away
- Admin
Less
More
- Posts: 6218
5 years 4 months ago #172507
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Layout Bug On Some K2 Items
Other K2 related extensions you may be using?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Red Evolution
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 92
5 years 4 months ago #172554
by Red Evolution
Replied by Red Evolution on topic Layout Bug On Some K2 Items
We use this multi category plugin extensions.joomla.org/extension/multiple-categories-for-k2/ but we have articles where multiple categories are assigned and the layout bug doesn't appear so it is a very strange one.
Please Log in or Create an account to join the conversation.
- Red Evolution
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 92
5 years 4 months ago #172560
by Red Evolution
Replied by Red Evolution on topic Layout Bug On Some K2 Items
Apologies for any time you've spent on this one Fotis, diagnosed the issue now. Turns out the client hadn't closed off an image tag properly in the 'Media' field which screwed up the layout for the whole section. Might be something to consider adding in future versions, a failsafe for layouts or a warning if incorrect code is added there although not sure how simple that would be to implement.
Thanks,
Dave
Thanks,
Dave
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Away
- Admin
Less
More
- Posts: 6218
5 years 4 months ago #172604
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Layout Bug On Some K2 Items
What exactly had they used (out of curiosity)?
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Red Evolution
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 92
5 years 4 months ago - 5 years 4 months ago #172647
by Red Evolution
Replied by Red Evolution on topic Layout Bug On Some K2 Items
They put the img tag in but had missed to close it off properly so it was like this:
<img href="test.jpg" title="test
Rather than this:
<img href="test.jpg" title="test" />
<img href="test.jpg" title="test
Rather than this:
<img href="test.jpg" title="test" />
Last edit: 5 years 4 months ago by Red Evolution.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Away
- Admin
Less
More
- Posts: 6218
5 years 3 months ago #172663
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Layout Bug On Some K2 Items
Yeah, it's probably an edge case as most users rarely copy/paste any HTML in the Media tab (they either use AllVideos integration or direct upload/server selection).
To detect broken HTML, we need to parse the output with JS which kinda seems overkill.
To detect broken HTML, we need to parse the output with JS which kinda seems overkill.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.