![]() |
|
|
#1
|
|||
|
|||
|
Can optionalelse be used on Custom Elements?
|
|
#2
|
|||
|
|||
|
Yep - only on content pages, not indexes though.
|
|
#3
|
|||
|
|||
|
So I'd use it in this form?
(optionalelse|template name|custom element name) If so, it doesn't seem to be working for me at the mo. |
|
#4
|
|||
|
|||
|
That should work. I'll test it out locally to see what could be the issue.
|
|
#5
|
|||
|
|||
|
For now, does the following work:
PHP Code:
|
|
#6
|
|||
|
|||
|
Hmm, that worked, so I tried again with optionalelse but flushed the caches and it worked too
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|