How can i allow my users on the website to login???

Author Message

Rizwan Ahmad

Wednesday 16 July 2003 2:26:55 am

How can i allow my users on the website to login before using some confidential information???

I creat the template using User but it always gives an error
"Access denied
You don't have permission to access this area."

plz. help

Mark Overduin

Thursday 17 July 2003 12:46:18 am

Correct me if I'm wrong, but do you really need to create a template for this?

This is what I do to make it possible for users to login:
- Create a new user
- Create a new role (user is allowed to login (module=user, function=login); user may read certain content (module=content, function=read, select the correct nodes/subtrees))
- Put the user in the role

Voila...

If this doesn't work or it isn't what you're looking for, just post it.

Good luck, Mark

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

eZ debug

Timing: Jan 30 2025 21:44:01
Script start
Timing: Jan 30 2025 21:44:01
Module start 'layout'
Timing: Jan 30 2025 21:44:01
Module start 'content'
Timing: Jan 30 2025 21:44:01
Module end 'content'
Timing: Jan 30 2025 21:44:01
Script end

Main resources:

Total runtime0.0295 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 588.2578151.2266
Module start 'layout' 0.00750.0064 739.4844220.7188
Module start 'content' 0.01390.0140 960.2031997.6953
Module end 'content' 0.02790.0016 1,957.898429.9922
Script end 0.0295  1,987.8906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003010.1022140.0002
Check MTime0.00113.8986140.0001
Mysql Total
Database connection0.00082.628410.0008
Mysqli_queries0.006321.282130.0021
Looping result0.00000.067910.0000
Template Total0.00113.710.0011
Template load0.00092.947010.0009
Template processing0.00020.755910.0002
Override
Cache load0.00062.030910.0006
General
dbfile0.00113.841280.0001
String conversion0.00000.037240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs