1

I'm trying to use the live look feature in expression engine to preview entries, but it doesn't pass the URL title to the preview template. Am I doing something wrong or is this just not allowed? I can't imagine preview templates would be of much use without this.

1

In the "Live Look" url title isn't being pass with the preview template. Instead of url title, entry id is passed. you can see the entry id as last segment.

| improve this answer | |
  • Is there a way to change it from entry_id to url_title? – mheavers Mar 14 '13 at 11:05
0

I solved this by spinning out two entry loops in the same template - one for url_title and one for entry_id. I used croxton's Switchee to select the appropriate loop based on regular expression in the segment.

Alternately, you could set up a separate live look template for the channel. But then you'll need to maintain two templates.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.