All Questions
Tagged with live-preview templating
6 questions
2
votes
2
answers
886
views
"Template not found" in live-preview
I am using docker for my local webdev and am new to Craft CMS.
Currently I have a simple setup running, however, my Live-Preview does not seem to work and throws the "Template not found" error.
Yet, ...
2
votes
1
answer
126
views
Navigation is throwing Twig error when trying to 'preview' a disabled entry
I have an entry that needs to be disabled until the content is finalized. I am not able to 'preview' the entry unless I enable it. If I remove the navigation code, 'preview' will work on the disabled ...
1
vote
2
answers
616
views
Live Preview for Upcoming Entries
I have an Events section on my site, and to display upcoming and passed events (entries with a status of pending or expired) I manually set the entry in the template:
Where the URL is /events/my-...
1
vote
3
answers
1k
views
Show Live Preview even if whole page is disabled
The whole page is disabled in the backend. Like in this screenshot:
Now I can't see anything in the Live Preview.
My code starts with: {% for entry in craft.entries.section('aboutus') %}
If I set ...
1
vote
1
answer
333
views
When using .limit on matrix blocks they don't show in live preview
I have a Matrix field setup and working perfectly except for one problem.
In my template I'm using .limit to only pull the first two items from the matrix field (I can't use max in the field ...
2
votes
2
answers
725
views
Live Preview only works for Entry variable?
Is there an undocumented shortcoming of Live Preview? Seems to only work where the entry variable is concerned.
I'm using a Structure section to create pages with "Chapters". The section (let's call ...