jan-vince / smallrecords

OctoberCMS plugin to store and manage records and lists
MIT License
30 stars 11 forks source link

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

Closed febrianmosii closed 4 years ago

febrianmosii commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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!! :)