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.

Move Category to the bottom of Event Details

9 years 9 months ago
  • Susan's Avatar
    Topic Author
  • Susan
  • Offline
  • Fresh Boarder
  • Posts: 69
  • Thank you received: 20
Licenses:
JomSocial Expired AdAgency Expired iSEO Expired Socialize Expired

ISSUE SUMMARY:
1) We would like to move Category to the bottom of the Event Details page, as it isn't very important for us. How can we do this?

OR 2) In fact, we would prefer to have no Event Categories at all.....is it easy to remove Category?? We would need to remove it from Create Event form, from Event Details in event, and from All Events page (where it shows Category dropdown). Is this easy to do?

Thanks

9 years 9 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Susan,

1. you should modify this file components/com_community/templates/jomsocial/layouts/events/list.php, move this code to the bottom :

<?php
// hide this is this is a search page
    if(!$isSearch && $task == 'display' && !$groupid){
?>
    <div class="joms-sortings">
        <select class="joms-select reset-gap" onchange="joms_change_filter(this.value, 'category');">
            <option value=""><?php echo JText::_('COM_COMMUNITY_EVENTS_ALL'); ?></option>
            <option value="featured_only" <?php echo ($categoryId == 'featured_only') ? 'selected' : '' ;  ?>><?php echo JText::_('COM_COMMUNITY_FEATURED_ONLY'); ?></option>
            <?php foreach($availableCategories as $category){ ?>
                <option value="<?php echo $category->id ?>"<?php if ($categoryId == $category->id) echo ' selected'; ?>><?php echo JText::_( $this->escape(trim($category->name)) ); ?></option>
            <?php } ?>
        </select>
    </div>
    <div class="joms-gap"></div>
<?php } ?>

2. no, you cant do it..Category is the main field for event

thank you

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