Adding pages to CRUD GUI - Not working?

35 views
Skip to first unread message

Nicolas Hess

unread,
Apr 19, 2013, 5:17:58 AM4/19/13
to ka...@googlegroups.com
Hi

I just installed the CRUD GUI.

Now I am trying to create a additional Page - But this doesn't work.

Here is what I did:

  1. Copy <a href="{baseURL}/onepage">One Page</a> into the "nav" part located at "base.html"
  2. Created page "onpage.html" in Folder "templates"
  3. Added Page in "show.js" like this: 
    1. // Show one page
    2. exports.onepage = function (doc, req) {

    3.     return {
    4.         title: 'One Page',
    5.         content: templates.render('onepage.html', req, {})
    6.     };
    7. };
  4. In the Shell: "Kanso Install" and "Kanso Push"
    In Developer Tools there is a warning that "onepage" is not found:

    Do I miss something?


    Reply all
    Reply to author
    Forward
    0 new messages