Questions tagged as 'template'

0
answers

nodemailer pass json to template

I'm trying to pass a json to an html template to send with nodemailer, this already allows me to send mails perfectly, but I do not know how the json could go. This would be my code js: readHTMLFile('routes/api_mail/report.html', function(err,...
asked by 05.09.2018 / 06:00
2
answers

Error compiling a template

I was asked to put together a project to make a list of nodes with double links, these nodes must be able to accept any type of format ( char , int , float ) for this I use the templates. However, there is an error that I do...
asked by 14.08.2018 / 04:31
1
answer

Django show a List in a Template

I'm creating a program that pings a host, in a list I'm storing the results of the ping and I want to publish the result in my template but it does not show me anything and I do not know what I'm doing wrong, I hope you can help me the code i...
asked by 11.09.2018 / 05:25
0
answers

jsf template external content

I have a project on jsf where I use template to render menu, footer, etc. My question is how can I include the index of another web project on the template exposed in the first project.     
asked by 30.05.2018 / 12:02
0
answers

Solve: Content not readable in WORD, when making a Report with PHPWORD

Hi, I have a problem, I'm working with PHPWORD, more specifically with TemplateProcessor, all right in the code apparently, but when I download my report it does not open and I get the following message that I attached in image: Here is the...
asked by 08.05.2018 / 12:20
0
answers

HREF in template .ftl

I do not have much idea of ftl or freemarker, but I need to mount an HREF link in a template that I use to send emails, I found this:    < #assign res = ' HELLO '? matches (r'href="(. *?)" ' ) > but it does not work for me, becaus...
asked by 20.02.2018 / 12:52
1
answer

php template replace with array data

Hi, I have the following html code in a php file: <!DOCTYPE html> <html lang="{lang}"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <m...
asked by 20.02.2018 / 16:00
1
answer

Permalink change_list of the administrative panel in Django

I've been reading for weeks and trying out alternatives to customize the Change_List (Inside the Django administration panel, where the list of components of our application is shown, allowing you to add, modify or eliminate it). It happens t...
asked by 31.10.2017 / 18:31
0
answers

Image in page-php

Good morning, I have a problem with two images that I have in a file called page-equipo.php. The code that I have of php is this: <?php if ( have_posts() ): while ( have_posts() ) : the_post(); ?> <section class="cuadricula_clinic...
asked by 09.09.2017 / 21:50
1
answer

Error with path in Symfony and Ajax template

I am trying to test a form with symfony with a code copied from the internet. It is about two selects, province and city, in which the values of City depend on what is selected in the Province, but when I load the page it marks the following err...
asked by 02.12.2016 / 14:20