how can I use the login from ezPublish

Author Message

markus heilmann

Monday 19 December 2005 12:46:06 am

Hello,

I am a beginner with ezPublish.
I want to have a Login on my ezPublish Website to show some content only after login.

Is it possible with ezPublish? How can I activate the Login on the site?

Many thanks.

Markus

Xavier Dutoit

Monday 19 December 2005 1:29:14 am

Yes, that's possible.

In your siteaccess config, add the following lines to your site.ini.append.php :

[SiteAccessSettings]
RequireUserLogin=true

http://www.sydesy.com

Thomas Nunninger

Monday 19 December 2005 1:30:28 am

For restricted access: First you need to set the right permissions: a user or group (perhaps guest) which is allowed to read the content - anonymous role should not be able to read the content. So the content isn't shown any more without login. For example you can a new section to a new subfolder "internal" and only the guest user group is allowed to read that section.

For login: In my plain install there is a "login"-link in the right top. You can change that in the admin interface: Design -> Toolbar-Management. (I don't know if this are the rigth labels - because my admin interface is in German at the moment.)

Now, if someone wants to read that content he is redirected to user/login where he is able to login or to register if not registered yet.

Perhaps you can look in the old documentation which is much more like a tutorial then the new technical documentation.

Have a nice day

Thomas

markus heilmann

Monday 19 December 2005 3:40:55 am

Thank you very much! ... it works :-)

Greetings
Markus

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 19 2025 13:54:38
Script start
Timing: Jan 19 2025 13:54:38
Module start 'layout'
Timing: Jan 19 2025 13:54:38
Module start 'content'
Timing: Jan 19 2025 13:54:38
Module end 'content'
Timing: Jan 19 2025 13:54:38
Script end

Main resources:

Total runtime0.0166 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 590.4453152.6250
Module start 'layout' 0.00550.0025 743.070339.4453
Module start 'content' 0.00800.0065 782.515689.4297
Module end 'content' 0.01450.0021 871.945334.3047
Script end 0.0166  906.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002313.7100140.0002
Check MTime0.00106.1049140.0001
Mysql Total
Database connection0.00105.757110.0010
Mysqli_queries0.002414.195830.0008
Looping result0.00000.079010.0000
Template Total0.001710.310.0017
Template load0.00095.430810.0009
Template processing0.00084.804310.0008
Override
Cache load0.00063.434710.0006
General
dbfile0.001810.729580.0002
String conversion0.00000.053240.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