Hi,
I use the excellent News Highlighter GK1 with Pulse template.
Instead of News, I'd like it to display the Next Events from the Eventlist component.
What do I have to do ?
Thanks for your advises
Eric
$query_name = '
SELECT DISTINCT
c.id AS ID,
c.section AS SID,
c.title AS name,
m.id AS MID
FROM
#__categories AS c
LEFT JOIN
#__menu AS m
ON
c.id = m.componentid
LEFT JOIN
'.(($news_type == 0) ? '#__content' : '#__weblinks').' AS content
ON
c.id = content.catid
WHERE
( '.$where.' )
AND
c.published = 1'.((!$noauth && $config['unauthorized'] == 0) ? '
AND
c.access <= ' .(int) $aid : '').';
';
I have developed a small plugin to list events from EventList
http://extensions.joomla.org/extensions ... ific/10783
The issue is that I have tried it in News HighLighter and it displays the plugin code instead of its results..
Dziudek,
is there a plan to include plugin execution in the contents of the news, like in News Show Pro (which works perfect!) ?
Dziudek,
is there a plan to include plugin execution in the contents of the news, like in News Show Pro (which works perfect!) ?
If News Highlighter is also able to fire the "onPrepareContent" event the listevents plugin will run, and its contents will show up (like any other "content" plugin
$this->textTab[$i]=ParsePlugins($this->textTab[$i]);
if($this->config['show_title'] == 1)
{
$content[$i] .= '<span class="gk_news_highlighter_title">'.JString::substr($this->titleTab[$i], 0, $this->config['title_length']).((JString::strlen($this->titleTab[$i]) > $this->config['title_length']) ? '...' : '').'</span>';
}
Sorry Luis I didn't read correctly your post!go to "Advanced Parameters" on the News Show Pro Module
make sure "Parse plugins" is "enabled", and "Clean plugins code" is "disabled"