Insert html link inside phtml text

The link shows exactly how it is spelled instead of an actual link. What am I missing?

escapeHtml($block->getNoResultText() ? $block->getNoResultText() : __('Your search returned no results. Use our Part Finder or Contact page if you cannot find what your looking for as we may have it or can order it in.')) ?>
getAdditionalHtml() ?>
getNoteMessages()) : ?>




enter the image description here

How to draw crosses on an image with canva html?

I would like to do something like in the image with canva, to be able to add crosses on an image, but so far I can't find a way to do it, do you have an example? also that those crosses can be eliminated

enter the image description here

html – Problem when editing the DropDownList does not capture the corresponding data and does not let me save it

When I load the data to edit a State the DropDownList does not load and when I recapture the data I cannot capture the DropDownList.
(When I add if it is loaded but at the time of editing it does not load the corresponding data leaves the x default)

How should I capture it?

How do I capture it to save it in the database?

         protected void BtnEditar_Click(object sender, EventArgs e){

                Cliente  A = new Cliente();
        A = contexto.Cliente.Find(Convert.ToInt32(CRut.Text));

        A.Rut_Cliente = CRut.Text;
        A.Nombre = CNombre.Text;
        A.Apellido = CApellido.Text;
        A.Telefono =  Convert.ToInt32(CTelefono.Text);
        A.Correo = CCorreo.Text;

        A.EstadoPersonas =Convert.ToInt32(DropEstado);


        //A.EstadoPersonas = Convert.ToInt32(DropEstado.DataValueField);       
        contexto.SaveChanges();
        CargarTabla();
        LimpiarCampos();


    }



    private void CargarEstadoCliente()
    {
        DropEstado.DataSource = contexto.EstadoPersonas.ToList();
        DropEstado.DataTextField = "Nombre_Estado";
        DropEstado.DataValueField = "ID_Estado_P";

        DropEstado.DataBind();

    }




                

How to activate a JavaScript DOM manipulation function in an HTML file after PHP changes a variable between tags in that HTML file?

I am creating a simple client-side web page that can be updated from an admin page. I am using PHP for server side manipulation of client target page.

The configuration seems like an exaggeration to me:

  1. index.html it has some basic html input elements. A button triggers an XML GET request to makeClientPage.php. The PHP script takes a variable generated from the HTML inputs and writes a clientPage.html proceedings.
  2. On the generated client page, I have two JavaScript variables, called new_image, which is assigned to the variable from the administration page and old_image, which has an arbitrary string value.
  3. The generated variable is a directory name for a PNG image. There are over a thousand PNG images that the administrator can choose from. This path is provided to a JavaScript variable (new_image) Between

html: image recovery via NODEJS from mongodb to client

I have a bit of knowledge about NodeJs and I am starting to learn IT, but I have some problems. I tried to send an image that works fine as expected, but the problem is how to serve that image and display it on the html side. :

The usage model I am using is below

