Top menu sorting in reverse...

Author Message

paul bolger

Thursday 16 December 2010 12:04:52 am

For some odd reason the top menu in my site has started sorting its items in reverse order. flat_top.tpl is not being overridden, and changing the sorting in the admin interface works fine - just back to front. Does anyone have any idea what could cause this?

Paul Bolger

Yannick Komotir

Friday 17 December 2010 2:14:06 am

Hello Paul,

Do you take a look on sort_by clause in $top_menu_items fetch from flat_top.tpl ?

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

paul bolger

Friday 17 December 2010 3:33:03 am

Hi Yannick

My apologies. I've worked out what happened, and it wasn't an eZ problem at all - more like a CSS problem: switched float direction. Stoopid stoopid, RTFSC before posting etc.

Sorry.

Paul

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 16:28:52
Script start
Timing: Jan 30 2025 16:28:52
Module start 'layout'
Timing: Jan 30 2025 16:28:52
Module start 'content'
Timing: Jan 30 2025 16:28:52
Module end 'content'
Timing: Jan 30 2025 16:28:52
Script end

Main resources:

Total runtime0.0279 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.2500151.2266
Module start 'layout' 0.00580.0045 739.4766220.7266
Module start 'content' 0.01030.0159 960.2031997.7422
Module end 'content' 0.02620.0017 1,957.945333.9766
Script end 0.0279  1,991.9219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003111.0319140.0002
Check MTime0.00114.0935140.0001
Mysql Total
Database connection0.00082.980710.0008
Mysqli_queries0.00289.930130.0009
Looping result0.00000.057210.0000
Template Total0.00124.310.0012
Template load0.00093.271010.0009
Template processing0.00031.031710.0003
Override
Cache load0.00062.239310.0006
General
dbfile0.00217.683180.0003
String conversion0.00000.035940.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