Keyword

Tags dropdown and 2 column extra fields

  • Marc
  • Marc's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 11 months ago #57551 by Marc
To save time with tags, is it possible to have a drop down of your current tags on the new item screen, so u can select as many as you want?

Also is it possible to display Extra Info (Extra fields) in a two column display rather than the current one?

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

More
12 years 11 months ago #57552 by william white
Replied by william white on topic Re: Tags dropdown and 2 column extra fields
Extra fields in two cols
use an override
Edit item.php
Find the foreach block of code that displays extra fields and their names
Edit it to insert a table, row, two cells, and on the loop create a new row

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

  • Marc
  • Marc's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 11 months ago #57553 by Marc
Ok Thanks, sounds easy enough.

In regards to the tags question, seems odd that we can add tags in the tags tab, but then can't add these tags to an item. Or am I missing something there?

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

More
12 years 11 months ago #57554 by william white
Replied by william white on topic Re: Tags dropdown and 2 column extra fields
when you add a tag to an item while adding a new item or editing an item, a tag gets created in the tags table. It works as the lookup/autofind when you are typing the tag again

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

  • Marc
  • Marc's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 11 months ago #57555 by Marc
Thanks, for that worked it out after I posted :)

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

  • Marc
  • Marc's Avatar Topic Author
  • Offline
  • Senior Member
More
12 years 11 months ago #57556 by Marc
Can I be a pain and ask for some example code of a table, the way I'm trying to do it now isn't working. Do I start the table before or after the foreach block?

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

More
11 years 1 month ago #57557 by Chrysanthos
Replied by Chrysanthos on topic Re: Tags dropdown and 2 column extra fields
Can anyone help me out with 2 columns extra fields?
Log in  or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
11 years 1 month ago #57558 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Tags dropdown and 2 column extra fields
You have to try something like
.itemExtraFields ul { list-style: none outside none; margin: 0; padding: 0; }
.itemExtraFields ul li { display: inline-block; vertical-align: top; width: 50%; margin: 0 -2px; padding: 0; }

You might need to set your own paddings and margins to the list (ul)

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

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

More
11 years 1 month ago #57559 by Chrysanthos
Replied by Chrysanthos on topic Re: Tags dropdown and 2 column extra fields

Krikor Boghossian wrote: You have to try something like

.itemExtraFields ul { list-style: none outside none; margin: 0; padding: 0; }
.itemExtraFields ul li { display: inline-block; vertical-align: top; width: 50%; margin: 0 -2px; padding: 0; }

You might need to set your own paddings and margins to the list (ul)

Thank you so much Krikor!!
I thought it was a php thing but i was wrong! Thanks again!! :)

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