Closed bzerangue closed 4 years ago
Hi @bzerangue
Try
{{ placid:request handle="placeholder" }}
{{ response.data }}
<h1>{{ title }}</h1>
{{ /response.data }}
{{ /placid:request }}
I'll try and get the index method added so it's a bit nicer. Thanks for reporting this.
That worked. Thank you! Actually, I noticed the documentation on your README is what I needed. I was focusing on the documentation on the Statamic Marketplace which was giving me the error.
Alec,
Thank you for the wonderful Placid v2 plugin for Statamic version 2.
I am using the 2.0.4 of the Placid plugin on Statamic 2.11.16.
I am getting the following error on a new installation of Statamic 2.11.16
ErrorException in Engine.php line 163: call_user_func() expects parameter 1 to be a valid callback, class 'Statamic\Addons\Placid\PlacidTags' does not have a method 'index'
I have tried both ways...
using the saved request, resources/placid/requests/placeholder.yaml
and full request
Both give met the same error (that I list above)
Any thoughts on how to fix this?
Unfortunately, I can't use Statamic v3 yet. Since I need to do a production site on v2 since it is stable.