Publisher does not support the Fluid field type. Please do not contact asking when support will be available.
If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.
Ticket: Hi! This is a pre-sales question if Blueprints has a template tag?
Status | Resolved |
Add-on / Version | 2.0 |
Severity | Trivial |
EE Version | v2.9.2 - Build Date: 20141004 |
YveZ
Nov 19, 2014I wish to make use of blueprint as a channel field named layout_selection that can hide fields when selecting blueprint layout
Example:
-On Channel Entry-
Field 1 - Layout Selection
(col-default
col-75-25
col-60-40
col-50-50
col-40-60
col-33-33-33
col-25-75
col-25-50-25
col-25-25-25-25
col-20-20-20-20-20)
Field 2 - Content A
Field 3 - Content B
Field 4 - Content C
Field 5 - Content D
Field 6 - Content E
Field 7 - Content F
-On template-
Some channel code here
{if layout_selection == "col-20-20-20-20-20"}
{content_a}
{content_b}
{content_c}
{content_d}
{content_e}
{if:elseif layout_selection == "col-25-25-25-25"}
{content_a}
{content_b}
{content_c}
{content_d}
{if:elseif layout_selection == "col-25-50-25"}
{content_a}
{content_b}
{content_c}
{if:elseif layout_selection == "col-25-75"}
{content_a}
{content_b}
{if:elseif layout_selection == "col-33-33-33"}
{content_a}
{content_b}
{content_c}
{if:elseif layout_selection == "col-40-60"}
{content_a}
{content_b}
{if:elseif layout_selection == "col-50-50"}
{content_a}
{content_b}
{if:elseif layout_selection == "col-60-40"}
{content_a}
{content_b}
{if:elseif layout_selection == "col-75-25"}
{content_a}
{content_b}
{if:elseif layout_selection == "col-default"}
{content_a}
{if:else}
What the?! where is my Content!!!
{/if}
BoldMinded (Brian)
Hello, Blueprints is no longer for sale, but to answer your question yes, you can use {pages_template_id} and {pages_template_path} in your templates.