- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 25.01.22, 12:37
- Opened by: Jano Rohleder
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #22928 - Open Custom Menu Links in New Tab/Window?
Hi! Can I have custom links in the menu open in a new browser tab/window? If I change <a href=”{$menu.link}”> to <a href=”{$menu.link}” target=”_blank”> in pk_menu.tpl, it will open ALL menu items in a new tab. And if I just add
" target="_blank
at the end of the link in the BO, it doesn’t work because the " get converted into HTML entities:
" target="_blank
Is there any way to do this?
Comments
Try to add “external” class like this https://take.ms/2rOdA
Yes! Perfect! Thank you!
You are welcome!