Listing module for event booking?

More
9 years 10 months ago #46326 by JJ
Hi,
is there a possiblity to list events like this:

TITLE of module:
event title 1
event title 2
event title 2
and so on... ?
or how can i do that?
kind regards
Jak

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

More
9 years 10 months ago #46327 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Listing module for event booking?
Hi Jak

We don't have any module with that format. I think you can customize the up-coming events module come with Events Booking to display events in that format.

Tuan

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

More
9 years 10 months ago #46329 by JJ
Replied by JJ on topic Listing module for event booking?
Thanks!
There are 2 questions:
1.) at the standard Module Layout: text "location" is missing. Where can i add this text?
2.) is it possible to put the calender image from the improved event booking module layout into that? How can i
do that?
kind regards
Jak
Attachments:

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

More
9 years 10 months ago #46353 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Listing module for event booking?
Hi Jak

It is difficult to answer this question from you. The answer is that you will need to customize the code of the module layout if you want to change it. I can only tell you the file you need to modify (I could not guide you how to edit the code), but It seems you don't know programming, so I think you will need to use the module as how it is.

Tuan

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

More
9 years 10 months ago #46354 by JJ
Replied by JJ on topic Listing module for event booking?
Hi Tuan,
thanks for your answer.
Would it be possible to add "location:" before the location?
kind regards
Jak

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

More
9 years 10 months ago #46358 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Listing module for event booking?
Hi Jak

Yes. You can try to add the location. Look at the modules/mod_eb_events/tmpl/default.php, find the code below :
Code:
<a href="<?php echo JRoute::_('index.php?option=com_eventbooking&view=map&location_id='.$row->location_id.'&tmpl=component&format=html&Itemid='.$itemId); ?>" rel="gb_page_center[500,450]" title="<?php echo $row->location_name ; ?>" class="location_link"><?php echo $row->location_name ; ?></a>

And add the "Location:" text at the beginning of that line. That would do what you want. Please try to code :).

Tuan
The following user(s) said Thank You: JJ

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

More
9 years 10 months ago - 9 years 10 months ago #46359 by JJ
Replied by JJ on topic Listing module for event booking?
Hi Tuan,
works great!, Thanks alot!!!
How can i make the "Location" bolder (like the other links from this module?
kind regards
Jak
Last edit: 9 years 10 months ago by JJ.

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

More
9 years 10 months ago #46373 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Listing module for event booking?
Hi Jak

If you want the text bold, you can use html <strong> tag. Something like

<strong>Location:</strong>


Regards,

Tuan

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

More
9 years 10 months ago #46511 by JJ
Replied by JJ on topic Listing module for event booking?
Hi Tuan,
i ment how can i make the location itself strong:
for example: location: Berlin


kind regards
Jak
Attachments:

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

More
9 years 10 months ago #46513 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Listing module for event booking?
Hi Jak

I am sorry but have you tried to edit the code yourself before asking this question ? I think it is very easy to find the code and change it to bold ? Or maybe you don't know how to code ? Please let me know so that it will be easier for us for future support (maybe it will be faster if I modify code for you instead of guide you how to do it),

Back to this request, in the same file, you can:

1. Find the code below :
Code:
<a href="<?php echo JRoute::_('index.php?option=com_eventbooking&view=map&location_id='.$row->location_id.'&tmpl=component&format=html&Itemid='.$itemId); ?>" rel="gb_page_center[500,450]" title="<?php echo $row->location_name ; ?>" class="location_link"><?php echo $row->location_name ; ?></a>

2. Change it to:
Code:
<a href="<?php echo JRoute::_('index.php?option=com_eventbooking&view=map&location_id='.$row->location_id.'&tmpl=component&format=html&Itemid='.$itemId); ?>" rel="gb_page_center[500,450]" title="<?php echo $row->location_name ; ?>" class="location_link"><strong><?php echo $row->location_name ; ?></strong></a>

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc