Forums / Install & configuration / Come on people, these questions can't be THAT hard!

Come on people, these questions can't be THAT hard!

Author Message

Peter Bailey

Friday 28 February 2003 2:09:56 pm

For somebody who's used eZ publish for 1 site!?!? I've made 4 posts in the last two weeks an received replies for none of them, but I really need help with this.

http://developer.ez.no/forum/message/15037/

I'm really trying to get this on my own, please, just a little nudge! (Note: I am and have read many of the pages @ help Wiki)

I can make a simple, generic version like this

{section name=tabmenu show=1}
<ul id="tabs">
{section name=tabs loop=5}
<li><a href="#">link</a></li>
{/section}
</ul>
{/section}

But what I really need is for the tabmenu to show only if the current user is of a certain group or content class (I've got both, whichever is fine)

I need the looping controlled by all the SECTIONS the current user has access to given by their ROLE

If the current URI matches the link's URI it will need to have a class attribute added to it "currentTab"

I *know* that receiving some hand-holding on this will to really help me clarify many other issues I'm having. Please, don't make me beg!

eZ debug

Timing: Jan 18 2025 04:58:53
Script start
Timing: Jan 18 2025 04:58:53
Module start 'content'
Timing: Jan 18 2025 04:58:53
Module end 'content'
Timing: Jan 18 2025 04:58:53
Script end

Main resources:

Total runtime0.0208 sec
Peak memory usage2,048.0000 KB
Database Queries4

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.9609180.8047
Module start 'content' 0.00700.0070 768.765689.8672
Module end 'content' 0.01390.0067 858.632870.7031
Script end 0.0207  929.3359 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002411.6228120.0002
Check MTime0.00115.2884120.0001
Mysql Total
Database connection0.00115.099210.0011
Mysqli_queries0.003315.657640.0008
Looping result0.00000.105520.0000
Template Total0.006330.110.0063
Template load0.00094.291710.0009
Template processing0.005425.779010.0054
Override
Cache load0.00062.856910.0006
General
dbfile0.002512.2318100.0003
String conversion0.00000.032130.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0005 secs