On 1/25/06, Paladugu, Suresh <[EMAIL PROTECTED]> wrote:
> I trying to search some string in my pages.(For this iam going to use
> solproviders available patch.)
> The problem iam facing here is ,my search page is not taking my css(i have
> written a couple of for my publication).
> I want to tell you one more thing,i have lenya and Publications in
> myguidecms folder ,under the webapps folder ( iam using tomcat 5.28).
>
> And the path for css in my publication page is
> /myguidecms/New-Pub/live/colour.css ,which is wroking fine.
> And the path for css in my search page is /New-Pub/live/colour.css,which is
> not working .( But i did not understand through which xsl it reffering to
> this css.)
FILE: {pub}/usecase-search.xmap (near the top)
<map:resource name="page-xhtml">
<map:transform src="xslt/page2xhtml.xsl">
<map:parameter name="root"
value="/{page-envelope:publication-id}/live"/>
The value of root should result in the same value as:
FILE: publication-sitemap.xmap (somewhere in the middle)
<map:transform src="xslt/page2xhtml-{4}.xsl" label="debug">
<map:parameter name="root"
value="{page-envelope:context-prefix}/{2}/{3}"/>
The line cannot be the same because the match variables are different.
It should probably be:
<map:parameter name="root"
value="{page-envelope:context-prefix}/{page-envelope:publication-id}/live"/>
Let me know if that works.
solprovider
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]