Groups
Sign in
Groups
kanso
Conversations
About
Send feedback
Help
Adding pages to CRUD GUI - Not working?
35 views
Skip to first unread message
Nicolas Hess
unread,
Apr 19, 2013, 5:17:58 AM
4/19/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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:
Copy <a href="{baseURL}/onepage">One Page</a> into the
"nav" part located at "base.html"
Created page "onpage.html" in Folder "templates"
Added Page in "show.js" like this:
// Show one page
exports.onepage = function (doc, req) {
return {
title: 'One Page',
content: templates.render('onepage.html', req, {})
};
};
In the Shell: "Kanso Install" and "Kanso Push"
In Developer Tools there is a warning that "onepage" is not found:
GET
http://localhost:5984/kcgui/_design/kcgui/_rewrite/_db/onepage?id=onepage
404 (Object Not Found)
Do I miss something?
Reply all
Reply to author
Forward
0 new messages