Floating buttons target _blank
- Posted by aptel (2) Offline
Hello,
I'm trying to open the button url to a new window, but I don't know where to look to add in the html "target=_blank",
Paul
5 years 10 months ago #1
by aptel
I'm trying to open the button url to a new window, but I don't know where to look to add in the html "target=_blank",
Paul
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hi, sorry for delay in responding.
For that, you need to edit the file : ../modules/mod_floating_buttons/tmpl/default.php
at lines 26 you will see this code:change that to :
5 years 10 months ago #2
by TemplatePlazza
For that, you need to edit the file : ../modules/mod_floating_buttons/tmpl/default.php
at lines 26 you will see this code:
"icon":"<?php echo $item->child_item_icon; ?>"
"icon":"<?php echo $item->child_item_icon; ?>",
"target":"_blank"
Please Log in or Create an account to join the conversation.
- Posted by aptel (2) Offline
So, now all the links I have can be opened in a new window.
But in the floating buttons module I have internal links and external links. I would like that my external links are opened in a new window and my internal links in the same window..
5 years 9 months ago #3
by aptel
But in the floating buttons module I have internal links and external links. I would like that my external links are opened in a new window and my internal links in the same window..
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Ah I see. Then you will need some custom modifications for that purpose.
5 years 9 months ago #4
by TemplatePlazza
Please Log in or Create an account to join the conversation.
- Posted by NicolasJ (3) Offline
Hello,
Same question, i have internal and external links.
Dispite the fact that your extension is free and answered nicely to my needs, it really miss the target option.
Do you intend to add that or do we have to manage it ?
Thanks a lot for your work and your answers !
Nicolas
4 years 2 weeks ago #5
by NicolasJ
Same question, i have internal and external links.
Dispite the fact that your extension is free and answered nicely to my needs, it really miss the target option.
Do you intend to add that or do we have to manage it ?
Thanks a lot for your work and your answers !
Nicolas
Please Log in or Create an account to join the conversation.
- Posted by TemplatePlazza (5261) Offline
Hi Nicolas, yes you will need some custom modifications for that purpose
4 years 2 weeks ago #6
by TemplatePlazza
Please Log in or Create an account to join the conversation.