Data dodania Pytanie
2017-08-12 12:08 EJS variable not defined »
The previous questions on this topic seem to address issues I think I have covered properly. I cannot pass through some basic data into an index.ejs o...
(0) odpowiedzi
2017-08-11 19:08 EJS & Mongoose: How to capture & show a single category from schema model array? »
I tried to find it, but I didn't get with the correct answer. I'm using Mongoose, node.js and EJS for views. I have been able to catch & show al...
(1) odpowiedzi
2017-08-11 00:08 webpack template engine options with Node.js »
I have a question about which templating engine using webpack suits my requirements which are stated below. I have main page with a background image...
(0) odpowiedzi
2017-08-10 21:08 Hexo.js - How to display all posts that have tag on a page? »
I have a blog made with Hexo.js. I have a directory as follows: / - static text /blog - displays all blog posts /all-tags - displays all the tags and...
(0) odpowiedzi
2017-08-10 14:08 Forms in html tables »
i have a html table with two cells as input along with a submit button at the end of each row . I am struggling to pass the project ID(one cellin a ro...
(0) odpowiedzi
2017-08-10 05:08 Semantic UI modal not showing properly »
I've been working on a project that requires a Semantic UI modal (pop up) to show if I click the "View Details" button, but every time the modal pops ...
(1) odpowiedzi
2017-08-09 11:08 JST alternatives for Laravel »
Before Laravel 5.4 I used to use "JST" (Javascript Templates) by loading it using gulp. https://www.npmjs.com/package/gulp-jst2 However, in 5.4 Lara...
(0) odpowiedzi
2017-08-07 17:08 Express js and EJS weird behaviour on render »
I'm making my app using electron as main framework, express.js as middleware and ejs as rendering engine. i've several calls on express and everything...
(0) odpowiedzi
2017-08-07 08:08 How to get values of checkbox in node js using ejs? »
My Code: Html File: <form action="/form" method="post" enctype="multipart/form-data"> Name: <input type="text" name="name" /...
(1) odpowiedzi
2017-08-07 00:08 How to / Should I use EJS templates on Electron? »
I am experimenting with Electron and attempting to use EJS for layouts and partials. I can not get it to work trying the instructions here and can not...
(0) odpowiedzi
2017-08-06 23:08 EJS Syntax error, not able to render records in browser from MongoDb »
Index.ejs written as below : <% include ../views/partials/header %> <ul> <% todos.forEach(function(todo){ %> <li&gt...
(0) odpowiedzi
2017-08-06 15:08 Express only works on port 3000 »
My app only works on port 3000. If i change port to anything else, it'll work but when a page loads it occurs this error. abc is not defined ...
(3) odpowiedzi
2017-08-06 15:08 How to create and use onclick functions in EJS »
I am trying to make a trivia game. I want to make it where you can click on an answer and that creates a border and increments the points variable He...
(1) odpowiedzi
2017-08-05 23:08 Are you able to use vue.js inside an ejs file? »
Sorry guys I am new to node.js and was wondering whether we are allowed to use vue.js within an ejs file. ...
(0) odpowiedzi
2017-08-05 17:08 Sync inputs elements in ejs template »
I have a ejs template rendered with an array (called "operaciones") result of a sql request. I need to implement that when the user select a register...
(1) odpowiedzi
2017-08-05 15:08 Truncate a post.excerpt »
I am trying to truncate a post.excerpt. Actual code is <%- post.excerpt || post.content%> The above shows all of the intro text of a blogpost...
(1) odpowiedzi
2017-08-04 14:08 Render ejs from jquery? »
I want to render a file after getting the data from the Api. code $(document).ready(function() { $(document).delegate( "#editUser", "click", func...
(1) odpowiedzi
2017-08-04 07:08 Using express-flash with EJS »
I am trying to adapt my error code so it can also handle other types of error like success For example, when I render the sign up page res.render(...
(0) odpowiedzi
2017-08-04 02:08 Adding image as variable in Hexo (ejs template) »
In my .md file I specified blogpost-image as a new front-end variable. In my article.ejs file I have following: <div class="blogpost-image"><...
(0) odpowiedzi
2017-08-03 20:08 CSS - ejs not finding css file »
ejs seems to not be able to find main.css here, can anyone tell me why? header.ejs: <!DOCTYPE html> <html lang="en"> <head> ...
(0) odpowiedzi
2017-08-02 22:08 Uncaught SyntaxError: Unexpected token < »
I have searched around and have seen loads of people with the same problem, however, they are all getting it in a different way. I am using Express an...
(0) odpowiedzi
2017-08-02 20:08 routing in Node / express »
app.js: var express = require('express'); var path = require('path'); var favicon = require('serve-favicon'); var logger = require('morgan'); var coo...
(2) odpowiedzi
2017-08-02 12:08 HTML Page Break Issue »
I am converting HTML into PDF and its working perfectly but I have an issue with how data is being displayed. I have an array of strings and I am loo...
(1) odpowiedzi
2017-07-31 21:07 Is there a way to send data from HTML (using ejs template engine) to Node.js? »
I am currently working on my self-project using Node.Js (Express) + MongoDB + Javascript/Jquery + HTML (using EJS as my template engine). Currently I...
(1) odpowiedzi
2017-07-31 12:07 Passing ejs parameters to stylus file »
I am looking to pass a parameter to my Stylus file when it is being rendered. So for example in my app.js file I have: app.get('/myPage', function(re...
(1) odpowiedzi
2017-07-31 00:07 How much does include statements hinder performance? »
I am currently writing a node server, using express and ejs for the tempting engine. Some of my .ejs files have 7 - 8 include statements for partials ...
(2) odpowiedzi
2017-07-29 22:07 How could I send a React.js component from my node.js to my client? »
I'm sending a client a loader, and I want to receive my main React.js components from the server, after rendering the loader. I'm using node.js with ...
(1) odpowiedzi
2017-07-29 14:07 Best way to handle mongodb data for ejs file »
I'd like to render mainly mongoDB data and an array. What I want to do is allow my ejs file to use the components inside the database. Here is my cod...
(1) odpowiedzi
2017-07-29 01:07 What's the right way to template static front-end .js files inside the "public" folder (using Express/NodeJS and EJS)? »
Is there a way to "template" static front-end .js files (the ones inside the "public" folder) the same way I'm templating my HTML with EJS? Is that e...
(1) odpowiedzi
2017-07-28 07:07 EJs to HTML, nodejs, webpack »
webpack config: { entry: { filename: "./test/output.ejs" }, module: { loaders: [ { test: /\.e...
(1) odpowiedzi
2017-07-27 17:07 Cannot change href value of a tag »
Im trying to change my href value, but it doesn't seem to be changing at all. I've tried both jQuery and javascript method and neither work. <a ty...
(1) odpowiedzi
2017-07-27 09:07 ejs - include a file from a subfolder file »
My main template folder is views. Inside of that I have another folder called _layouts where I have header.ejsand admin_header.ejs. so if i have a fi...
(0) odpowiedzi
2017-07-25 20:07 What are the benefits of using <%- tag v/s <%= tag in ejs? »
When should one use the <%- tag? Since the <%- is unescaped, wouldnt it just leave the application vulnerable to attacks? ...
(2) odpowiedzi
2017-07-25 02:07 How to send data on ejs tag on a webpack 2.00 project? »
My project is set up using webpack 2.0.0 and ejs templates. All works well however it started getting annoying when we have a component slightly diffe...
(0) odpowiedzi
2017-07-25 00:07 Is my file path for including an ejs partial correct? »
My ejs header partial is in a directory below my index.ejs so the file structure goes: app/views/index.ejs app/views/partials/header.ejs Wh...
(1) odpowiedzi