Ich versuche, eine benutzerdefinierte Login-Seite im Anschluss an diese documentaiuon http://docs.alfresco.com/5.0/tasks/dev-extensions-share-tutorials-override-login-page.html
und dieses http://blog.arvixe.com/customize-alfresco-share-login-page/
zu schaffen, aber ich konnte es nicht funktioniert und das Protokoll diesen exceptio ,:
Alfresco benutzerdefinierte Login-Seite, Nein ‚login‘ Seitentyp konfiguriert - aber Seite auth required es
org.springframework.extensions.surf.exception.PlatformRuntimeException: 03110000 No 'login' page type configured - but page auth required it.
Und die Seite Web zeigt diese Massagen:
Serverfehler aufgetreten ist.
Es gibt eine Reihe von Gründen, warum dies geschehen konnte:
You have attempted to access a page that does not exist - check the URL in the address bar. You have attempted to access a page that is not accessible to you, such as a private Site dashboard. A valid page has been requested but the server was unable to render it due to an internal error - contact your administrator.<br/>
Hier sind alle meine config:
share-config-custom.xml
<config evaluator="string-compare" condition="WebFramework">
<web-framework>
<defaults>
<page-type>
<id>login</id>
<page-instance-id>mhg-login</page-instance-id>
</page-type>
</defaults>
</web-framework>
</config>
template/instances/mhg-login.xml
<template-instance>
<template-type>mhg/mhg-login</template-type>
</template-instance>
pages/MHG-login.xml:
<page>
<template-instance>mhg-login</template-instance>
<authentication>none</authentication>
</page>
In welcher Version von alfresco bist du? und können Sie Ihre Anpassungen anhängen? –
Community 5.0.d – elsadek
Ich bin mir nicht sicher, was das Problem war, aber es funktioniert jetzt. – elsadek