[ 
http://jira.magnolia-cms.com/browse/DOCU-304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antti Hietala updated DOCU-304:
-------------------------------

    Comment: was deleted

(was: Tips:
* Configure the variation under each page template where you need it. "Site 
wide" variations configured under the site definition cannot be triggered by 
extension. So if you have five page templates in your site (home, article, news 
etc.) and you want to configure a {{smartphone}} variation for all of them, you 
need to create the variation five times, once under each page template.
* The demo-project has an example variation configured in *Templating Kit > 
Template Definitions >* {{/pages/stkHome/variations/smartphone}}. This 
variation disables the {{stage}} area.
* To trigger the variation, request the page with the variation content node 
name as the extension. 
http://demopublic.magnolia-cms.com/demo-project.smartphone 
* When a variation is resolved by extension, no theme is applied. Themes are 
configured in a site definition. Only in the case of variation resolved by 
channel do we merge the site definition and its variation. This means that a 
variation triggered by extension cannot have a different theme. The default 
theme is used. Compare:
** Requesting the page with a channel attribute applies a theme. 
http://demopublic.magnolia-cms.com/demo-project.html?mgnlChannel=smartphone
** Requesting the page with an extension does not apply a theme. 
http://demopublic.magnolia-cms.com/demo-project.smartphone)

> Documentation for subtemplates being treated same as variations since 4.5
> -------------------------------------------------------------------------
>
>                 Key: DOCU-304
>                 URL: http://jira.magnolia-cms.com/browse/DOCU-304
>             Project: Documentation
>          Issue Type: Task
>      Security Level: Public
>          Components: content
>    Affects Versions: short term
>            Reporter: Jan Haderka
>            Assignee: Antti Hietala
>            Priority: Major
>             Fix For: short term
>
>         Attachments: variation.png
>
>
> Since fixing MAGNOLIA-4412 subtemplates are variations in MAgnolia 4.5. 
> Documentation needs to reflect this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to