Siteaccess links and top menu issues

Author Message

Maciej Zasuwa

Thursday 05 March 2009 2:20:27 am

Hello,
I use EZ to manage web service for about two months. I haven't had any experience with this CMS before. I took all my knowledge from documentation and this forum, but there are two issues I cannot get by. I would appreciate if anybody could help.

1. Top menu: I would like to apply a different style to the one of the buttons in a top horizontal menu that is currently selected. It is easy, because this particular <li> has class "current". The problem starts when one of its children is selected. The top level menu position is not "class current" any more. I suppose something in flat_top.tpl needs to be changed.

2. I have different siteaccesses in my webpage (say site1 and site2). I found it was impossible to make a link by eznode feature in site1 to page that is in site2. The resulting link is www.domain.com/index.php?/site1/site2/some_page when the correct link should be www.domain.com/index.php?/site2/some_page. I tried to solve the problem with rewrite rules but whatever I type in .htaccess doesn't work (Rewrite engine is on, because other rules work).

Thank you,
Maciej

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 31 2025 00:35:03
Script start
Timing: Jan 31 2025 00:35:03
Module start 'layout'
Timing: Jan 31 2025 00:35:03
Module start 'content'
Timing: Jan 31 2025 00:35:03
Module end 'content'
Timing: Jan 31 2025 00:35:03
Script end

Main resources:

Total runtime0.0249 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.0052 588.2500151.2266
Module start 'layout' 0.00520.0036 739.4766220.7188
Module start 'content' 0.00880.0145 960.1953993.6953
Module end 'content' 0.02330.0016 1,953.890629.9922
Script end 0.0249  1,983.8828 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002710.9428140.0002
Check MTime0.00114.3532140.0001
Mysql Total
Database connection0.00093.556210.0009
Mysqli_queries0.00218.414030.0007
Looping result0.00000.040110.0000
Template Total0.00124.810.0012
Template load0.00093.607810.0009
Template processing0.00031.154510.0003
Override
Cache load0.00062.545010.0006
General
dbfile0.00176.826680.0002
String conversion0.00000.029640.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