Template Override for /user/register

Template Override for /user/register

Wednesday 06 February 2008 6:25:19 pm - 2 replies

Author Message

Bruce Morrison

Wednesday 06 February 2008 8:00:47 pm

Hi Chad

You can certainly override the templates used by the register view of the user module. I believe there are 2 main templates associated with user/register:
templates/user/register.tpl which includes templates/content/edit_attribute.tpl

user/register is an interesting piece of code in that it wraps the content editing in it's own and adds some of it's own processing by way of hooks.

When you talk about a a "custom register extension" what do you mean - if you simply want to change the why the user register forms look then you can do it via overriding templates/user/register.tpl

Maybe a big picture view of what you are trying to do will help find the right solution :)

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Ross Kimbarovsky

Sunday 24 February 2008 3:50:22 pm

Bruce - thanks for responding. Chad and I work together.

We wonder whether we can allow registration via AJAX in a drop down window or from a modal, in addition to our normal registration page. When sending users to our site from an email, we want to direct them to a normal registration page. However, when on our site and users want to register, we'd prefer to have a drop down window (which we have for log-in already) or a modal so that new users can register right in the window without having to go to the separate registration page.

We assume that others have dealt with this issue and must have found some way(s) to solve it. Would appreciate any help.

Ross

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.