Menu Management not working (or not understood!)

Author Message

Chris Green

Wednesday 31 January 2007 4:50:15 am

I am playing with a test installation of ezpublish 3.9, it's mostly becoming clear as I play with things and do things but I can't seem to change the menus as I want.

I have logged in to the admin interface and have selected "Design", "Menu Management" and I have changed the menu positioning to "Left Menu" which is supposed to give only left menu. I have clicked on the "Apply changes" button at the bottom. However nothing anywhere has changed, neither in the admin site nor the user site, I still just have the menu across the top.

Am I misunderstanding what the Menu Management is supposed to do? Or am I not actually applying the changes I am making to my web site? Or what?

Ousmane KANTE

Wednesday 31 January 2007 5:29:40 am

did you clear all cache??

Consultant Ez Publish- Sapiens Consulting

Chris Green

Wednesday 31 January 2007 5:58:23 am

Yes, at least I think so. A assume you mean the "Clear all caches" button in "Setup"? Anyway I have just done that again and I still have just the top menu.

By the way I can successfully edit content so I am 'talking to' the right database.

André R.

Wednesday 31 January 2007 8:05:14 am

ezwebin (Website Interface) does not support changing the menu layout from the admin interface. It is only possible by getting down and dirty with the templates at the moment.

Alternatively you can reinstall eZ Publish using the 'plain site package', but you'll get the eZ Publish 3.8 design and no front page editing.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Chris Green

Wednesday 31 January 2007 8:39:41 am

<i>ezwebin (Website Interface) does not support changing the menu layout from the admin interface. It is only possible by getting down and dirty with the templates at the moment.
</i>

So what are all Menu Configuration bits in the Admin interface for then? It's a bit confusing to give no indication at all that they're "not yet implemented" if that's what the problem is.

Are there any other parts that aren't working yet?

As a corollary, are there any 'ready rolled' alternative layout templates available that one can copy and use?

André R.

Wednesday 31 January 2007 9:22:02 am

As I said, you can use the plain site package instead of the website interface. Then you'll get the 3.8 and lower design witch does support changing the menu from admin.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Chris Green

Wednesday 31 January 2007 10:29:29 am

> As I said, you can use the plain site package instead of the website interface. Then you'll get > the 3.8 and lower design witch does support changing the menu from admin.

Now I'm even more confused! :-)

Is that the choice you make towards the end of the installation? Is the main/basic difference that you don't get the ability to edit the site from the site itself with the 'plain' interface? (i.e. you can only make changes from the admin interface) Does it otherwise look basically the same when installed?

Is that the only part of the admin interface that doesn't work with the website interface? Is the intention to make it work in the future?

Thanks for all the help so far.

Sean Deveni

Wednesday 07 February 2007 9:40:42 am

Chris, I'm glad I found this thread as I'm working on the same issue myself.

It seems like users are currently forced in 3.9.0 to choose between two evils.

a) Use the eZ Web Interface which makes it fairly intuitive for editors to be able to modify pages on the site (as seen in the Flash demos on the homepage), but be unable to adapt menus? Crazy.

or

b) Drop the eZ Web Interface which is a main driver for adoption just so you can edit menus. Crazy.

I'll update this thread later if I sort out a method because its precisely the dirty bog I'm wading through at the moment.

Łukasz Serwatka

Wednesday 07 February 2007 12:13:24 pm

@Chris and Sean:

Website Interface currently support only flat top and double left menu. It is not decided yet to provide support for other menu combinations. Functionality in admin interface is compatible with old packages used before 3.9.0 as André wrote.

If you want you can add menu management by yourself in pagelayout, you are free to change templates, customize design etc.

Here is a tpl example

{menu name=TopMenu}

{menu name=LeftMenu}

You can replace top and left menu code in pagelayout with code above. Then it will be load dynamically.

You can also use "base" design instead of ezwebin design which supports menu management too, however you will need to move styles by yourself.

Note that ezwebin uses also better layout setup which is not compatible with old one.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 18 2025 18:24:23
Script start
Timing: Jan 18 2025 18:24:23
Module start 'layout'
Timing: Jan 18 2025 18:24:23
Module start 'content'
Timing: Jan 18 2025 18:24:24
Module end 'content'
Timing: Jan 18 2025 18:24:24
Script end

Main resources:

Total runtime0.8361 sec
Peak memory usage4,096.0000 KB
Database Queries81

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 588.0469152.6406
Module start 'layout' 0.00780.0045 740.687539.4922
Module start 'content' 0.01230.8223 780.1797719.5781
Module end 'content' 0.83460.0015 1,499.757820.1250
Script end 0.8361  1,519.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.5023160.0003
Check MTime0.00210.2454160.0001
Mysql Total
Database connection0.00100.120710.0010
Mysqli_queries0.759590.8376810.0094
Looping result0.00080.0983790.0000
Template Total0.797895.420.3989
Template load0.00280.328920.0014
Template processing0.795095.083720.3975
Template load and register function0.00020.027310.0002
states
state_id_array0.00090.113010.0009
state_identifier_array0.00100.117620.0005
Override
Cache load0.00250.3013480.0001
Sytem overhead
Fetch class attribute can translate value0.00090.101850.0002
Fetch class attribute name0.00110.1328110.0001
XML
Image XML parsing0.00150.173950.0003
class_abstraction
Instantiating content class attribute0.00000.0029120.0000
General
dbfile0.00090.1108250.0000
String conversion0.00020.028740.0001
Note: percentages do not add up to 100% because some accumulators overlap

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

Time used to render debug report: 0.0002 secs