Forums / General / home page and menuitem

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.

eZ debug

Timing: Jan 19 2025 01:05:56
Script start
Timing: Jan 19 2025 01:05:56
Module start 'content'
Timing: Jan 19 2025 01:05:56
Module end 'content'
Timing: Jan 19 2025 01:05:56
Script end

Main resources:

Total runtime0.7519 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.8438180.8516
Module start 'content' 0.00530.6015 769.6953599.6953
Module end 'content' 0.60670.1451 1,369.3906337.0781
Script end 0.7518  1,706.4688 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5319210.0002
Check MTime0.00150.1941210.0001
Mysql Total
Database connection0.00070.089910.0007
Mysqli_queries0.672689.46132050.0033
Looping result0.00240.32382030.0000
Template Total0.727396.720.3637
Template load0.00200.272020.0010
Template processing0.725396.461120.3626
Template load and register function0.00030.045310.0003
states
state_id_array0.00070.091010.0007
state_identifier_array0.00070.099520.0004
Override
Cache load0.00170.2248250.0001
Sytem overhead
Fetch class attribute can translate value0.00190.257140.0005
Fetch class attribute name0.00150.195470.0002
XML
Image XML parsing0.00380.501040.0009
class_abstraction
Instantiating content class attribute0.00000.002070.0000
General
dbfile0.00510.6732270.0002
String conversion0.00000.000730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs