Questions tagged [switchee]
Switchee is a free add-on which provides switch/case control logic in your templates.
10
questions with no upvoted or accepted answers
1
vote
0
answers
64
views
Help embedding categories into Switchee value field
I’m trying to embed categories into a Switchee value field but can’t get it to work. Can you help?
To try to deal with the parsing order problem, I call the Switchee embed from my site/index template:...
1
vote
0
answers
60
views
Pages module affect use of category url indicator?
Putting together a blog template, using switchee to create all the related templates within the one. I have 'Yes' selected for 'Use Category URL Titles In Links' and category is my reserve word.
My ...
0
votes
2
answers
44
views
switchee syntax error: {exp:switchee}
I am getting a syntax error when trying to set-up switchee on a new ee site. I am in 3.5.10 and I am using switchee v. 3.0. This is the first time using it in 3.x have used it several time on two ee 2....
0
votes
1
answer
135
views
Cartthrob on_the_fly item options
I've got a cartthrob site where I have two product channels and then an "on_the_fly" product, where a user will enter their data for account number, price and client fields. Here is my add_to_cart ...
0
votes
2
answers
54
views
Switchee with 4 segments?
I need to switch on 4 segments. I'm a little confused.
{exp:switchee variable="{segment_2}" parse="inward"}
{case value="#^P(\\\\d+)$#|''"}
Show all categories
{/case}
{case ...
0
votes
1
answer
76
views
Need help to stop inner conditionals from parsing with with nested conditionals and stash
I'm really stuck and I know it's likely something small that I'm missing. I read the page in the wiki that relates to stash conditionals (https://gist.github.com/croxton/9d012297096892ca5c10), but I ...
0
votes
3
answers
101
views
Problem calling a specific channel entry using segment_1 and page module
Ive looked at many Switchee questions here, but can't find out why my channel entry id's aren't being called in an embedded template. Switchee is working (with text for test), but Im obviously making ...
0
votes
0
answers
62
views
Solspace tag entries pagination links
I'm using tag entries like in Docs
{exp:tag:entries
inclusive="yes"
orderby="entry_date"
sort="asc"
limit="10"
paginate="bottom"
...
0
votes
0
answers
165
views
Playa's {myfield:total_children} and conditionals (checking for "no results")?
We are using EE 2.5.5 and Playa 4.4.2.
We are setting the "status" field dynamically on our site. We need to be able to use Playa like so:
{if {myfield:total_children status="{embed:status}"}}{/if}
...
0
votes
0
answers
211
views
Low Variables with Switchee - parse order issue
Hi I'm having a parse order issue that I can't seem to figure out.
I have a template that looks like this:
some code here
<div class="content-line">
{exp:low_variables:parse var="lv-...