pequefocus

Update for IPS 4.4.4

Recommended Posts

On 5/27/2019 at 2:06 AM, Ehren said:

Hello,

4.4.4 is only in beta. Themes will be upgraded once the final version of 4.4.4 is released :)

True! Sorry!

Share this post


Link to post
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. 😉

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...