Forums / Setup & design / menuwidth in leftmenusetting

menuwidth in leftmenusetting

Author Message

Tuuba Yildiz

Wednesday 23 August 2006 1:57:08 am

Hi,

I am using leftmenu and element of leftmenu has very long name (like 45 characters).
However;
leftmenu shows only 25 characters. I suppose that it is about menu.ini.append.php
[LeftMenuSettings]
MenuWidth[]
MenuWidth[small]=13
MenuWidth[medium]=19
MenuWidth[large]=25

I changed it and cleared cache but it was unsuccessful.

How can I change the number of characters in leftmenu?

Thanks

Tuuba Yildiz

Wednesday 23 August 2006 2:06:01 am

Again hi,

I solved the problem. It is about the flat_left.tpl.

<a {$menu.is_selected|choose( '', 'class="selected"' )} href={$menu.url_alias|ezurl}>{$menu.text|shorten( 25 )}</a>

menu.text value should be changed.

Again thanks,

eZ debug

Timing: Jan 18 2025 15:07:10
Script start
Timing: Jan 18 2025 15:07:10
Module start 'content'
Timing: Jan 18 2025 15:07:10
Module end 'content'
Timing: Jan 18 2025 15:07:10
Script end

Main resources:

Total runtime0.0377 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.0076 587.7109180.8359
Module start 'content' 0.00760.0133 768.546993.7578
Module end 'content' 0.02090.0167 862.304770.7031
Script end 0.0376  933.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00236.1511120.0002
Check MTime0.00123.1110120.0001
Mysql Total
Database connection0.00071.824810.0007
Mysqli_queries0.006316.726440.0016
Looping result0.00000.068920.0000
Template Total0.016243.110.0162
Template load0.00102.755610.0010
Template processing0.015240.282410.0152
Override
Cache load0.00061.607310.0006
General
dbfile0.00369.5004100.0004
String conversion0.00000.015830.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.0001 secs