plone - How to use a common header alternative pages using diazo -


i have 2 static html files, 1 design homepage, other design regular page.

i have rules determine 1 use, this:

<rules css:if-content="body.section-front-page">     <theme href="home.html" /> </rules>  <rules css:if-not-content="body.section-front-page"        css:if-content=".portaltype-document">     <theme href="index.html" /> </rules> 

though realizing these 2 pages have common elements, such header. there way use header 1 page or something, means if make changes htmlt, needs done in 1 place? way of asking, can mix design files?

you need have 1 theme file that.

if design theme file , have common elements between home page , other site page templates should quite possible.

i guess design key here... following site uses 1 theme file has different home page using rules similar css:if-content="body.section-front-page" determine not show left , right columns example.

http://www.lotterywest.wa.gov.au/


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -