Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Events: Summary not showing on Event Page

10 years 2 months ago
  • Stuart's Avatar
    Topic Author
  • Stuart
  • Offline
  • Fresh Boarder
  • Posts: 43
  • Thank you received: 1
Licenses:
JomSocial Expired

I have several Events issues (I'll post 1 issue per ticket to keep it simple)
The Event Summary is showing as a pop-up on the Events Module, but NOT

  1. as a popup on the All Events or My Events pages.
  2. anywhere in the actual Event Description page

Attachments:
10 years 2 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Stuart,
The layout is showing as how it intended.
If you have enough knowledge about template customization then here some guideline for you,
Please explore "mod_community_events/mod_community_events.php", "mod_community_events/tmpl/default.php"
and make sure how the below variable showing event summary using above two files.

$event->summary
Thanks

10 years 2 months ago
  • Stuart's Avatar
    Topic Author
  • Stuart
  • Offline
  • Fresh Boarder
  • Posts: 43
  • Thank you received: 1
Licenses:
JomSocial Expired

My technician has found $event->summary

He is very familiar with php... but needs to know where to put $event->summary

10 years 2 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Stuart,
I have updated the event list page with even summary.
You will find the script at root/templates/gk_news_pwa/html/com_community/events.list.php
Here is the code
below code showing event summary with maximum 200 character at the list

<?php if(!empty($event->summary)){?>
              <div class="cIndex-summary" style="padding-bottom:30px">
                <?php 
                      echo substr($event->summary,0,200);
                      if(strlen($event->summary)>200){
                        echo '...';
                      }
                ?>
              </div>
<?php } ?>

and this to show as tooltip with whole summary text.
<?php if(!empty($event->summary)){?> class="jomNameTips" original-title="<?php echo $event->summary; ?>" <?php }?>

Please check the result.
Thanks

Attachments:
10 years 2 months ago
Licenses:
JomSocial Expired GURU Expired Publisher Expired AdAgency Expired iSEO Expired Socialize Expired

Hi Stuart,
Here is another event summary for event detail page. Though I have updated at
root/templates/gk_news_pwa/html/com_community/events.viewevent.php
but here i placed the code.

<dt>Event Summary</dt>
<dd><?php echo $event->summary;?></dd>

and the summary is showing as the screenshot attached
Thanks

Attachments:
The following user(s) said Thank You: Stuart
Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW