-
Notifications
You must be signed in to change notification settings - Fork 63
Layouts
Florian Voutzinos edited this page Oct 7, 2013
·
4 revisions
$data['display_joomla_menu'] : boolean to display the joomla menu in the toolbar.
Note : the menu is very dirty under Joomla 2.5 as it's not bootstraped.
-
attribs: Attributes for the modal element -
showHeader: True to show the modal header -
showFooter: True to show the modal footer -
showHeaderClose: True to show the 'x' button in the modal header -
title: The modal title -
link: The modal inner link to load
<?php
$modal = RModal::getInstance(
array(
'attribs' => array(
'id' => $modalId,
'class' => 'modal hide fade',
'style' => 'width: 700px; height: 500px;'
),
'params' => array(
'showHeader' => true,
'showFooter' => false,
'showHeaderClose' => true,
'title' => $modalTitle,
'link' => $link
)
),
$modalId
);
// Render the modal
echo RLayoutHelper::render('modal', $modal);redCORE documentation menu: