Jump to content

Update for IPS 4.4.4


pequefocus

Recommended Posts

4.4.4 is out now, and Chameleon Dark is being flagged as incompatible due to the following:

core → front → widgets → guestSignUp

Link to comment
Share on other sites

2 minutes ago, Joyrex said:

4.4.4 is out now, and Chameleon Dark is being flagged as incompatible due to the following:

core → front → widgets → guestSignUp

Patience. Version 4.4.4 has come out today and I'm sure @Ehren will soon offer it to us. 😉

Link to comment
Share on other sites

Oh, of course - just wanted to post it in case anybody else using this excellent skin is eager to upgrade to 4.4.4 😃

Link to comment
Share on other sites

18 hours ago, Joyrex said:

4.4.4 is out now, and Chameleon Dark is being flagged as incompatible due to the following:

core → front → widgets → guestSignUp

Can't you just revert it to the default? 

 

image.thumb.png.fb63abe460ddc876412fdf8d38d26a33.png

Link to comment
Share on other sites

Actually that will mess up the styling. Looks like the update template is:

{{$buttonMethods = $login->buttonMethods();}}
{{$usernamePasswordMethods = $login->usernamePasswordMethods();}}
{{if $orientation == 'vertical'}}
	<div class='ipsWidget_inner ipsPos_center ipsPad'>
		<div class="ipsAreaBackground_light ipsPad">

		    <h2 class="guest-widget-header">{$title}</h2>

            <div class="ipsType_richText ipsType_contained">
                {$text|raw}
            </div>
		    
		    {{if $buttonMethods}}
		        	<form accept-charset='utf-8' method='post' action='{$login->url}' data-controller="core.global.core.login">
						<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
						<input type="hidden" name="ref" value="{expression="base64_encode( \IPS\Request::i()->url() )"}">
			{{endif}}

            <div class='guest-widget-footer'>

		            <ul>
		            	{{if $usernamePasswordMethods}}
			                <li>
			                    <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_in_short"}</a>
			                </li>
			                {{if \IPS\Login::registrationType() != 'disabled'}}
				                <li>{lang="or"}</li>
				                <li>
				                    <a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_up"}</a>
				                </li>
				            {{endif}}
		                {{endif}}

		                {{if $buttonMethods}}
							<li>{lang="or"}</li>
				            {{foreach $buttonMethods as $method}}
					            <li>
					                {$method->button()|raw}
					            </li>
				            {{endforeach}}
				        {{endif}}
		            </ul>
		    </div>

		    {{if $buttonMethods}}
		    	</form>
		    {{endif}}

		</div>
	</div>
{{else}}
	<div class='ipsWidget_inner ipsPos_center ipsPad_half'>
		<div class="ipsAreaBackground_light ipsPad">

            <h2 class="guest-widget-header">{$title}</h2>

            <div class="ipsType_richText ipsType_contained">
                {$text|raw}
            </div>

            {{if $buttonMethods}}
		        	<form accept-charset='utf-8' method='post' action='{$login->url}' data-controller="core.global.core.login">
						<input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}">
						<input type="hidden" name="ref" value="{expression="base64_encode( \IPS\Request::i()->url() )"}">
			{{endif}}

            <div class='guest-widget-footer'>

		            <ul>
		            	{{if $usernamePasswordMethods}}
			                <li>
			                    <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_in_short"}</a>
			                </li>
			                {{if \IPS\Login::registrationType() != 'disabled'}}
				                <li>{lang="or"}</li>
				                <li>
				                    <a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_up"}</a>
				                </li>
				            {{endif}}
		                {{endif}}

		                {{if $buttonMethods}}
							<li>{lang="or"}</li>
				            {{foreach $buttonMethods as $method}}
					            <li>
					                {$method->button()|raw}
					            </li>
				            {{endforeach}}
				        {{endif}}
		            </ul>
		    </div>

		    {{if $buttonMethods}}
		    	</form>
		    {{endif}}
			        
		</div>
	</div>
{{endif}}

 

  • Like 1
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
×
×
  • Create New...