• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: Help with upcoming events module

Help with upcoming events module 11 years 10 months ago #23856

For my client i'm looking for a way to show the upcoming events list but with the following futures:

thumbnail - name of the event - date - location - seats available


Is there anyone who could help me with this?
The administrator has disabled public write access.

Help with upcoming events module 11 years 10 months ago #23866

  • silviup
  • silviup's Avatar
  • OFFLINE
  • Moderator
  • Posts: 309
  • Thank you received: 49
This can only be achieved using template overrides, the process is explained here:

www.rsjoomla.com/support/documentation/v...s-look-and-feel.html

You can also refer to this article, it addresses displaying the number of remaining tickets for an event:

www.rsjoomla.com/support/documentation/v...-the-event-page.html
Please note: my help is not official customer support. To receive your support, submit a ticket by clicking here
Regards,
RSJoomla! Development Team
The administrator has disabled public write access.

Help with upcoming events module 11 years 9 months ago #24089

  • etagure
  • etagure's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hi I have same wishes
thumbnail - name of the event - date - location

Anybody in RS Joomla team or other cam made modification for me?
I will pay for it
Thnx
The administrator has disabled public write access.

Help with upcoming events module 11 years 9 months ago #24090

  • bouwe26
  • bouwe26's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
Hi there,

You need to make an template override as explained above.
If you did this, you need to make the changes in yourtemplate/html/modules/mod_rseventspro_upcoming/tmpl/default.php

Just try something, by deleting some code and adding some code.
You'll get there ;)

Friendly regards,
Bouwe26
The administrator has disabled public write access.

Help with upcoming events module 11 years 9 months ago #24127

  • etagure
  • etagure's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
It is easy to say...if you know put code...Will you make it for me...if yes, we cam make deal..
Thnx
The administrator has disabled public write access.

Help with upcoming events module 11 years 8 months ago #24440

  • conklin
  • conklin's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
I'm looking to do the same styling to the upcoming events module.
Have it list:
MM/DD/yyyy - Event Name - Location.

..... I have been trying just about everything for 2 days now, tried a bunch of php from the helpers in the extension folders. I'm new to php and this is like learning Greek. It would be very righteous if someone could give a specific answer, an example or even (if lucky) what exactly to do. and the, www.rsjoomla.com/support/documentation/v...s-look-and-feel.html
...does really help at all.

please be very much appreciated if could be explained how to add the location of the event to the upcoming event module
The administrator has disabled public write access.

Help with upcoming events module 11 years 8 months ago #24449

I am glad you find our articles helpful. We try to write our documentation to be accessible to as many users as possible. Template overrides however are a more difficult topic and, without any PHP knowledge, can be pretty hard to accomplish.

I will give you a couple of tips on how to accomplish your desired scenario. First of all go ahead and copy the modules/mod_rseventspro_upcoming/tmpl/default.php to /templates/your_template/html/mod_rseventspro_upcoming/, as instructed in the aforementioned article (in the "Template overrides for modules" section).

Afterwards open the file and notice the section of code in between the <li> tags. This is the code that handles the display of each individual event and you will have access to most of the event's data from this section. To get a list of all the available data you can use the following statement:

<?php print_r($event); break; ?>

... which will output something like this:

stdClass Object ( [id] => 8 [name] => Road Car Championship [start] => 2013-09-02 08:29:00 [end] => 2013-09-06 10:29:00 ...

If for example I was keen on displaying the event's id, I would use something like this:

<?php echo $event->id; ?>

Getting the date in your desired format will however be a little more tricky, so I'll just give you the necessary statement:

<?php echo $event->allday ? rseventsproHelper::date($event->start,rseventsproHelper::getConfig('global_date'),true) : rseventsproHelper::date($event->start, 'm/d/Y',true); ?>

This should be all the necessary information to get things going.
Please remember that my responses aren't considered customer support, to receive customer support please submit a new customer support ticket, and we will gladly assist you.

Best Regards,
Cristian Nicolae.
The administrator has disabled public write access.
The following user(s) said Thank You: conklin

Help with upcoming events module 11 years 2 months ago #26590

I've tried the code you linked to in the tmpl/default.php file, but now i only get to see the right amount of tickets left if there's one event to display.

If there are more than one event it will show random amount of available tickets at the first event, and at the second event it shows twice the amound of tickets etc etc.

I;ve inserted the following code to default.php

<!-- beschikbare plaatsen --!> 
 
            <?php
$db = &JFactory::getDBO();
$db->setQuery("SELECT * FROM #__rseventspro_tickets WHERE ide = '".$event->id."'");
$tickets = $db->loadObjectList();
if($tickets)
{
 
 
  echo JText::_('COM_RSEVENTSPRO_NRTICKETS');
 
 
  foreach($tickets as $ticket)
  {
    $t .='<tr>';
    $t .='<td>: ' .$ticket->seats.'</td>';
    $t .= '</tr>';
  }
  $t .='</table>';
  echo $t;
}
?>

Could you please help me finding out where it is going wrong ?
I've inserted the code before the location title/link ( line 141 )
The administrator has disabled public write access.

Help with upcoming events module 9 years 11 months ago #31173

  • hrozema
  • hrozema's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
When I do your advice and with the advice of the FAQ, I only get the title and extension (.jpg or .png) of the thumbnail. What can I do to make it show the picture?
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!