img: { data: Buffer, contentType: String}`

when i loaded the image to the database it looks like this:

 img: {
contentType: 'image/jpeg',
data: Binary {
  _bsontype: 'Binary',
 sub_type: 0,
  position: 105486,
 buffer: 
}

but what i want to do is how i will show that on my html / page

 

User Profile

Sign off User update Homepage

Welcome <%= user.userName %>

your e-mail <%= user.email %>

Date <%= user.dateofbirth %>

your identification <%= user._id %>

My image <%= user.img%>

<img src = "https://webapps.stackexchange.com/<%= user.img.data %>"alt =" Simply easy learning "width =" 200 "/// heree the problem height = "80">

this is the code to represent that page /

router.get('/profile', ensureAuthenticated, (req, res) =>{
res.render('profile', {
user: req.user,

 });

Any hints on how to retrieve that and implement it in that html?
Sincerely,

javascript – How to print java html

How to print a var or string on the screen in a simple way?

I tried with

Var exemplo = 500;
Document.getElementById(exemplo).innerHTML = exemplo;

 

But I'm not sure
I want to make a game and press a coin score, etc. I will put the values ​​in var but I will not be able to print them on the screen

Accessibility: WCAG Guidelines for displaying a statistic and its value? (in HTML)

Sorry if UX is not the right place for this, I am a UX designer but this is perhaps dabbling a bit in front-end development.

I am working on producing some HTML / CSS components for a client and I am trying to make them as accessible as possible in the code I provide to them. Since I've done some accessibility audits recently, this is something important that I'm trying to stop for my work.

I am trying to find the best way to present the following, either using good HTML semantics or if this requires aria tags, eg labelledby?

I am looking for the best way to display a statistic and then its value. Please do not criticize the actual design here, I am not responsible for the design, only the production of components.

enter the image description here

Currently my code is:

Number of computers affected

230,000

However, I'm not sure if an h3 title element is correct here (it's at least the next highest level title on the page). Should I use a tag or a div with an aria tag? Or is it okay to use headings here, even though everything below them is a value?

Thank you very much for your help.

apache2 – "Permanently delete" instead of "Move to Trash" in & # 39; / var / www / html & # 39; Ubuntu 18.04 LTS

After successful LAMP installation from this link everything works fine but when I tried to delete some files it shows me permanently erase option instead of Move to trash.

If I put the same file in my Home folder moved to the trash correctly but not the files that are in /var/www/html binder.

Can someone help me please, I'm stuck for many days?

javascript: retrieve AWS S3 objects (different image, audio, video etc. formats) using AWS JS SDK and retrieve (render) on separate page in HTML

I am working on a project where: I am deploying my project on AWS EC2 instance, I want to put (manually upload) all my media files (images, videos, audio, text files) in S3 Bucket which is Private Bucket. And use these S3 files in my project using ACCESS key and SECRET key – AWS S3 SDK Javascript NODE JS. The project is based on the Js node with some simple JS and HTML on the front end. In my project I have

Server.js File

   

 const express = require('express');
    const app = express();
    const AWS = require('aws-sdk');
    const config = require('./config');
    var msg = require('./message');
    const PORT = config.PORT ;

    app.use(express.static(__dirname + "/public"));
    (async function(){
        try{
            AWS.config.setPromisesDependency();
            AWS.config.update({
            accessKeyId: config.ACCESS_KEY,
            secretAccessKey: config.SECRET_KEY,
            region : config.BUCKET_REGION,
            });
            const s3 = new AWS.S3();
            const response = await s3.listObjectsV2({
                Bucket : config.BUCKET_NAME,
                
            }).promise();       
         console.log(response);
            
        }
        catch(e){
            console.log('Our Error : ' , e);
        }
        debugger;
    })();

    app.listen(PORT, () => {
        console.log(msg.ASCII_PATTERN + msg.SERVER_RUNNING_STATUS + PORT + msg.ASCII_PATTERN);
        
    });

Config.js File

 const config= {
        HOST : "localhost",
        PORT : 5050 ,
        ACCESS_KEY : "MY_ACCESS_KEY",
        SECRET_KEY : "MY_SECRET_KEY",
        BUCKET_NAME : "MY_BUCKET_NAME",
        BUCKET_REGION : "MY_BUCKEY_REGION",
    
    };
    module.exports = config ;

Index.html file – This HTML file is inside the public folder and the rest of the files are outside
/public/index.html





Get and display data from S3

Error Error Error Error Download PDF file Download text file Download 3D GLB File Download 3D OBJ File

package.json file

{
  "name": "myApp",
  "version": "1.0.0",
  "description": "",
  "main": "route.js",
  "scripts": {
    "test": "echo "Error: no test specified" && exit 1",
    "start": "nodemon server.js"
  },
  "keywords": (),
  "author": "",
  "license": "ISC",
  "dependencies": {
    "aws-sdk": "^2.652.0",
    "express": "^4.17.1"
  },
  "devDependencies": {
    "nodemon": "^2.0.2"
  }
}

I can run this project with node command npm install after that node server
I want to access the files with AWS S3 SDK in Javascript. With this code in the console, I can get all the S3 files in the console panel of the server. But what I want to use is to have all the files on the HTML page. Can someone help me implement this functionality and write the code? Share the code in Glitch or by any other means.
Thanks in advance

html: what is the best tool to create a website menu?

I have a website with 85 pages in total. It is just html, css and some javascript. I need to change the website menu so I will have to make the change on all 85 pages.

What tools should I use to be able to change the website without having to change each page?

I know I could use php or python with a database, but I am sure there is something better than that. I want to avoid the database because it can slow down the website and compromise SEO.