How can i add target=“_blank” to this simple redirect in a template?
<?php go($page->link()) ?>
How can i add target=“_blank” to this simple redirect in a template?
<?php go($page->link()) ?>
AFAIK you cannot open (or redirect to) a new browser window from PHP. This would either be initiated by clicking on a link which has the target="_blank"
attribute, or via JavaScript.