Button instead create new user redirect to a web page in a new tab

Hi all,

I have a peace of code that is a button and when you click on it, opens a modal to add a user, I would like to click on the button and instead to open the modal for new user, open a new tab browser in a specific URL.

Here is the code:

button class=“btn btn-info btn-lg btn-block” data-toggle=“modal” data-target="#newuserpanel">
<?php print $setUp->getString("add_user"); ?>

How can I achieve that?

Many thanks in advance.


<a href="newURL">link</a>

Hi Many thanks for your reply.
Where I have to add this peace of code?
I had put on the place of the php code but did not work.

replace the whole button.

Sponsor our Newsletter | Privacy Policy | Terms of Service