3
votes
Accepted
How to load different stylesheets depending on the template
The simplest and and most flexible way is to use Template Layouts.
In your main HTML Layout wrapper (simplified) which we will say is named "_html-layout" in the "layouts" template group:
<html&...
2
votes
Front end member area
I have no idea what your actual setup is, but I general find that a best practice is to utilize embeds for control features as well as consistency. Here is an example: Two template groups, one call ...
2
votes
Accepted
if statements that can alter a layout
Assuming 2 fields firstname and lastname...
<div class="{if lastname}half{if:else}full{/if}">
{firstname}
</div>
{if lastname}
<div class="half">
{lastname}
</div>
{/...
1
vote
Accordion Feature Not Working
If you are not a developer, you need a developer's help. Here is what is going on:
On the drop-down container elements, you have a class called visually-hidden, and the combo looks like this:
<...
1
vote
Accepted
Template layout question
I do this by passing blocks of template content via layout variables. Thus you can put template specific content elements into a layout, but don't need to worry about doing any logic switching within ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
template-layouts × 16layout-variables × 4
templates × 3
conditionals × 2
variable × 2
layouts × 2
members × 1
safecracker × 1
channel × 1
login × 1
404 × 1
ce-cache × 1
template-partials × 1
logout × 1
metadata × 1
error-pages × 1
stylesheets × 1