Jump to content

Get the same 'set password' form on the front-end


modifiedcontent
 Share

Recommended Posts

The nifty code:

$base = wire('config')->urls;
$cssUrl = $base->InputfieldPassword."InputfieldPassword.css";
echo '<link rel="stylesheet" href="'.$cssUrl.'">';

$jsUrls = array();
$jsUrls[] = $base->InputfieldPassword."complexify/jquery.complexify.min.js";
$jsUrls[] = $base->InputfieldPassword."complexify/jquery.complexify.banlist.js";
$jsUrls[] = $base->JqueryCore."xregexp.min.js";
$jsUrls[] = $base->InputfieldPassword."InputfieldPassword.min.js";

foreach ($jsUrls as $jsUrl) {
	echo "<script src='$jsUrl'></script>";
}

 

  • Like 4
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...