Re: diazo syntax

Espen Moe-Nilssen <[email protected]>
Newsgroups gmane.comp.web.zope.plone.user
Message-ID <[email protected]>
That is great, thanks a lot

Espen

(note to self: make sure no ids are used twice)


30. sep. 2014 kl. 21:05 skrev Chrissy Wainwright <chrissy-qEDqLqPM/[email protected]>:

> This can be done with Diazo.  Make sure everything in your templates that you want in the homepage is wrapped in a div or something you can easily select: 
> 
> <rules css:if-content="body.section-front-page”>
> 	<after css:theme-children=“#content” css:content=“#news-content” href=“/news/custom_template”/>
> 	<after css:theme-children=“#content” css:content=“#other-content” href=“/folder/template”/>
> </rules>
> 
> 
> Thanks
> Chrissy Wainwright
> 
> -- 
> Six Feet Up, Inc. | Where sophisticated web projects thrive
> Direct Line: +1 (317) 861-5948 x604
> Email: chrissy-qEDqLqPM/[email protected]
> Try Plone 4 Today at: http://plone4demo.com
> 
> On Sep 30, 2014, at 2:43 PM, Espen Moe-Nilssen <[email protected]> wrote:
> 
>> Is it possible with diazo rules to make a front-page  ( css:if-content="body.section-front-page/ )
>> that shows 
>> 
>> /news/custom_template
>> and
>> /some_folder/some_temlate 
>> 
>> «ont the same page» ?
>> 
>> 
>> Or do I need to construct some html  to do this ?
>> 
>> PS: the template used on «news» will be another template that is used when you go to /news
>> 
>> Espen
>> 
>> 
>> 
>> 
>> 
>> 
>> ------------------------------------------------------------------------------
>> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
>> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
>> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
>> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
>> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Plone-Users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/plone-users
> 
> 


------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.