Please refer below screenshot and let me know
1) how can i remove Admidio from heading (circled)
2) how can i add links as similar to registration
Many thanks in advance..
thanks,
Amitabh
how to add link in heading (overview) & remove admidio from heading (Admidio overview)
- amitabhmca
- Beiträge: 104
- Registriert: 18. Apr 2018, 02:44
- Wohnort: Singapore
Re: how to add link in heading (overview) & remove admidio from heading (Admidio overview)
To 1)
https://github.com/Admidio/admidio/blob ... ex.php#L21
change to:
https://github.com/Admidio/admidio/blob ... ex.php#L21
change to:
Code: Alles auswählen
$headline = $gL10n->get('SYS_OVERVIEW');
Re: how to add link in heading (overview) & remove admidio from heading (Admidio overview)
To 2)
Look at this code:
https://github.com/Admidio/admidio/blob ... hp#L32-L61
The first section is for the links that are shown if you are logged in. the other section for logged out
Look at this code:
https://github.com/Admidio/admidio/blob ... hp#L32-L61
The first section is for the links that are shown if you are logged in. the other section for logged out
- amitabhmca
- Beiträge: 104
- Registriert: 18. Apr 2018, 02:44
- Wohnort: Singapore
Re: how to add link in heading (overview) & remove admidio from heading (Admidio overview)
Hello XimeX,
Thanks for your reply..
can you suggest where exactly i should add the code forto show the link? I tried adding but getting error 500.
and the code should be as this?
>>>> code from https://github.com/Admidio/admidio/blob ... ex.php#L21
Thanks,
Amitabh
Thanks for your reply..
can you suggest where exactly i should add the code forto show the link? I tried adding but getting error 500.
and the code should be as this?
Code: Alles auswählen
$page->addHtml('
<div id="Website_home_page">
<small><a href="http://www.test.com/"><img src="http://test.com/adm_themes/modern/icons/home.png" alt="HomePage" /> Website Home Page </a></small>
</div>'
Code: Alles auswählen
else
{
// show login link
$mainMenu->addItem('adm_menu_item_login', ADMIDIO_URL . '/adm_program/system/login.php',
$gL10n->get('SYS_LOGIN'), 'key.png');
if($gPreferences['registration_mode'] > 0)
{
// show registration link
$mainMenu->addItem('adm_menu_item_registration',
ADMIDIO_URL . FOLDER_MODULES . '/registration/registration.php',
$gL10n->get('SYS_REGISTRATION'), 'new_registrations.png');
}
}
Thanks,
Amitabh