Keyword

Override layout per item

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
3 weeks 1 day ago #173439 by Thomas Thrane
Thomas Thrane created the topic: Override layout per item
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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
3 weeks 1 day ago #173442 by Fotis
Fotis replied the 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.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Thomas Thrane
  • Thomas Thrane's Avatar Topic Author
  • Offline
  • Premium Member
More
2 weeks 6 days ago #173445 by Thomas Thrane
Thomas Thrane replied the 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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 weeks 6 days ago #173446 by Fotis
Fotis replied the topic: Override layout per item
You're welcome.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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


Powered by Kunena Forum