- Posts: 8
- Thank you received: 0
Short Event Description on Module?
- obiwancho
- Topic Author
- Offline
- New Member
-
Less
More
13 years 11 months ago #9479
by obiwancho
Short Event Description on Module? was created by obiwancho
HI, I need to know if it´s possible to add the short event description to each event on upcoming events module. Thanks in Advance
Please Log in or Create an account to join the conversation.
- divinityweb
- Offline
- New Member
-
Less
More
- Posts: 1
- Thank you received: 0
13 years 10 months ago #9684
by divinityweb
Replied by divinityweb on topic Re: Short Event Description on Module?
You can add <span><?php echo $row->description ; ?></span> to around row 31 of /modules/mod_eb_events/tmpl/default.php
Please Log in or Create an account to join the conversation.
- obiwancho
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
13 years 10 months ago #9690
by obiwancho
Replied by obiwancho on topic Re: Short Event Description on Module?
Thanks for the help! Unfortunately it didn´t work for me.
this is the code i have for that file - i used your code both in line 60 and around 30 and nothing showing.
Thanks in advance!
this is the code i have for that file - i used your code both in line 60 and around 30 and nothing showing.
Code:
<?php
defined('_JEXEC') or die ();
JHTML::_('behavior.modal') ;
if ($showLocation) {
$greyBox = JURI::base().'components/com_eventbooking/assets/js/greybox/';
?>
<script type="text/javascript">
var GB_ROOT_DIR = "<?php echo $greyBox ; ?>";
</script>
<script type="text/javascript" src="<?php echo $greyBox; ?>/AJS.js"></script>
<script type="text/javascript" src="<?php echo $greyBox; ?>/AJS_fx.js"></script>
<script type="text/javascript" src="<?php echo $greyBox; ?>/gb_scripts.js"></script>
<link href="<?php echo $greyBox; ?>/gb_styles.css" rel="stylesheet" type="text/css" />
<?php
}
if (count($rows)) {
?>
<table class="eb_event_list">
<?php
$tabs = array('sectiontableentry1' , 'sectiontableentry2');
$k = 0 ;
foreach ($rows as $row) {
$tab = $tabs[$k] ;
$k = 1 - $k ;
?>
<tr class="<?php echo $tab; ?>">
<td class="eb_event">
<a href="<?php echo JRoute::_('index.php?option=com_eventbooking&task=view_event&event_id='.$row->id); ?>&Itemid=<?php echo $itemId; ?>" class="eb_event_link"><?php echo $row->title ; ?></a>
<br />
<?php echo $row->title ; ?>
<span><?php echo $row->description ; ?></span>
<br />
<div class="eb_description">
<?php echo $item->short_description ; ?>
</div> <br />
<div class="button"> Register </div>
<div class="more"> More Events </div>
<span class="event_date"><?php echo JHTML::_('date', $row->event_date, $config->event_date_format, 0); ?></span>
<?php
if ($showCategory) {
?>
<br />
<span><?php echo JText::_('EB_CATEGORY'); ?>: <?php echo $row->categories ; ?></span>
<?php
}
if ($showLocation && strlen($row->location_name)) {
?>
<br />
<a href="<?php echo JRoute::_('index2.php?option=com_eventbooking&task=view_map&location_id='.$row->location_id); ?>&tmpl=component&format=html" rel="gb_page_center[500,450]" title="<?php echo $row->location_name ; ?>" class="location_link"><?php echo $row->location_name ; ?></a>
<?php
}
?>
</td>
</tr>
<?php
}
?>
</table>
<?php
} else {
?>
<div class="eb_empty"><?php echo JText::_('EB_NO_EVENTS') ?></div>
<?php
}
?>
Thanks in advance!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 10 months ago #9691
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Short Event Description on Module?
Hi
Please give me more detail information :
1. What Joomla version you are using ? Joomla 1.5 or Joomla 1.6 ?
2. The description of event is entered in short description or description field ?
Once you provided the above information, I will modify the module alitle and upload it here so that you can simply download and install on your site .
Regards,
Tuan
Please give me more detail information :
1. What Joomla version you are using ? Joomla 1.5 or Joomla 1.6 ?
2. The description of event is entered in short description or description field ?
Once you provided the above information, I will modify the module alitle and upload it here so that you can simply download and install on your site .
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- obiwancho
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
13 years 10 months ago #9696
by obiwancho
Replied by obiwancho on topic Re: Short Event Description on Module?
Hi thanks for the quick response.
im using joomla 1.5 and filled both short description and description to make sure that work.
Thanks in advance for your help!
im using joomla 1.5 and filled both short description and description to make sure that work.
Thanks in advance for your help!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 10 months ago #9697
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Short Event Description on Module?
Hi
I modified the module code alitle and It should work as you want now . Simply get the module here, install it on your site (no need to uninstall the old module) . After that, description will be showed .
In case you enter short description, short description will be showed. Otherwise, description of event will be showed .
Regards,
Tuan
I modified the module code alitle and It should work as you want now . Simply get the module here, install it on your site (no need to uninstall the old module) . After that, description will be showed .
In case you enter short description, short description will be showed. Otherwise, description of event will be showed .
Regards,
Tuan
Attachment mod_eb_events-20110617.zip not found
- obiwancho
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
13 years 10 months ago #9700
by obiwancho
Replied by obiwancho on topic Re: Short Event Description on Module?
That works Great!!!! thank you!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 10 months ago #9701
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Short Event Description on Module?
Great !
You might want to help me by giving the extension a 5 stars rating and a nice review at extensions.joomla.org/extensions/calenda...s-registration/13701 to support my development :) .
Regards,
Tuan
You might want to help me by giving the extension a 5 stars rating and a nice review at extensions.joomla.org/extensions/calenda...s-registration/13701 to support my development :) .
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- obiwancho
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
13 years 10 months ago #9706
by obiwancho
Replied by obiwancho on topic Re: Short Event Description on Module?
Review Added! Thanks Again!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
13 years 10 months ago #9708
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Short Event Description on Module?
Yes, I noticed . Thanks so much for your help !
Regards,
Tuan
Regards,
Tuan
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.