I've just created a kind of customer center on my ss 3.0.5 page.
The code is quite simple but at first i'll tell you the page structure:
My Holder is CustomerCenter with childpages CustomerPage. Each CustomerPage has a simple textfield called "CustomersEmailAddress"
The CustomerPage contains all info for one customer. Invoices, downloads, informations and so on.
CustomersEmailAddress contains the same e-mail address like the customers account.
If got no registration form or something like this on my page. So I create the accounts for my customers.
Ok, now let's go to the template code of CustomerCenter:
<% loop Children %> <% if CustomersEmailAddress = CurrentMember.Email %> here are all the CustomerPage variables <% end_if %> <% end_loop %>
With this method, the customer only gets the content of his CustomerPage.
It works. BUT how secure is this?!
Can someone tell me this or show me a better way to create a CustomerCenter?
Thank you in advance