Jump to content

How can I add Sign Up widget to There is a problem screen

Featured Replies

Posted

Hi all,

How can I add Sign Up link or widget to this screen?

Untitled-1.thumb.jpg.901922c60df4fda831fc73466623eba0.jpg

Thanks for your help

 

In the theme’s “error” template find:

{{if !member.member_id}}
		<br>
		<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class='ipsButton ipsButton_normal ipsButton_medium' title='{lang="sign_in"}'>
			{lang="sign_in"}
		</a>
{{endif}}

Replace with:

{{if !member.member_id}}
		<br>
		<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class='ipsButton ipsButton_normal ipsButton_medium' title='{lang="sign_in"}'>
			{lang="sign_in"}
		</a>
  <a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class='ipsButton ipsButton_normal ipsButton_medium' title='{lang="sign_up"}'>
			{lang="sign_up"}
		</a>
	{{endif}}

 

Made a quick plugin based in the @opentype's template to avoid the file edit.

It also checks if you're using full or quick registration from.

Zzoxjg2.jpg

 

 

  • Author
20 hours ago, opentype said:

In the theme’s “error” template find:


{{if !member.member_id}}
		<br>
		<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class='ipsButton ipsButton_normal ipsButton_medium' title='{lang="sign_in"}'>
			{lang="sign_in"}
		</a>
{{endif}}

Replace with:


{{if !member.member_id}}
		<br>
		<a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class='ipsButton ipsButton_normal ipsButton_medium' title='{lang="sign_in"}'>
			{lang="sign_in"}
		</a>
  <a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class='ipsButton ipsButton_normal ipsButton_medium' title='{lang="sign_up"}'>
			{lang="sign_up"}
		</a>
	{{endif}}

 

@opentype as always thank you so much for your help.... 🙂

15 hours ago, Adriano Faria said:

Made a quick plugin based in the @opentype's template to avoid the file edit: Sign Up On Error Message.xml

It also checks if you're using full or quick registration from.

Zzoxjg2.jpg

Also submitted to the marketplace, so I'll remove the attachment as soon as it gets approved.

 

Great job @Adriano Faria… Thank you...

  • 4 months later...
  • Author

Hi @Adriano Faria,

Is this going to be compatible with 4.4????
if not would you help us?
Thank you so much

5 hours ago, media said:

Hi @Adriano Faria,

Is this going to be compatible with 4.4????
if not would you help us?
Thank you so much

Test it and let me know if it doesn’t work. 

👍

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.