Hi, how do I print the checkbox in a php block? Thanks.

Comments

markus_petrux’s picture

If you're trying to change the look of the login block, then I believe you should ask for support in the development forum.

...or what are you trying to do exactly with the Persistent Login module?

markus_petrux’s picture

Status: Active » Postponed (maintainer needs more info)
markus_petrux’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No activity in several months. Closing.

Daniel A. Beilinson’s picture

Status: Closed (fixed) » Active

Hi!
I have advanced page for anonymous users with this snippet:

<?php  global $user; ?>
  	<?php if ($user->uid) : ?>
  	<span class="login_text">Welcome, </span> <?php print ($user->name); ?> <br>
  	<?php print l("Your Account",'user/'.$user->uid); ?> |
  	<?php print l("Log-Out","logout"); ?>
  	<?php else : ?>
	<form action="/?q=user&amp;destination=front_page"  method="post" id="user-login">
 	 <table border=0><tr>
 	     <td>&#1048;&#1084;&#1103;:</td><td><input type="text" maxlength="60" name="name" id="edit-name" size="15" value="" class="form-text required" /></td></tr>
  	<tr>
  	  <td>&#1055;&#1072;&#1088;&#1086;&#1083;&#1100;:</td><td><input type="password" maxlength="" name="pass" id="edit-pass" size="15" class="form-text required" /></td></tr></table>
	<input type="submit" name="op" value="&#1042;&#1086;&#1081;&#1090;&#1080;" class="form-submit" />
 	 <input type="hidden" name="form_id" id="edit-user-login" value="user_login" />
	</form>

How I can add PL checkbox here?
Thanks.

markus_petrux’s picture

Status: Active » Closed (fixed)

I cannot provide support for custom development. Use the development forums instead. Thanks

Support can be provided here for usage on the module, to deal with bugs, etc. But if you're dealing with custom development, that's a different story. The forums are there for a reason.