Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# wernerw 4/5/2006 2:54 AM
I've started to delve into the nuts and bolts of cuyahoga and I just a little confused about one item I found... sure I can figure it out but I reckon getting it from the horse's mouth is better.

In the cuyahoga.modules project, there is "User" section which contains the Register.ascx, User.ascx etc files... then within the Cuyahoga.Web project within the "controls" folders the same controls are duplicated there or what appears to the be the same. When making changes to some of them I noticed the following.

The resource file from the modules project contained the defninition for some of the items then the files in the we project provide the registration services etc, almost seeming like some of the elements are running in one context whilst other are running from the web context.

Can you clarify why this is so?

Werner
# martijnb 4/5/2006 2:13 PM
You ran into some legacy Cuyahoga code. In the beginning there was no possibility to link modules to each other. Therefore the Login user control (User module, it should be renamed :)) had hard coded links to pages for registration, reset password and update profile. These pages contained the user controls in the Controls directory.
Later I added the possibility to link modules with each other, so I also added a Profile module which has pretty much the same controls. You can link actions of the User module to the Profile module.
At the moment, when the User module is not connected to a Profile module, it reverts back to it's original hard coded links but somewhere in the future for backward compatibility.
# wernerw 4/6/2006 12:57 AM
Ok sounds cool... I am starting to develop an ecommerce module. Will keep you posted with the progress.