We’re with you. JoomShaper is offering a 20% Discount on all plans due to the impact of COVID-19

Support Online : Mon - Fri / 10am - 6pm (GMT +6)

Your Time: Our Time:

Exclude Keynote Speakers

Featured Lock Resolved Issue
Hello, how can I change the code in components/com_speventum/views/speakers/tmpl/defualt.php to EXCLUDE keynote speakers under the second block? I'm not good at php so not quite sure what code to add to exclude them.


<div id="sp-com-eventum" class="sp-com-eventum sp-eventum-view-speakers">

<?php if(count($this->keyonte_speakers) && $this->show_kspeakrs) { ?>
<div class="sp-speakers" id="keynote-speakers">
<h3 class="section-title text-center"><?php echo JText::_('COM_SPEVENTUM_KEYNOTE_SPEAKERS'); ?></h3>
<div class="row">
<?php foreach ($this->keyonte_speakers as $this->speaker) { ?>
<div class="col-sm-<?php echo round(12/$this->cParams->get('keynote_columns')); ?>">
<?php echo $this->loadTemplate('speaker', $this->speaker); ?>
</div>
<?php } ?>
</div>
</div>
<?php } ?>

SECOND BLOCK
<?php if(count($this->items)) { ?>
<div class="sp-speakers" id="other-speakers">
<h3 class="section-title text-center"><?php echo JText::_('COM_SPEVENTUM_ALL_SPEAKERS'); ?></h3>
<div class="row">
<?php foreach ($this->items as $key=>$this->speaker) { ?>
<div class="col-sm-<?php echo round(12/$this->cParams->get('speakers_columns')); ?>">
<?php echo $this->loadTemplate('speaker', $this->speaker); ?>
</div>
<?php } ?>
</div>
</div>
<?php } ?>


<?php if ($this->pagination->get('pages.total')>1) { ?>
<div class="pagination">
<?php echo $this->pagination->getPagesLinks(); ?>
</div>
<?php } ?>
</div>


Thanks a lot

4 Answers

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your query. Please follow the following instructions to solve this issue.
1) Please goto this file location /components/com_speventum/views/speakers/tmpl/default.php
2) Then change the setting from the menu item http://prntscr.com/p2iv9c
3) Then replace the attached file there.

Hope this will solve the issue.


-Best Regards

Attachments (1)

  • default.zip 1.2 KB

cliffvt

More than a month ago #Permalink
Sifat, thank you!! This is fantastic, much appreciated, works like a charm!

Should I be placing the default.php somewhere else to make sure it is not overwritten at upgrade or will it become standard functionality?

Thanks

Cliff

Sifat - Staff

More than a month ago #Permalink
Hi,
Thanks for your reply and appreciation.
You can take a backup before doing any kind of update till we release the fixed version.
Hopefully we'll fix this globally in the next update but you should take a backup just for precaution :)

-Best Regards


There are no replies made for this post yet.
Be one of the first to reply to this post!

123

Templates

326950

Community Users

Newsletter

Don’t miss any updates of our new templates and extensions and all the astonishing offers we bring for you.
We never spam

Joomla! ® name is used under a limited license from Open Source Matters in the United States and other countries. JoomShaper.com is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.

Connect Us