aryehraber / statamic-fetch

Statamic v2 Addon — Access content directly as JSON using URL endpoints or via a simple tag.
MIT License
55 stars 8 forks source link

Not showing in CP addon #38

Closed monstromatic closed 5 years ago

monstromatic commented 5 years ago

Hello,

I'm using statamic 2.11.3 and the Fetch addon doesn't show up in the addon CP... I drop the Fetch folder in the addon folder as my another addons and nothing append. Even if I refresh and restart server and clear cache. When I do a query with Axios, no error but a 204 No content response on every type of data (page, globals, etc.)

aryehraber commented 5 years ago

Are you sure you copied the correct folder into /addons? When downloading the addon, you don't copy the entire contents of the zip, just the inner Fetch folder.

monstromatic commented 5 years ago

Yes, absolutely :-)

aryehraber commented 5 years ago

Hmm, very odd! The addon doesn't have any dependencies, so it should Just Work™...

Does anything show when you visit /!/Fetch/collection/[collection_handle_here] or /!/Fetch/pages in your browser? Any errors in your log file?

monstromatic commented 5 years ago

My bad, I copy the folder in 'site/settings' instead of 'site'... so sorry about that. You can close the issue.

aryehraber commented 5 years ago

Haha, ok no problem 😊