Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected token "string" of value "records" ("end of print statement" expected). #70

Closed
febrianmosii opened this issue Aug 28, 2020 · 2 comments

Comments

@febrianmosii
Copy link

febrianmosii commented Aug 28, 2020

Hello, I just installed this plugin and I am about to use this with my project.

I followed the instruction of "Basic use case", and successfully called these components without any issue.

{% component 'categories' %}

{% component 'tags' %}

But when it comes to

{% component 'records' %}

The error appeared

image

My Page

image

image

My records

image

image

Could you please help me to find what's wrong with my installation?

Thank you in advance

@jan-vince
Copy link
Owner

Hi @febrianmosii

it looks like you have your own default.htm partial in /themes/demo/partials/records which overrides the default component template from Small Records.

Can you temporarily rename this folder to eg. records2 so you can test the defaul plugin's compoment template?

@febrianmosii
Copy link
Author

Hi @febrianmosii

it looks like you have your own default.htm partial in /themes/demo/partials/records which overrides the default component template from Small Records.

Can you temporarily rename this folder to eg. records2 so you can test the defaul plugin's compoment template?

Thank you!! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants