Settings for RSEvents


Inctructions: TorTags configuration for RSEvents

Steps:

1. Go: Components -> TorTags -> Manage Components.

2. Click to "Create" button in toolbar.

3. Enter parameters, see picture below.

4. Click to "Save" button in toolbar.

5. Some modification RSEventsfiles.

Example settings for RSEvents items:

Component name: com_rsevents
Component table: #__rsevents_events
Id field: IdEvent
Title field name: EventName
Description field name: EventDescription
Created field name: EventStartDate
Url template: index.php?option=[COMPONENT]&view=events&layout=show&cid=[ID]
Exceptions (views or tasks): 

 

Unfortunately, RSEvents developers didn't include pre-processing description by content-plugins.
Therefore, it is necessary to make a small change in the files:

administrator\components\com_rsevents\views\events\tmpl\edit.php (~line 688)

Replace: echo $editor->display('EventDescription',$this->data->EventDescription,550,400,70,10,$this->rseventsConfig['editor.buttons']); ?>   

To:  echo $editor->display('EventDescription',$this->data->EventDescription,550,400,70,10,(bool)$this->rseventsConfig['editor.buttons']); ?> 

\components\com_rsevents\views\events\view.html.php (~line 196, 197)

Replace: $event = $this->get('Event');

To:  $event = $this->get('Event');
       $event->EventDescription=JHTML::_('content.prepare',$event->EventDescription);

After making changes, save the files. That all.

Scroll to Top
Ads: