Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x

Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.

Share tech news, updates, or what's on your mind.

Sign up to Post

I added a class to a div, and verify the booelan's working.  But, the ng-class is failing.

    <div ng-class="{ 'dog-ear' : isDogEared }"></div>

Open in new window


Inside the Typescript template I have:
@Output() isDogEared:boolean;

  dogEarIndexes: number[];

  constructor() 
  { 
    this.dogEarIndexes = [ 1,3,5 ];
  }

  ngOnInit() {
    this.imageFilename = "PuzzlePiece_Maps_" + (this.value.id + 1).toString() + ".gif";
    
    this.id = this.value.id;
    this.isDogEared = this.dogEarIndexes.indexOf(this.id) > -1;
    console.log('Id:'+this.id+" - " + this.imageFilename + " isDogEared="+ this.isDogEared.toString());    
  }

Open in new window


and the page does not generate any errors, and I verified the boolean values are properly set in ngOnInit()

Booleans Work OK

What am I missing?
0
Concerto Cloud for Software Providers & ISVs
LVL 4
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Hi all.

I'm playing around with GTM to insert schema.org markup into our product pages.  I've managed to add DOM variables to reference the product's name, description, and URL... but I can't seem to get the product image(s) to reference properly.

I've tried loads of different references (using Inspect Element on our product pages), but can't seem to get it to work.  I've managed to stop it saying "null" to just being blank when viewing the tag in GTM's preview, so I believe I'm on the right track, but I imagine the URL element of schema.org markup should reference the URL of the image?

I've attached a few screenshots.  The variable using div.woocommerce*** returns "", whereas the other one returns "null" at the moment.

Any help is greatly appreciated!

Thanks

Ryan
gtm.PNG
0
Beginners pick a language because they think they will make money using language.

But does a student need to start on computer science learning 0's & 1's, trees, lists, stacks, heaps.

Are there some students that are so gifted they can skip to coding the language?

Maybe kids who have used ipads their whole lives can start coding ios without learning about adding machines from the past.

Are there any naturally talented students that dont need to learn computer science theory?
0
what is the deference between reciprocal link and regular link ?
0
I received the following email today regarding one of my registered websites:

As part of the rules of domain ownership, ICANN (the international governing organization of domain domains) requires that your contact information be publicly accessible. Therefore, your name, address, email address and phone number are made available to anyone who performs a whois search for the domain name.

We understand that making this information publicly available is not the best solution for many customers, but it is a requirement for domain ownership. In addition, using false contact information violates domain registration agreements and could lead to loss of domain ownership.  But there is now an alternative:

---------------------------------------------------------------
Private Whois Service is now available to protect your privacy!
---------------------------------------------------------------

In order to help protect our customer's privacy we offer a Private Whois service which will remove your private information from the whois database. This service will display proxy information for the name, address, phone number and use an alias email address. Any emails sent to the proxy email will be forwarded to your actual domain contact email address.

The Private Whois service is $5 per year and can be activated by visiting your Control Panel Domain manager at:

I'm a bit confused on how they, or anyone else for that matter, can offer this service, as I …
0
Let me first say this is high level and I may be missing certain information.

Working a back end system that will contain REST Services that will be used to create requests and retrieve list information. The data being passed back and forth will be JSON.

The web application I want to build should be a single page application. Some of the key features needed:
1. Single Page Application - Store user data (Preferences)
2. Single site should work with Browser and Mobile Devices (Mobile Web App)
3. Everything one click away (AS much as possible)
4. List Display (Datagrid)
5. Request forms via Modal Window

At a high level what language(s) would you use to accomplish this?

Thank you in advance.
0
How much experience is required to get hired as a back-end developer or Python,PHP and Ruby.But now i'm looking for php experience.or How i can earn $1500 per month with PHP.
0
I have a Magento website which synchronises with a back end POS system (plug-in install guide).

I'm trying to determine why the sync is not working (I cannot get support from the POS provider).

The debug shows

2017-09-04T04:55:02+00:00 DEBUG (7):  Starting products import.
2017-09-04T04:55:02+00:00 DEBUG (7):  Initialised "retail" model.
2017-09-04T05:05:03+00:00 DEBUG (7):  Cannot run a new import while another process is locking a products import.
2017-09-04T05:05:03+00:00 DEBUG (7):  Cannot run a new import while another process is locking a customers import.
2017-09-04T05:05:03+00:00 DEBUG (7):  Cannot run a new import while another process is locking a products import.
2017-09-04T05:05:03+00:00 DEBUG (7):  Cannot run a new import while another process is locking a customers import.
2017-09-04T05:10:04+00:00 DEBUG (7):  Cannot run a new import while another process is locking a products import.
etc

Open in new window


What could be causing this? NO sync is running. How can I determine what the locking process is? etc

When the plug-in is installed on a fresh vanilla  Magento 1.9 install it works and products sync.

Working debug ->

2017-09-04T04:43:03+00:00 DEBUG (7):  Starting products import.
2017-09-04T04:43:03+00:00 DEBUG (7):  Initialised "retail" model.
2017-09-04T04:43:06+00:00 DEBUG (7):  Loaded XML response.

Open in new window


I need to get this resolved.  Happy to employ a consultant if need be.
0
I have been tasked with developing a plan to get out developers from testing and developing on our procuction boxes and testing/developing on our Test/Dev boxes.

My experience is only with small shops with 1 (myself) or 2 programmers, and we never needed a process to develope on Dev servers and promote to proction servers complete with gatekeepers.

Can anyone suggest some articles or provide some info on the subject that are better than just web-search ?

Thank You.
0
Just saw an article on Winn-Dixie losing court battle dealing with their website and lack of being fully accessible to the disabled. Conclusion to the case was websites will need to conform to WCAG 2.0 standards. Our company operates 3 websites, all on the Shopify platform. I have been given the task to find out if we are compliant.  I downloaded the NVDA screen reader and all three sites were compatible with that, as well as a Mac screen reader. My question...anyone dealing with this and what tips or advice can you supply to assist in the matter ?  Is there an official "checklist" ?  Thanks in advance, I am sure we will be hearing more about requirements and potential lawsuits soon enough.
0
Free Tool: Path Explorer
LVL 10
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Dear sirs,

I have CSRF enabled in my REST application.
I use either RestTemplate or Postman as Client.
How can I set the application in a way that each request (POST/PUT/DELETE) is carried with a token in its header.

I remember using an implementation of  ContainerRequestFilter while working on Jersey, and I could take care of my requests globally.

I am looking forward to hearing from you.
0
I am developing a vacation planner http://www.osoviejotravel.com that will allow clients to select various trips on fishing boats, sailboats,select tours and activities. The page is loaded with a database query and each checkbox has a unique ID number (id from database).  As per Ray Paseur's example in Expert Exchange Contributor, I am using sessions to store the checkbox  values. It works as described except when I add another check to add another boat to the list.  The new boat is stored however the previous selection is deleted.  How can I add new selections without deleting the old?
 Below is the code:

<?php // RAY_checkboxes_session.php
/*?>error_reporting(E_ALL);<?php */
session_start();

// INITIALIZE SOME TEST DATA - THIS MIGHT COME FROM A DATA BASE
if (isset($_SESSION[$fish_id])) $_SESSION[$fish_id] = TRUE;

// PROCESS THE POST DATA
if (isset($_POST[$fish_id])) $_SESSION[$fish_id] = TRUE;
if (!isset($_POST[$fish_id])) $_SESSION[$fish_id] = FALSE;

// CREATE THE FORM
$fishid_alt = $fish_id . "Alt";                  
$form = <<<EOFORM
<form action="index1.php#fish" method="post">
<label><input name=$fish_id type="checkbox" /> Yes
 
<input type="submit" value="Add to Planner" title="click 'Yes' and then click 'Add to Planner'"/></label>
</form>
EOFORM;

// REPLACE THE FORM FIELDS TO INDICATE THE CHECKED VALUES IN THE SESSION
if ($_SESSION[$fish_id]) $form = str_replace($fish_id, '$fish_id checked', $form);


// PRESENT THE FORM
echo $form;; ?>
0
É possível compilar o Delphi 5 para 64 bits. com InstallShield Express for Delphi 5?
Onde posso encontrar tutorial sobre o assunto se for possível?
0
Hello All;

OK, this is code that I found a while back, and posted here.
ASP Classic - Insert text, Line breaks and Code

The issue that I had, or am still having now, is that I am giving the user the option to choose the tags they want to use.
They can have as many tags as they need in their post.

The issue with the code in the link above is that it will only do one tag hard coded.
So, that I have done is added an REGGEX into it, and it works GREAT! for the highlighting,
However, adding this in, has messed up the main function of this code FUNCTION, and that is.
It adds the line breaks to everything OUTSIDE of the Code tags.

The REGGEX that I used and works is this.

Function Reggex(strString, strPattern, strReplace)

	Dim RE: Set RE = New RegExp

	With RE
		.Pattern = strPattern
		.Global = True
		.IgnoreCase = True
		Reggex = .Replace(strString, strReplace)
	End With
	
End Function

fString =   Reggex(fString, "\[code=(.*?)\](.*?)\[\/code=(.*?)\]", "<pre class=""line-numbers"" id=""code""><code class=""language-$1 demo"">$2</code></pre id=""code"">")

Open in new window


The original code is this. (Modified to work in my project)

 	CodeTags(1,1,1) = "[ code=sql]" ' Remove the space between the bracket, 
 	CodeTags(1,2,1) = "[/ code=sql]" ' Remove the space between the bracket, 
 	CodeTags(1,1,2) = "<pre class=""line-numbers"" id=""code""><code class=""language-sql demo"">"
 	CodeTags(1,2,2) = "</code></pre id=""code"">"

Open in new window


This is the entire script.


Open in new window

0
When I try to automate the downloading of a file from a HTTPS website using XMLHTTP protocol by EXCEL VBA code shown below, the login credentials in my VBA code are always ignored. The downloaded file test.txt only contains one line of error message that says "Your session has expired. Please login and download the file again."  

I have done the following experiments:
1). If I manually log in to the website using the username and password, I can log in without any problems. So the login credentials are definitely correct.
2). If I manually log in to the website, then run the VBA macro, I still get the same error in the downloaded file test.txt.
3). If I log in manually on the website, and manually paste the file url in Internet Explorer address bar and hit Enter key, the file can be successfully downloaded with the correct content in it.
4). If I log out from the website, then manually paste the file url in Internet Explorer address bar and hit Enter key,  I get the same error message in the downloaded file DownloadError.txt in my Downloads folder.

Please advise,
Thanks!


Sub DownloadFile()

    Dim oStrm As Object
    Dim HttpReq As Object
    Dim myURL As String
    myURL = "https://www.spice-indices.com/idp/data-center/file-download/S9bFdHFp-zmvr2g1QPMXfIRR0G0AOYB9MO_3R3VKI5nzhvCTU0qGu7rr0d9EDDvDIqVHbBaIGCqW1nxGVe-K_aSTm5gBj1XtGNH_cWI9X0jjXJLPJmGEnlX3n1vfzW0AHny7HJXPgv5PkYUmaUOHQg_hK1Cqf--KnMQWx_RVrIEhsP5ajtN9Qc6IbncFC-LM"

    Set HttpReq = …
0
Example for WinRM  API using SOAP
0
Hi All,

I am building an ASP.NET MVC C# website which is based on the "Individual Authentication" template. It works very well and I'm happy with its behavior.

I now need to start building out the details of the users account and start to link their activity to their Login Account.

I have (at least) 2 options:
1. Extend the existing IdentityModel.cs by adding to the ApplicationUser class or
2.Create a new Model and link that Model to the IdentityModel

I can see arguments in favor of each option and would like to know what is considered the best practice for this issue.

I have seen this question https://www.experts-exchange.com/questions/28667774/MVC-Entity-Framework-with-Identity-Best-Practise.html but it doesn't answer my question.

Thanks,

Des
0
I have been working through tutorials to create my own wordpress theme. I have used an example as a base but i'm having trouble creating a logo upload field and color pickers etc for custom styling.

I have attached my functions.php and index.php file.

Any advice or help would be much appreciated.

Many Thanks,

Andrew
functions.php
index.php
0
How to post  the jwt token with the login url of nodejs to the magento url

const opn = require('opn');
opn('http://localhost/tfc-magento/customer/account/loginPost/') ;

Open in new window



Thank you
0
Concerto's Cloud Advisory Services
LVL 4
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Can anybody help me to run mailx command through coldfusion. There is some problem with our cfmail settings and we need to send the mails using mailx command? is this possible in CF?
0
Hi All, I am creating a simple module using API.AI where API will ask set of 10 questions and retrieve answers.I In between of these question set i.e. after question 3, i want to handle in between user queries using other intent also but after handling those queries, I want to return back to the original question set i.e. question 4. Can we do this ? if not what is the suitable way of handling such scenario?
0
Hi All, I am creating a simple module using API.AI where user will ask set of questions and retrieve answers. I am using my own web service using webhook and fullfillment from my intent. Now can I use predefined domain like smallTalk,wisdom also simultaneously?
0
am trying to lock a node.js express website down for all routes except login, forget password, etc. I am able to hit the login page, forgotpassword, etc.; however, when I try to hit the reset password page by clicking on a link in an email of the form, http://localhost:3000/resetpassword?ua=55d48e9b2467717e1042e100f7f71990a04088a1c4eed26a67e7567993, I keep getting the "No authorization token was found" error. This route is in the unless list so I do not understand why it is falling through? Could it have an issue with the querystring parameter and if so what is the correct syntax?

Route Handler for Rest Calls
app.use('/api', expressJwt({secret: process.env.AUTH_KEY,
  credentialsRequired: true,
  }).unless({path: [{ url: '/api/forgotpassword', methods: ['PUT'] }, 
  { url: '/api/login', methods: ['POST', 'PUT'] },
  { url: '/api/resetpassword', methods: ['PUT'] }]} ));

Open in new window


Route Handler for the rest of the site

app.use('/', expressJwt({secret: process.env.AUTH_KEY,
  credentialsRequired: true,
  getToken: function fromHeaderOrQuerystring (req) {
    if (req.headers.authorization && req.headers.authorization.split(' ')[0].toLowerCase() === 'bearer') {
        return req.headers.authorization.split(' ')[1];
    } else if (req.query && req.query.token) {
        return req.query.token;
    }

    return null;
  }}).unless({path: [{ url: '/forgotpassword', methods: ['GET'] }, 
  { url: '/login', methods: ['GET'] },
  { url: '/index', methods: ['GET'] },
  { url: /\/css\/*/, methods: ['GET'] },
  { url: /\/js\/*/, methods: ['GET'] },
  { url: /\/images\/*/, methods: ['GET'] },
  { url: '/resetpassword', methods: ['GET'] },
  { url: '/forgotpasswordconfirmation', methods: ['GET'] }]} ));

Open in new window


Any help would be greatly appreciated.
0
My navigation bar on my site (anchoritgroup.com) is not visible on mobile devices. I cannot figure out how to resolve this issue despite many hours of googling. Here is my code:

<html>
<head>
    <title>Anchor IT</title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
    <link rel="stylesheet" href="assets/css/main.css" />
    <!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
    <!--[if lte IE 8]><link rel="stylesheet" href="assets/css/ie8.css" /><![endif]-->
</head>
<body>

    <!-- Page Wrapper -->
        <div id="page-wrapper">

            <!-- Header -->
                <header id="header">
                    <a>804-555-5555</a>
                            <nav>
                        <ul>
                        <li><a href="index.html">Home</a></li>
                        <li><a href="about.html">Our Story</a></li>
                        <li><a href="onsite.html">Onsite Service</a></li>
                        <li><a href="instore.html">In Store Service</a></li>
                        <li><a href="contact.html">Contact us</a></li>
                        </ul>
                    </nav>
                </header>


                </nav>

I'm pretty new at this am editing a template I purchased (https://pixelarity.com/formula)

Thanks!
0
Hai ,
I am working now sagepay payment in magneto 1.9. I have a module also there.I have a sagepay account also there and that details below,
url :https://applications.sagepay.com/
mail:(PM me for details)
pwd:(PM me for details)

But where is my vendor name.Kindly check and help me.
thank you
0

Web Languages and Standards

39K

Solutions

30K

Contributors

Web development can range from developing the simplest static single page of plain text to the most complex web-based internet applications, electronic businesses, and social network services using a wide variety of languages and standards, including the familiar HTML, JavaScript and jQuery, ASP and ASP.NET, PHP, ColdFusion, CSS, PHP, Flex and Flash, but also the implementation of a broad list of standards including XML, WSDL, SSDL, VoiceXML and many more.