SiteAccessRules: admin login page

Author Message

Thursday 19 May 2005 8:38:17 am

Is it possible to disable the Register button on the admin login page, and if so how ?
I have tried adding this to site.ini.append.php without much success:

[SiteAccessRules]
Rules[]=Access;disable
Rules[]=Module;user/register

Ɓukasz Serwatka

Thursday 19 May 2005 10:26:10 pm

Hi,

What exacly not working?

You can hide "register" button in
design\admin\templates\user\login.tpl

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Thursday 19 May 2005 11:22:02 pm

I had a big hope that there was some kind of INI-setting to disable "Register new user" on the whole site instead of modifying admin templates.

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 06:11:25
Script start
Timing: Jan 19 2025 06:11:25
Module start 'layout'
Timing: Jan 19 2025 06:11:25
Module start 'content'
Timing: Jan 19 2025 06:11:25
Module end 'content'
Timing: Jan 19 2025 06:11:25
Script end

Main resources:

Total runtime0.5178 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.1797152.6250
Module start 'layout' 0.00560.0030 741.804739.4453
Module start 'content' 0.00860.5078 781.2500542.0234
Module end 'content' 0.51650.0013 1,323.273412.1563
Script end 0.5178  1,335.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.6124160.0002
Check MTime0.00120.2410160.0001
Mysql Total
Database connection0.00090.171910.0009
Mysqli_queries0.471791.0821570.0083
Looping result0.00050.0974550.0000
Template Total0.490094.620.2450
Template load0.00180.355920.0009
Template processing0.488294.269420.2441
Template load and register function0.00010.017810.0001
states
state_id_array0.00100.184210.0010
state_identifier_array0.00070.139520.0004
Override
Cache load0.00150.2986180.0001
Sytem overhead
Fetch class attribute can translate value0.00090.170020.0004
Fetch class attribute name0.00090.178950.0002
XML
Image XML parsing0.00090.172220.0004
class_abstraction
Instantiating content class attribute0.00000.001960.0000
General
dbfile0.00090.1736240.0000
String conversion0.00000.001740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs