enduro_website icon indicating copy to clipboard operation
enduro_website copied to clipboard

generator page problem

Open halsn opened this issue 7 years ago • 1 comments

I create cms/generators/foos/, there are some variables in template files, but when I add new pages from the admin UI, the content of new page is empty, like this image So how can i solve that?

halsn avatar Jul 10 '17 10:07 halsn

Hey @halsn , Could you share the contents of cms/generators/foos/test-page.js? What would you expect to see at the admin page you took screenshot of?

Generators are basically the same pages with different data, but markup/template is the same.

Check this sample out https://github.com/Gottwik/enduro_samples/tree/master/generators

Gottwik avatar Jul 11 '17 10:07 Gottwik