Hi Solprovider, hi all,
[EMAIL PROTECTED] a écrit :
On 12/7/05, Annie Dumont <[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED] wrote:
On 12/6/05, Annie Dumont <[EMAIL PROTECTED]> wrote:
[...]
Try clearing the caches:
1. Delete everything in {pub}/work/cache/live
Sorry, i don't have any {pub}/work/cache/ at all. Is this a mistake ?
Under work, i only have a search/ directory for lucene.
FILE: publication-sitemap.xmap
The cache is created by:
<map:match pattern="live/**.html">
<map:transform
src="">
<map:parameter name="source"
value="{global:cache-dir}/live/{1}.html"/>
</map:transform>
<map:transform type="write-source">
<map:parameter name="serializer" value="html-no-dtd"/>
</map:transform>
<map:transform
src=""/>
</map:match>
{global:cache-dir} is set by:
<global-variables>
<cache-dir>work/cache</cache-dir>
</global-variables>
{1} is the URL after "live/"
The filename cached is:
<map:parameter name="source" value="{global:cache-dir}/live/{1}.html"/>
The default pub uses:
"work/cache" + "/live/" + {path, id, and possibly language of
document} + ".html"
The directory is relative to the directory containing
"publication-sitemap.xmap", which should be the {pub} directory, so
the full path is:
{pub}/work/cache/live/{path, id, and possibly language of document}.html
The cache is used by:
<map:select type="resource-exists">
<map:when test="{global:cache-dir}/{../1}.html">
<map:read src=""
mime-type="text/html"/>
This was disabled (for the wrong reasons and poorly) in 1.2.4, but
should be active in 1.2.3.
Did you change any of the code that creates the cache or determines
its location?
I don't, but someonelse (asked for) does. I am as i said earlier in
lenya 1.2.3 but no <cache-dir> section is found in the
publication-sitemap.xmap. Should i add any ?
[...]
I put the menu xsl in attachment, but it is not very pretty : there are
still some old settings in comment ...
(*** SOLUTION IS HERE ***)
Your menu.xsl is highly customized. Someone deleted this line which
removes the hidden entries:
<xsl:template match="nav:[EMAIL PROTECTED] = 'false']"/>
Just add that line outside the other matches.
Ok, i did it. And this is ok now ! Thank you very much Solprovider.
Cheers. annie
|