Link in left menu

Author Message

Thursday 01 September 2005 9:16:26 am

Hi folks,

I've just upgraded my 3.5.2 to version 3.6.1 and it looks like I've managed it almost without any problems. The upgrade was performed incrementally.

I have enabled links to show in the left menu by altering flat_left.tpl and menu.ini
When I press on the link in left menu it will not send me to the link location but just show a blank page with the link headline.

It's strange because this worked before the upgrade was performed. Does anyone have any pointers to possible solutions?

This problem can be viewed on:
http://www.tromsostormungdom.no/forum/

Kristof Coomans

Thursday 01 September 2005 9:34:25 am

The link "Diskusjonsforum" in the left menu goes to http://www.tromsostormungdom.no/forum/. Is that the way it's meant to be, or should it point to somewhere else?

What did you fill in in the ezurl attribute of this content object?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Thursday 01 September 2005 9:54:04 am

The http://www.tromsostormungdom.no/forum/ link is the correct location for the link.

I've added this code snippet to the flat_left.tpl

{section show=eq( $menu.object.content_class.identifier, "link" )}
                <li class="menu-level-0"><a href={$menu.data_map.location.content|ezurl}>{$menu.object.name|wash}</a></li>

Friday 02 September 2005 6:01:22 am

Problem solved, my Rewritecode was wrong.

Kristof Coomans, thanks for answering my question.

John Laux

Friday 18 November 2005 1:04:44 pm

Hans-Henry Jakobsen

Could you please post the code that you got to work I am sure that a lot of users would appreciate it very much...including me

John

Wednesday 23 November 2005 12:57:05 am

Hi John Laux,

I added the following line to my httpd.conf file

RewriteCond %{REQUEST_URI} !^/forum.*

I placed the line above the standard rewrite rule

RewriteRule !(^/design|^/var/.*/storage|^/var/storage|^/var/.*/cache|^/v
ar/cache|^/extension/.*/design|^/kernel/setup/packages|^/packages|^/share/icons)
.*\.(gif|css|jpg|png|jar|js|ico|pdf|swf|sxw)$ /index.php

I hope this solved your problem.

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

Main resources:

Total runtime0.0215 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 588.9453152.6094
Module start 'layout' 0.00640.0036 741.554739.4141
Module start 'content' 0.01000.0086 780.968893.4297
Module end 'content' 0.01860.0029 874.398438.3047
Script end 0.0215  912.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003114.5689140.0002
Check MTime0.00136.1649140.0001
Mysql Total
Database connection0.00073.412310.0007
Mysqli_queries0.003114.553430.0010
Looping result0.00000.074210.0000
Template Total0.002411.010.0024
Template load0.00146.285610.0014
Template processing0.00104.633110.0010
Override
Cache load0.00114.893210.0011
General
dbfile0.00125.783180.0002
String conversion0.00000.032140.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