Keyword

Extra fields

  • verdura
  • verdura's Avatar Topic Author
  • Offline
  • New Member
More
3 weeks 7 hours ago #172317 by verdura
verdura created the topic: Extra fields
Hi all,

Thanks in advance for all the input.
I was trying to define some pages for some course definitions and end up using "Extra Fields". But now in the page the text doesn't appear line up.

www.dropbox.com/s/6dds6vr3q73svmm/1.PNG?dl=0

2 doubts:
1 - Can I make 2 columns one with the labels and another with the data field?
2 - Can I use the extra fields in the Itens main text?

Thanks

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 #172320 by Fotis
Fotis replied the topic: Extra fields
This is because the content from the left column exceeds the column's width and as such is placed below the right column. It's really a matter of how your current Joomla template styles/supports K2.

Replying to your other 2 questions...
1. Yes. The output is a <ul> either way with 2 <span> elements for label and value. If you set a fixed width for the label, you can balance the layout in 2 columns.
2. Yes. Just move the extra fields block right below your "fulltext". Your template probably has overrides for K2 already under /templates/YOUR_TEMPLATE/html/com_k2/.

See the source template (item.php) here: github.com/getk2/k2/blob/master/components/com_k2/templates/default/item.php#L244

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.

Moderators: william white

Powered by Kunena Forum