Data dodania Pytanie
2017-04-26 12:04 Post data on another page in nodejs »
I'm new in nodejs. I'm trying to make login form using ejs engine. What I want is simply print the username and password in the welcome screen using p...
(4) odpowiedzi
2017-04-26 11:04 ejs.renderFile keeps logging output to stdout »
I have a project using Express.JS with EJS as view engine. Whenever I run ejs.renderFile, either directly or with res.render, the generated function b...
(1) odpowiedzi
2017-04-26 08:04 EJS Variable Not Displaying »
I'm working on a random quote machine. Here's my NODE stuff: var express = require("express"); var app = express(); app.set("view engine", "...
(0) odpowiedzi
2017-04-25 12:04 EJS Static css files stop working when i pass reference parameter in URL »
I am using ejs template engine and express js (node js), when i pass the reference parameter in url, static css files stops work ...
(1) odpowiedzi
2017-04-25 10:04 Send value from backend to frontend in Sails.js and check with EJS »
I'm trying to submit data from a form, then from the controller there are 3 possibilities, it already exists, the data is wrong and it was successfull...
(1) odpowiedzi
2017-04-24 19:04 Routing by back end (nodeJs) or front end (angularJs) »
today I have a very important question to ask from people experience in javascript and their respected frameworks. I am creating an application in no...
(0) odpowiedzi
2017-04-24 17:04 Building an inbox system using Express/MongoDB »
I have been developing an app for renting flats for a personal project of mine. I have been wondering about how to build/implement an inbox system to ...
(1) odpowiedzi
2017-04-22 12:04 blob link not found using recorderjs »
I am using the Recorderjs by mattDiamond to record an audio wav file. I am following this code :https://github.com/tmtxt/web-audio-example . The code ...
(0) odpowiedzi
2017-04-21 23:04 EJS in rails production not compiling properly »
I have a rails app that uses EJS templates. It is running perfectly on development, but in production, it acts like the EJS processing step is skipped...
(0) odpowiedzi
2017-04-21 19:04 Sails.js - Issues with controller »
I'm developing a controller to parse JSON from SoundCloud's API, using the following code (SoundCloudController.js), in order to retrieve some data. W...
(1) odpowiedzi
2017-04-21 10:04 passportjs local connectflash not working with ejs »
I have a project using passportjs fully working, but not showing flash messages. The passportjs file looks like this: passport.use('local-login', ...
(1) odpowiedzi
2017-04-20 19:04 Ajax with include in ejs »
When i try to add include in my ejs file its working fine. HTML report.ejs <tbody> <%- include('include/playersTable')...
(0) odpowiedzi
2017-04-20 17:04 Update part of HTML page using NODE.JS and EJS »
I have the following express app which just renders the sample.ejs page. On that page when I press the button the attached script changes the div text...
(1) odpowiedzi
2017-04-20 08:04 Filtering an array by using another array »
Array1 = [ name1, name2]; Array2 = [ { name: name1 , id: 1, location: xyz, address: 123 }, { name: name2 , id: 2, location: abc, address: 4...
(3) odpowiedzi
2017-04-19 12:04 Nodejs, HTML, Mongoose and EJS »
I'm trying to populate some fields, from data stored in a MongoDB database, in a HTML page using Nodejs and EJS. I have my nodejs server.js file. ap...
(0) odpowiedzi
2017-04-19 07:04 Versioning of webpack bundle in EJS »
I am creating application with Express and ReactJS. For splitting big components I use lazy loading and in webpack I am adding chunkhash to query to c...
(1) odpowiedzi
2017-04-18 12:04 scripts included in partials dont work as expected in ejs »
I use lodash accross my website and its now telling me that uniqBy is not a function. I thought maybe this was due to me using an older version of the...
(1) odpowiedzi
2017-04-18 09:04 Sublime Text not formatting code when file references header/footer via ejs »
I'm using a lot of ejs in my app and I have a problem as Sublime is not colour coding my code within an ejs file when my file begins with a reference ...
(0) odpowiedzi
2017-04-17 18:04 Loop through a image file »
So I have a large file of 68 images that I need to display one after another in a gallery type format, but I do not want to type them all out for obvi...
(0) odpowiedzi
2017-04-17 15:04 How to include the content of a CSS file into node EJS template »
I'm using express and public folder for loading CSS inside a tag. But I wonder if it is possible to load it as text directly on EJS template, similar...
(0) odpowiedzi
2017-04-17 09:04 How can I "cache" a mongoDB/Mongoose result to be used in my Express.js views and routes »
What I'm trying to achieve is some sort of way to cache results of a mongoDB/Mongoose query that I can use in my views and routes. I'd need to be able...
(1) odpowiedzi
2017-04-16 15:04 Node JS, EJS include actions »
I am writing an admin dashboard in Node JS.The HTML views are being created using EJS. Below is an example of how my folders are set up. /root ap...
(0) odpowiedzi
2017-04-16 01:04 Get current page in .ejs file? »
I have simple Node.js web app with login/registration functionality through passport. In the nav bar I have two buttons: Login and Register. What I wo...
(1) odpowiedzi
2017-04-15 21:04 Navigating between Express, EJS and Node.js »
How do I create a page which has a button, which onclick() will redirect to another page? ...
(1) odpowiedzi
2017-04-15 10:04 User input with EJS and Express »
I'm building my first web app with Node, using EJS and Express. But I'm having some trouble getting any information from the user that can be manipula...
(0) odpowiedzi
2017-04-13 22:04 nodejs html-pdf not working on heroku »
I've a fully functioning nodejs code that on some user actions generates a pdf, emails the pdf to user and uploads the pdf to dropbox. It works perfec...
(1) odpowiedzi
2017-04-13 20:04 Webpack: ENOENT: no such file or directory, open 'head.ejs' »
I have the following webpack.config.js file: 'use strict'; let path = require('path'); let webpack = require('webpack'); let HtmlWebpackPlugin = req...
(1) odpowiedzi
2017-04-13 13:04 how to submit a form without knowing a button id/class or form id/class? »
Hi i have multiple forms in a single page each of this having different productId which is getting from backend, and each form having 2 buttons one to...
(1) odpowiedzi
2017-04-12 11:04 webpack-dev-server rebuild with ejs »
I'm using webpack-dev-server with this config: import webpack from 'webpack'; import autoprefixer from 'autoprefixer'; import ExtractTextPlugin from ...
(0) odpowiedzi
2017-04-12 06:04 Populate right side of HTML view on list click with data using EJS »
I currently have a view that is essentially a list on the left and a results view on the right. I am using Node/EJS and I am passing in everything I n...
(1) odpowiedzi
2017-04-11 09:04 how to render ejs template in HTML page on button click dynamically in nodejs »
I'm trying to add ejs template in html page onclick of button where I'm passing data to ejs template. if Irender template without data it gives error ...
(0) odpowiedzi
2017-04-11 07:04 html-webpack-plugin - How to insert webpack bundle.js without executing the EJS template »
I am trying to insert bundle.js dynamically without executing the EJS template but I get the below error. Is there a way to insert just the JS without...
(2) odpowiedzi
2017-04-11 00:04 why we use different extensions(Layouts) in node.js like handlebars,jade,ejs, etc? »
I'm a beginner to Nodejs. I'm developing MEAN Stack project for my University Project. so I have some questions regarding extensions in NodeJs. What ...
(1) odpowiedzi
2017-04-10 21:04 Looping: adding html every three iterations »
I have a template I need to render html in. I'm using EJS (basically HTML with javascript). I need to insert a new row div and a wrapper div after e...
(1) odpowiedzi
2017-04-10 16:04 WebStorm: can't create EJS files »
After getting a common error and fixed with this post, the views files have the jade extension despite I'm choosing EJS... First I create the project...
(0) odpowiedzi