You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Anish Sneh <an...@techblue.co.uk> on 2010/01/06 12:03:18 UTC
Including multiple news sections on homepage - News Module
Hi All
I need to have two news type sections on the homepage like one for news
and one for testimonials for that I have created:
* One "news.html" page (from news module) with "news1.html",
"news2.html" as children.
* One "testimonials.html" page (from news module) with
"testimonials1.html", "testimonials2.html" as children.
My problem is that I need two subsections on homepage one from
"news.html" and other from "testimonials.html". I'm able to include only
one section i.e. from "news.html"
Please suggest
--
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Including multiple news sections on homepage - News Module
Posted by Anish Sneh <an...@techblue.co.uk>.
> What was it?
For accessing news sub-section on the homepage there is a pipeline/pattern:
*<map:match pattern="news-*_*.xml"> *
which is called using cocoon* <i:include>*.
In the pattern "news" string was hard coded as default, I modified
"news" with general wild card (*) as per my requirement.
Now this pattern works for multiple "news" type pages (testimonials,
news, updates etc).
Thanks & regards
Vik Tara wrote:
> What was it?
>
> Thanks
>
>
> Vik
>
> On 06/01/10 13:40, Anish Sneh wrote:
>> I've found the solution ..... :-)
>>
>> Thanks
>>
>>
>> Anish Sneh wrote:
>>> Hi All
>>>
>>> I need to have two news type sections on the homepage like one for
>>> news and one for testimonials for that I have created:
>>>
>>> * One "news.html" page (from news module) with "news1.html",
>>> "news2.html" as children.
>>> * One "testimonials.html" page (from news module) with
>>> "testimonials1.html", "testimonials2.html" as children.
>>>
>>> My problem is that I need two subsections on homepage one from
>>> "news.html" and other from "testimonials.html". I'm able to include
>>> only one section i.e. from "news.html"
>>>
>>>
>>> Please suggest
>>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
--
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk
Re: Including multiple news sections on homepage - News Module
Posted by Vik Tara <vi...@propco.co.uk>.
What was it?
Thanks
Vik
On 06/01/10 13:40, Anish Sneh wrote:
> I've found the solution ..... :-)
>
> Thanks
>
>
> Anish Sneh wrote:
>> Hi All
>>
>> I need to have two news type sections on the homepage like one for
>> news and one for testimonials for that I have created:
>>
>> * One "news.html" page (from news module) with "news1.html",
>> "news2.html" as children.
>> * One "testimonials.html" page (from news module) with
>> "testimonials1.html", "testimonials2.html" as children.
>>
>> My problem is that I need two subsections on homepage one from
>> "news.html" and other from "testimonials.html". I'm able to include
>> only one section i.e. from "news.html"
>>
>>
>> Please suggest
>>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org
Re: Including multiple news sections on homepage - News Module
Posted by Anish Sneh <an...@techblue.co.uk>.
I've found the solution ..... :-)
Thanks
Anish Sneh wrote:
> Hi All
>
> I need to have two news type sections on the homepage like one for
> news and one for testimonials for that I have created:
>
> * One "news.html" page (from news module) with "news1.html",
> "news2.html" as children.
> * One "testimonials.html" page (from news module) with
> "testimonials1.html", "testimonials2.html" as children.
>
> My problem is that I need two subsections on homepage one from
> "news.html" and other from "testimonials.html". I'm able to include
> only one section i.e. from "news.html"
>
>
> Please suggest
>
--
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org