1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 14:44:29 +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

@@ -50,7 +50,7 @@ class hero_shortcodes extends e_shortcode
$sc = e107::getScBatch('hero', true, 'hero');
$template = e107::getTemplate('hero','hero','default'); // todo use a table field to make layout dynamic.
$template = e107::getTemplate('hero','hero', varset($parm['template'],'default')); // todo use a table field to make layout dynamic.
$tp = e107::getParser();