The answer is the same as kracker gave you in your previous post here: http://ez.no/community/forum/developer/how_to_call_the_created_user_registration_from_in_user_side
The href of your link needs to go to {'/user/register'|ezurl()}. By default this will call up the tempate templates/user/register.tpl.
There should be no need for any sections. You can certainly create an override for the register template but I would first try without.
If you have problems with that please tell us exactly what you are doing. I think you should first do without any sections or override as this makes any troubleshooting much easier. If it works fine without any override and you have problems with the override please post the code of your override template here.
Hi Claudia Kosny,
thanks for the solution Still i'm facing some problem(i'm new to eZ).
I want to create a login page for users in the user side itsconsists of following
USER SIDE:
--------------
1.login :---------
2.password:--------
3.login(button)
4.Remember me (checkbox) 5.Register(a link - href) [for new users)
Admin Side
------------- Modified the default class "User" with two more fields.
Now i want to call this class (as a registration form) in user side. when a new user clicks the Register link.
Pls let me know how to do this.. whether i have to create any sections or directly i can call.
That looks like you use an override which does not fetch any content. Please enable full debug output, clear your cache and have a look at the list of used templates. Also check whether you get any error messages.
If you use an override, remove it for now, clear the cache and try again. Then compare the original register.tpl with your override and check what might be going wrong. If you get any error messages in your debug output, try to fix the errors first on your own. If you have any trouble, post the errors here.
Hi Claudia Kosny Still i'm facing the same problem, So i tried in a new setup, I installed a plain site. by default it has a login registration page, it works well. later i made a new pagelayout.tpl file and override the satandard.
The new pagelayout.tpl is consits of following lines
"--------- This is the test------------"}
<HTML>
</BODY>
<a href={'/user/register'|ezurl()}>Click to register</a>
<blockquote> </blockquote>
</BODY> </HTML>
but this "Click to register" anchor is not working while clicking it dispalyes a blank page only. please tell me how to get or call the default registration from by clicking the above anchor.
Sorry, I don't know what is going on there. You have an error in your html (the opening <body> tag must not have a slash) but I can't image that this causes this problem.
Some things to check:
Enable the original pagelayout again and click there on the link for registering a user.
Make a note of the url that is called by this link. Now go back to your test pagelayout and make a note of the link that is called there for registering a user. What is the difference between them? Also enable full debug output so you get a list with the used templates. Try once with the original link and once with the new link and check which template is called for user registration. Please post the full path of this template (as found in this list).
Have a look at the [SiteAccessSettings] block of your site.ini for the siteaccess you use. Make sure that user/register is listed in the AnonymousAccessList[], like this (this is copied from the main site.ini):
# A list of module or module/views that don't require user login
AnonymousAccessList[]
AnonymousAccessList[]=user/register
AnonymousAccessList[]=user/success
AnonymousAccessList[]=user/activate
AnonymousAccessList[]=user/forgotpassword