Create a corporate directory

Author Message

Ken Nguyen

Monday 03 January 2011 8:38:37 am

Hello,

I want to create a corporate directory for my Intranet (standard search by name, general information,...) but I don't know how to do it. Could you give me please some ideas on how to proceed.

Thank you.

paul bolger

Tuesday 04 January 2011 12:25:30 am

Very generally, you'd make, or use an existing, content class to make an entry for each person. Then you would write templates to display the data in the way you need it to look. Searching can be integrated within the output templates.

Considerations before you begin:

Do you need any of these people to be able to log into the system? If so you need the content class to include the 'user' datatype.

Are they already listed in an LDAP database (MS Exchange or similar)? eZ allows integration with LDAP, but I'm not experienced with getting it to work.

Do you have a lot - say, over 50 - entries to add? If so you should investigate some sort of CSV/XML data importing. If you have a very large number you may want to check out eZfind, the 'industrial' search extension - but be aware it requires quite a bit more setting up than straight eZ Publish.

A bit of planning, and a bit of testing with sample data, can save you a lot of time later.

Paul Bolger

Ken Nguyen

Thursday 06 January 2011 12:01:02 am

Thank you for your reply.

To answer your questions, in fact I need these people to connect into the system.
They are in an LDAP database, but I tried to integrate with LDAP few months ago without success.
But it's not really a problem, we have no more than 50 employees in the company's manageable.

paul bolger

Thursday 06 January 2011 2:38:23 am

My feeling is that you should have another go at getting the LDAP integration to work.

The big problem for intranet type 'solutions' is getting people involved - if it involves another sign-in they'll just move on to something else, something more relevant to 'real work', even if using the intranet would improve their overall efficiency.

- And, if you get it to work properly it'll save a lot of maintenance time in the future.

Paul Bolger

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 19:32:22
Script start
Timing: Jan 30 2025 19:32:22
Module start 'layout'
Timing: Jan 30 2025 19:32:22
Module start 'content'
Timing: Jan 30 2025 19:32:22
Module end 'content'
Timing: Jan 30 2025 19:32:22
Script end

Main resources:

Total runtime0.0277 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 589.2656151.2109
Module start 'layout' 0.00590.0053 740.4766220.6953
Module start 'content' 0.01120.0148 961.17191,001.8047
Module end 'content' 0.02600.0016 1,962.976633.9766
Script end 0.0276  1,996.9531 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00269.5261140.0002
Check MTime0.00113.9000140.0001
Mysql Total
Database connection0.00082.846610.0008
Mysqli_queries0.003713.474430.0012
Looping result0.00000.065510.0000
Template Total0.00114.110.0011
Template load0.00093.095610.0009
Template processing0.00030.978410.0003
Override
Cache load0.00062.145510.0006
General
dbfile0.00207.322080.0003
String conversion0.00000.035340.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