Opening link in a new page

Discussions related to customizing hooks. Hooks are documented at http://bigprof.com/appgini/help/advanced-topics/hooks/
Post Reply
Moh Youba
Veteran Member
Posts: 228
Joined: 2017-03-12 09:31

Opening link in a new page

Post by Moh Youba » 2019-09-13 14:01

Hello
I am trying to add custom link, but the code I found in the forum open the new page in the same page, I want to open the new page in another page.

Here what I try

$homeLinks[] = array(
'url' => 'http://maregavoyages.com/webmail/ target="_blank"',
'title' => 'MESSAGERIE',
'description' => '',
'groups' => array('*'), // groups allowed to see this link, use '*' if you want to show the link to all groups
'grid_column_classes' => 'col-md-4 col-lg-3', // optional CSS classes to apply to link block. See: http://getbootstrap.com/css/#grid
'panel_classes' => 'panel-danger', // optional CSS classes to apply to panel. See: http://getbootstrap.com/components/#panels
'link_classes' => 'btn btn-block btn-lg btn-info', // optional CSS classes to apply to link. See: http://getbootstrap.com/css/#buttons
'icon' => '', // optional icon to use with the link
'table_group' => 'PARTENAIRES' // optional name of the table group you wish to add the link to. If the table group name contains non-Latin characters, you should convert them to html entities.
);

But it is not working. Any help please.

Thank you

pbottcher
AppGini Super Hero
AppGini Super Hero
Posts: 1635
Joined: 2018-04-01 10:12

Re: Opening link in a new page

Post by pbottcher » 2019-09-13 14:18

Hi,

use the code from

viewtopic.php?t=3129
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.

Moh Youba
Veteran Member
Posts: 228
Joined: 2017-03-12 09:31

Re: Opening link in a new page

Post by Moh Youba » 2019-09-13 14:51

Hello

Thank you for your assistance. It is working fine.

'url' => 'http://maregavoyages.com/webmail" target="_blank',

Best regards,

Post Reply