home page and menuitem

Author Message

jb bianchi

Thursday 11 August 2005 6:14:55 am

Hi,

I have done a folder which name is Home. How can I do for that my home page is on this folder?
Secondly, I have created roles for users groups and it 's possible to show only the sections which are visible by the user group in the flat_top.tpl? How can I do this?

thank's

David Eriksson

Thursday 11 August 2005 8:03:03 am

1) http://ez.no/doc/ez_publish/technical_manual/3_6/reference/configuration_files/site_ini/sitesettings/indexpage

2) You want the menu to show only objects the user is allowed to read? That's already done.

/David

jb bianchi

Thursday 11 August 2005 8:13:19 am

ok thank's but I want the menu shows only the objects that user can creat or edit.
It's possible?

Deane Barker

Thursday 11 August 2005 11:32:08 am

<blockquote>You want the menu to show only objects the user is allowed to read? That's already done.</blockquote>

It's done for the creation, editing, and deletion of objects, but I think he was talking about the atbs across the top -- Content, Media, Setup, User accounts, etc.

I always comment out these tabs in toolbar.ini. Is there a better way to have these tabs NOT appear?

Example: Users with no rights to anything other than the content module shouldn't see anything but the "Content Structure" tab. How is this done without manually editing toolbar.ini (which removes the tabs for everyone...)

Deane

David Eriksson

Friday 12 August 2005 12:34:21 am

Deane: I don't know of any way to do that for the admin area - I haven't even tried, since we're having users editing through the "normal" siteaccess.

jb: You should be able to modify the template to do that quite easily. Of course, it would involve fetching each node, to check can_edit on it, so it'll slow the site down. I'd recommend using a cache-block.

/David

jb bianchi

Friday 12 August 2005 4:15:37 am

Thank's for your answers. I have achieve to do what I want.

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 31 2025 10:08:21
Script start
Timing: Jan 31 2025 10:08:21
Module start 'layout'
Timing: Jan 31 2025 10:08:21
Module start 'content'
Timing: Jan 31 2025 10:08:21
Module end 'content'
Timing: Jan 31 2025 10:08:21
Script end

Main resources:

Total runtime0.0187 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.0047 588.0234151.1953
Module start 'layout' 0.00470.0035 739.218836.6172
Module start 'content' 0.00810.0090 775.835994.0938
Module end 'content' 0.01710.0015 869.929733.9922
Script end 0.0186  903.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002412.7389140.0002
Check MTime0.00105.4807140.0001
Mysql Total
Database connection0.00073.527010.0007
Mysqli_queries0.002815.217130.0009
Looping result0.00000.128910.0000
Template Total0.00116.110.0011
Template load0.00084.470110.0008
Template processing0.00031.605310.0003
Override
Cache load0.00063.072810.0006
General
dbfile0.003619.406480.0005
String conversion0.00000.058740.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