1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-29 17:19:56 +02:00

Separate template added to hero for when used within a menu. (ie. Menu Manager)

{HERO_BGIMAGE} behavior modified.
This commit is contained in:
Cameron
2021-02-26 11:30:52 -08:00
parent cb95b4b243
commit 8e1b547171
6 changed files with 40 additions and 15 deletions

View File

@@ -15,6 +15,6 @@ if (!defined('e107_INIT')) { exit; }
// e107::lan('hero','menu', true);
$text = e107::getParser()->parseTemplate("{HERO}");
$text = e107::getParser()->parseTemplate("{HERO: template=menu}");
e107::getRender()->tablerender(null, $text, 'hero-menu');