Your don't need the header in your template. You need to add it like this:router.get('/calendar', middleware.buildHeader, renderPageHandler); router.get('/api/calendar', renderPageHandler);
Help me fill the missing pieces of code
Could anybody help me in writing some code whose comments are in Capital letters in the code below?
Also pl. confirm whether I am in the right direction?
I will be really grateful if anybody can help me out including writing the controller for these two features and storing the coordinates in the db. Today I spent the entire day but was not successful.
Thanking you in anticipation
I am able to solve the first issue. I needed to add checks in map.tpl instead of relying upon pure client-side JS solution.