e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
322 stars 214 forks source link

FR - RSS plugin - update template paths to v2 standards #3840

Closed Jimmi08 closed 2 years ago

Jimmi08 commented 5 years ago

just note

// Get template
if (is_readable(THEME.'rss_template.php'))
{
    require_once(THEME.'rss_template.php');
}
else
{
    require_once(e_PLUGIN.'rss_menu/rss_template.php');
}
CaMer0n commented 5 years ago

Yes, but only once the template has been upgraded to v2 standards.

Jimmi08 commented 2 years ago

It is fixed if($template = e107::getTemplate('rss_menu', 'rss', 'page'))