Jump to content

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


media

Recommended Posts

Posted

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}}

 

Posted
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...

Archived

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...