mirror of
https://github.com/e107inc/e107.git
synced 2025-04-19 20:21:51 +02:00
Issue #4372 Make sure shortcode is loaded.
This commit is contained in:
parent
80ff17194f
commit
5654f6acbf
@ -252,7 +252,9 @@ class contact_front
|
||||
message_handler("P_ALERT", $error);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
$contact_shortcodes = e107::getScBatch('contact');
|
||||
|
||||
if(deftrue('SITECONTACTINFO') || !empty($pref['contact_info']))
|
||||
{
|
||||
@ -261,7 +263,7 @@ class contact_front
|
||||
$CONTACT_INFO = e107::getCoreTemplate('contact','info');
|
||||
}
|
||||
|
||||
$contact_shortcodes = e107::getScBatch('contact');
|
||||
|
||||
$contact_shortcodes->wrapper('contact/info');
|
||||
$text = $tp->parseTemplate($CONTACT_INFO, true, $contact_shortcodes);
|
||||
$ns->tablerender(LANCONTACT_01, $text,"contact-info");
|
||||
|
Loading…
x
Reference in New Issue
Block a user