Questions tagged [Template builders] (144)

2
answers

PUG — import code into another pug-file to the specified location?

Tell me, is it possible to PUG to implement such a thing: Let's say I have two pagowski file, but the content in them, the code must be inside one section. For example, in the first file I have a header with some code and the second code that when compiled should be inside the header of the first file.
margie12 asked March 29th 20 at 21:17
1
answer

How to make admin panel to add html pages?

Hello I need to make 700 such treaties, they all share only what input on the left and text to the right, everything else is different. I realized that a single template is very difficult to do, it will be very difficult to associate with input outputi and everywhere are places everywhere and the number of such outputof dif...
Karianne_Reichel asked March 27th 20 at 11:54
0
answer

How to fix the problem, changing the quantity of goods (not +1) is added to the basket?

Good afternoon. Help to understand, please. On the website flowers-penza58.ru somehow when you change the number of variable product add to cart switch + and - added not one product, but 2, 3 or more for a single click. Where to dig? Maybe you know immediately what the problem is? With it noticed depends on the selected var...
izabella92 asked March 25th 20 at 12:42
2
answers

How to remove double image?

Hello, SW. forum. In General, such a problem. Don't know how to remove the duplicate image twice when you click "PHOTO GALLERY"? The link to the site: https://selldis.ru/catalog/_senses_executive/ The code of the template..<a href="/{local_catalog_group_image_big_src}" onclick="return false" rel="prettyPhoto[images]" sty...
columbus_Ryan asked March 25th 20 at 12:10
3
answers

What template engine to use for html?

Hello, the task was to create a template of mnogostanochnikov with any repeating units in the form of goods, if there's a simple templating engine that the syntax is not different from native html to insert the code that is already made up, and not to alter it under the jade syntax or pug
Jerry.Jerde asked March 24th 20 at 14:01
1
answer

How to do the right thing under different conditions for the template?

Hello! The template (under the phone) after authorization is modified slightly, for example, instead of a picture, a logo, an additional menu is a brief description appears at the bottom of the screen there is the type of conclusion online contacting support. So the question is not about how it is convenient to me, and how ...
Odie.Satterfie asked March 24th 20 at 11:11
1
answer

How to get the values of a higher level range in golang template?

I have a form<form method="POST" action="/saveLucr"> {{ range .Proflist }} <b> <input name="name_lucru" type="text" value="{{ .NameProf }}" />&nbsp;&nbsp;</b> <b> <input name="orar_prof" type="text" value="{{ .OrarProf }}" /> </b> <label id="addProfesie">add profes...
Macie asked March 24th 20 at 09:55
0
answer

How to register from .tpl in twig?

Good afternoon. In the tpl file there is such skriptikthe <script> catFilterList = $.grep('<?php echo preg_replace('/\s/', ",$params['filter_categslist']); ?>'.split(';'),function(n){ return n != "" }); </script> rewrite it in Fike twig sothe <script> catFilterList = $.grep('{{ preg_replace('/\s/'...
Junior_Keebler92 asked March 21st 20 at 12:37
1
answer

Is there a possibility to substitute arbitrary data in custom js?

I have the script like this:$(document).ready(function () { let allVideo = new window.VPlayer('192.168.1.67'); /** * function (number, port, canvas_element, container) */ allVideo.addVideo(0, 49002, $("#video-canvas-1").get(0), $('#jsmpeg1')); allVideo.addVideo(1, 49004, $("#video-canvas-2").get(0), $('#jsmpeg2')); all...
karianne_Wiegand93 asked March 21st 20 at 12:36
0
answer

How to use a mustache file in Idea Community?

saw on video a lesson on spring people decided to abandon timelife and instead decided to use a moustache and refactored html file by changing the extension on .mustache only when I did, it didn't work, they say it is a file with an unknown extension, on the website the Idea says that the mustache is only supported in the u...
karina asked March 20th 20 at 12:37