- Posts: 45
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- Question regarding styling (Nokkori-Hotel)
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Question regarding styling (Nokkori-Hotel)
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
I´m using the Nokkori-Hotel template and I got this question regarding changing the style of the template:
would it be possible to have the styling the "Additional Info" like this imgur.com/dJo8OAr
Unfortunately, it looks like this at the moment: imgur.com/kVHywCm
Thanks in advance for your help
Brgds
Torsten
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
.itemExtraFields ul {padding:10px 0;}
.itemExtraFields ul li {
border-bottom: 1px dotted ADD YOUR BORDER COLOR;
display: block;
margin: 0;
padding: 4px 0;
}
.itemExtraFields ul li.even { ADD HERE YOUR BACKGROUND COLOR }
.itemExtraFields ul li.odd {}
.itemExtraFields span.itemExtraFieldsLabel {
display: block;
float: left;
font-weight: bold;
min-width: 100px;
}
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
- Posts: 45
imgur.com/CnRKzE7
Any chance to get this fixed ?
Many thanks
Torsten
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
Thank you.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
- Posts: 45
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
Just open the item.php of templates/nokkori/html/com_k2/default folder and after you locate the div container named as above just remove or comment out the extrafields block from there.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
- Posts: 45
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
You can select the specific extrafields for the left part (customize the left part according to the code already in place by replacing the appropriate extrafield alias) and leave the rest load in the right side as the do now.
For example if your extrafield alias is address, your code for this exact extra field would be:
$this->item->extraFields->address->name; for the field's label and $this->item->extraFields->address->value; for the field's value.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
- Posts: 45
Does that mean that I have to remove the "itemRightContainer block" and add the lines like "$this->item->extraFields->address->name; for the field's label and $this->item->extraFields->address->value;" ??
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
Then sent me the item.php (if you have modified it from the default) so I can sent it back to you with the correct code to get your fields properly set up in the page.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
- Posts: 45
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
- Posts: 45
I got three categories with different extra fields, is this working ?
Also, in an article, if I leave an extra field blank, the field will not be displayed, right ?
Would it be possible to show the price field with the currency symbol (in this case €) ?
Please find attached the file "data.zip".
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
It would help if you could sort this out.
If you leave the extrafield blank it won't show, yes.
The symbol of the price could be whatever you want. The field of the price is a textfield extra field type and the symbol goes along with the number. It's all up to what you will type in.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
- Posts: 45
The extra fields "Name", "Email" and "Homepage" are shown on the right and that´s how it should be. So not sure if I need the extra fields also on the left side. Do you have an example for extra fields showing on the left side ?
Regarding the currency symbol, I will use a filter for K2 (K2 Search & Filter by Joomlart, demo.joomlart.com/joomla-extensions/) and I cannot type the currency symbol in the same field as the price because this won´t work.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
Another way to show the currency is to put it in another extrafield and fetch that as well along with the price or put it in the template files right before the extrafield's value is called.
In the first case the drawback is that you will have to add it in every single item you add that has a price.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
- Posts: 45
That´s a great idea to use the currency as an extra field. Not sure regarding the formatting or how to handle this.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
Thank you.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Torsten Lachnitt
-
Topic Author
- Offline
- Senior Member
- Posts: 45
We got three different categories at the moment, each category uses it´s own extra fields. The specified extra fields (not all extra fields !!!) should show on the right side of the screen, see also start.suche-seminarhaus.de/index.php/hotel/using-k2/trainer/item/172-gerald-sommer as an example.
You can find the category listings (specified extra fields) in the updloaded file "Categories_Nokkori.rtf", included in "data.zip".
Hope this clarifies the question.
Please Log in or Create an account to join the conversation.
- Yiota
-
- Offline
- Elite Member
- Posts: 311
I'm sorry for asking so many questions but if the aliases of the extrafields are incorrect the file I'll sent you won't work.
Thank you.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Commercial Joomla Templates
- Question regarding styling (Nokkori-Hotel)