Code: Select all
<li class="small-icon icon-profile dropdown-container dropdown-right rightside"><a href="{U_***_M_PROFILE}">{L_NAME_TEST}</a></li>
Moderators: mindphp, ผู้ดูแลกระดาน
Code: Select all
<li class="small-icon icon-profile dropdown-container dropdown-right rightside"><a href="{U_***_M_PROFILE}">{L_NAME_TEST}</a></li>
Code: Select all
$this->template->assign_vars(array(
'U_***_SAMPLE1_PAGE' => $this->helper->route('M.Profile_controller', array('name' => '***')),
));
Code: Select all
$this->template->assign_vars(array(
'U_***_M_PROFILE_PAGE' => $this->helper->route('***_M_Profile_controller'),
));
Code: Select all
M.Profile_controller:
pattern: /M_Profile
defaults: { _controller: XXXX.M_Profile.controller:base}
requirements:
Code: Select all
class main_listener implements EventSubscriberInterface
{
static public function getSubscribedEvents()
{
return array(
'core.page_header' => 'add_page_header_link',
'core.user_setup' => 'load_language_on_setup',
);
}
Users browsing this forum: Google [Bot] and 4 guests