Re: news module around the site
Poonam <[email protected]>
| Newsgroups | gmane.comp.cms.lenya.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Martin
Yes you have to copy the news module from the homepage module.
Regards
Poonam
Martin Dominguez wrote:
> Hi!
>
> I'm using Lenya 2.0.3
>
> an include transformer is already included in news module pipeline, which I
> copied into my publication sitemap... but thanks for your ideas.
>
> I think I have to do it like homepage module...
>
> Thanks and regards
>
>
> Gaurav Kalia wrote:
>
>> Hi Martin
>>
>> Which version are you using ?
>>
>> Try using include transformer in your pipeline
>>
>> <map:transform type="include"/>
>>
>> HTH
>>
>>
>> Regards
>> Gaurav
>>
>>
>>
>>
>>
>> On Wednesday 02 June 2010 10:17 PM, Martin Dominguez wrote:
>>
>>> Thanks for your answer,
>>>
>>> I've tried to do it, but I think I'm doing it wrong. I tried copy entire
>>> pipeline in my publication sitemap.xmap, but it doesn't works. When I see
>>> source code I can see:
>>> <include xmlns="http://apache.org/cocoon/include/1.0"
>>> src="cocoon:/news-include_es.xml" />
>>> instead of the snippet code.
>>>
>>> Do you know what I'm doing wrong??
>>>
>>> Thank you very much.
>>>
>>> Regards.
>>>
>>> Martín.-
>>>
>>>
>>> Poonam-6 wrote:
>>>
>>>
>>>> Hi Martin
>>>>
>>>> You need to copy news pipeline from news module to the Sitemap your are
>>>> using for page2xhtml.xsl.
>>>>
>>>> In the page2xhtml.xsl header you will need to include below:
>>>> <i:include src="cocoon:/news-header_{$language}.xml"/>
>>>>
>>>> and in body area add the below line to include the news section.
>>>>
>>>> <i:include src="cocoon:/news-include_{$language}.xml"/>
>>>>
>>>> HTH
>>>>
>>>> Regards
>>>> Poonam
>>>>
>>>> Martin Dominguez wrote:
>>>>
>>>>
>>>>> Hi all,
>>>>>
>>>>> Is it possible to use news snippet in "page2xhtml.xsl" like in homepage
>>>>> resource type?
>>>>>
>>>>> Salu2.
>>>>>
>>>>> Martín.-
>>>>>
>>>>>
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [email protected]
>>>> For additional commands, e-mail: [email protected]
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>>
>
>