- Posts: 5
COMMUNITY FORUM
Place (right) module next to particular K2 article
- Mateo
-
Topic Author
- Offline
- New Member
Less
More
4 years 1 week ago #178748
by Mateo
Place (right) module next to particular K2 article was created by Mateo
Attachments:
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
Less
More
- Posts: 6227
4 years 1 week ago #178771
by JoomlaWorks
Replied by JoomlaWorks on topic Place (right) module next to particular K2 article
Sure it's possible, just not this way...
Please Log in or Create an account to join the conversation.
- Mateo
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
4 years 1 week ago #178775
by Mateo
Replied by Mateo on topic Place (right) module next to particular K2 article
Well, can you tell me that another way? hehe
Regards,
M
Regards,
M
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
Less
More
- Posts: 6227
4 years 1 week ago #178782
by JoomlaWorks
Replied by JoomlaWorks on topic Place (right) module next to particular K2 article
I need to see what you want to achieve. A screenshot would help pointing out which is the K2 component and which is the K2 module.
Please Log in or Create an account to join the conversation.
- Mateo
-
Topic Author
- Offline
- New Member
Less
More
- Posts: 5
4 years 1 week ago #178795
by Mateo
Replied by Mateo on topic Place (right) module next to particular K2 article
So here is example. I have a list of renting houses (1st picture), next to them is calendar with latest events, which is okay, but when you open, for example "Jura's country house", I don't wanna have latest events. I want to place another module or some kind of field which will display for example "House features" with a list of features, do you get me?
Regards,
M
Regards,
M
Attachments:
Please Log in or Create an account to join the conversation.
- JoomlaWorks
-
- Offline
- Admin
Less
More
- Posts: 6227
4 years 6 days ago #178808
by JoomlaWorks
Replied by JoomlaWorks on topic Place (right) module next to particular K2 article
You can utilize K2's Extra Fields then to built such additional data and instead of having a 2-column layout in the "item view", use a single-column layout, then just place the extra fields output in the right column.
It's easy to detect the K2 item view inside your template's code (e.g. in index.php):
It's easy to detect the K2 item view inside your template's code (e.g. in index.php):
if (JRequest::getCmd('option') == 'com_k2' && JRequest::getCmd('view') == 'item') {
// do something when on the item view
}
Please Log in or Create an account to join the conversation.