Keyword

Override layout per item

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 6 months ago #173439 by Thomas Thrane
Override layout per item was created by Thomas Thrane
Hi

Is it possible to choose an override per item?
Like default Joomla where you in an article can choose a layout for only this single article and in another article can choose a different layout based on overrides.

Hope you get what I mean :)

Regards
Thomas

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

More
4 years 6 months ago #173442 by JoomlaWorks
Replied by JoomlaWorks on topic Override layout per item
Joomla has indeed copied K2 in many parts, but what they've done can easily be called "overriditis". The chances that you need an ENTIRELY different layout for a single item are probably 0. Design changes are usually per category/section, not for a single item. But even at the off-chance that you do need to do such an override, you might as well use a class name (link that K2 item to a menu to assign a unique class name) to differentiate your CSS rules from the default ones. Even in such scenario, the changes will probably been very few compared to the default design/CSS. If you want an entirely different design & HTML structure, just assign that item to a separate category and use a different set of overrides for it.

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

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

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
4 years 5 months ago #173445 by Thomas Thrane
Replied by Thomas Thrane on topic Override layout per item
Thank you!
I'll look into to a solution for this ...

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

More
4 years 5 months ago #173446 by JoomlaWorks
Replied by JoomlaWorks on topic Override layout per item
You're welcome.

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

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


Powered by Kunena Forum