Forum
Trouble setting up course times
My site is now full powered with perch. So far so good :)
But I have one little issue: I would like to share the opening times on three different places on the whole site.
The first and second times on the images above are editable thru perch so far:
The third opening times are dynamically print for each day with php like the image below but unfortunately not editable thru perch:
My question is, how can I edit the dynamically rendered opening times thru perch like the two others like this?
<?php perch_content('Cocktailbar Montag'); ?>
then in your template:
Is that what you mean?
(Screenshots of code are unhelpful, as I can't copy and paste the code to give you examples.)
I got this right now:
and this is my template:
But there is no output :(
What does this output:
Hey Drew,
I need to get this issue right. Please help me on this! Here is a mockup for the funktionality:
gives the english day "friday"
Ok, than you shouldn't translate the
perch:if
conditions.should be
Still no output:
Friday
notfriday
.Oh man, you are right! Now I got the output.
But it is now possible to combine the two regions like my mockup below?
Yes, you can use multiple templates to output the same content in different ways. Use the
template
option to specify which template to use where.