zoeck Posted Friday at 09:15 AM Share Posted Friday at 09:15 AM I think you have to pass the variable to your included latte file: {include '../blocks/' . $block->type . '.latte', block: $block} Link to comment Share on other sites More sharing options...
wbmnfktr Posted Friday at 07:31 PM Share Posted Friday at 07:31 PM 10 hours ago, bernhard said: It should work just like any other PW api... Does it render empty divs? Does it throw an exception? I receive the markup but couldn't access any data somehow. 10 hours ago, bernhard said: I'm never using {include ...}, I'm always using {$rockfrontend->render(...)}, but both should work. Using $rockfrontend every time wouldn't save me that much time so I tried using it the .latte way. 10 hours ago, zoeck said: I think you have to pass the variable to your included latte file This did the trick. Thanks for this hint! Link to comment Share on other sites More sharing options...
Recommended Posts