Forums / Suggestions / Navigating the online documentation

Navigating the online documentation

Author Message

mikael lindqvist

Monday 01 September 2003 2:14:37 pm

I believe the documentation structure is too detailed in terms of an overhelming amount of sub-sections. It's good to classify documents correctly but you also need to keep in mind that the user normally is not too clear about what he is looking for and allowing him to easy scroll through current documentation is preferable.

I therefor suggest that you try to make a more userfriendly navigation through your online documentations (it's really annoying to "drill-down" endless subsections to finally find out that the document you were looking for is half-finished and pointing to other half-empty files).

Kindly,
Mikael

Paul Forsyth

Tuesday 02 September 2003 12:17:41 am

Mikael,

Again we spoke about this at the conference. I totally agree with you that navigation for the documentation must be improved. I use mozilla so i can afford to open tabs for lots of the links while i search for what i need, but i know that isn't for everyone :)

Besides a better way of linking good articles to what people need there will be a better front page, much like what you see with ez.no/sdk. Hopefully the search facilities within the doc section will be specific to docs...

I think we will start to see changes in around 2 weeks time when people are back from holidays.

Paul

Jakob Vad Nielsen

Tuesday 02 September 2003 1:13:12 am

Bård also talked about some PDF versions of the documentation I think. People do often feel more confident reading from page 1 to n.

Jeroen van Gorkum

Wednesday 10 September 2003 10:36:19 am

``I believe the documentation structure is too detailed in terms of an overhelming amount of sub-sections.''

i totally agree with this; even with tabbed browsing, i get lost every time in these submenus.

suggestion: i'd personally prefer not more than 1 sublevel in the documentation; so all the pages under .../customization/ are listed (& linked) on the Customization page, divided into labeled lists. the labels can be taken from the current sublevels of that page. sublevels below that are too detailed anyway, and pages from these levels could be moved up one level.

it will still be overwhelming this way, but you'd at least have a better overview what is available in one place.

jeroen.

Dennis Howard

Friday 07 November 2003 1:15:23 am

This really helped me a lot, so can this be included in the online documentation to help other users.

Fetch Function
The fetch function is a very useful template function, but unfortunately it's (up to now) very poorly documented. An example of using it is shown in Template Language (3.x). But this page will try to explain the details.

fetch( <module>, <function>, <parameters> )

It takes 3 arguments:

<module> (string)
<function> (string)
<parameters> (associative array)
The function and its parameters are defined in [module]/function_definition.php.

--------------------------------------------------------------------------------

Module: content
Functions: list, list_count, tree, tree_count, node
Parameters:

parent_node_id [integer]
node_id [integer] (only for function 'node')
sort_by [array] default: false
first array field is the field to sort:
"class_identifier"
"class_name"
"depth"
"modified"
"name"
"path"
"priority"
"published"
"section"
second array field is the order:
"true()" -> ascending
"false()" -> descending
offset [integer] default: false
limit [integer] default: false
depth [integer] default: 1
class_id [integer] default: false unused?
class_filter_type [string] default: false
"include"
"exclude"
class_filter_array [array] default: false
list of class ids
Examples:

Fetching subnodes of parent node 5, but only of class ids 2 (e.g. categories):

fetch( 'content', 'list', hash(parent_node_id, 5, class_filter_type, "include", class_filter_array, array(2))

Fetching node with node_id 23:

fetch( 'content', 'node', hash(node_id, 23))

Fetching subnodes of parent node 10 and sorting ascending by name:

fetch( 'content', 'list', hash(parent_node_id, 10, "sort_by", array("name", true())))

eZ debug

Timing: Jan 18 2025 04:13:48
Script start
Timing: Jan 18 2025 04:13:48
Module start 'content'
Timing: Jan 18 2025 04:13:48
Module end 'content'
Timing: Jan 18 2025 04:13:48
Script end

Main resources:

Total runtime0.2079 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0134 588.8516180.8281
Module start 'content' 0.01340.0113 769.679797.8828
Module end 'content' 0.02470.1831 867.5625528.3516
Script end 0.2078  1,395.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00703.3638200.0003
Check MTime0.00381.8164200.0002
Mysql Total
Database connection0.00090.444910.0009
Mysqli_queries0.140067.31771410.0010
Looping result0.00150.69791390.0000
Template Total0.182787.910.1827
Template load0.00452.169210.0045
Template processing0.178285.704610.1782
Override
Cache load0.00080.371310.0008
Sytem overhead
Fetch class attribute can translate value0.00080.400710.0008
XML
Image XML parsing0.00020.099510.0002
General
dbfile0.00180.8570200.0001
String conversion0.00000.002530.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
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.0002 secs