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:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user