Forums / Setup & design / Link in left menu

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.

eZ debug

Timing: Jan 18 2025 19:28:05
Script start
Timing: Jan 18 2025 19:28:05
Module start 'content'
Timing: Jan 18 2025 19:28:05
Module end 'content'
Timing: Jan 18 2025 19:28:05
Script end

Main resources:

Total runtime0.1665 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.0088 587.6094180.8438
Module start 'content' 0.00890.0057 768.453197.9609
Module end 'content' 0.01460.1518 866.4141526.5000
Script end 0.1664  1,392.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00422.5487200.0002
Check MTime0.00160.9347200.0001
Mysql Total
Database connection0.00120.729910.0012
Mysqli_queries0.118571.16091410.0008
Looping result0.00140.82621390.0000
Template Total0.151491.010.1514
Template load0.00130.759410.0013
Template processing0.150190.184010.1501
Override
Cache load0.00080.485410.0008
Sytem overhead
Fetch class attribute can translate value0.00090.514210.0009
XML
Image XML parsing0.00030.161610.0003
General
dbfile0.00201.2046200.0001
String conversion0.00000.004930.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.0001 secs