Web Development

74K

Solutions

49K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.

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

Sign up to Post

What are your advices and technologies to design a Web portal UI for our customers to be robust, reliable, light and modern?
Note: The web portal will integrate with another Web applictions.
0
Why Diversity in Tech Matters
LVL 12
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Hello, I have a website hosted at InMotion hosting an I'm having trouble making the .htaccess rules work properly. I need rules for:

1. Force https on every page
2. Force www. when not entered
3. Hide index.php, so a page looks like this https://www.gastronegocios.com/contacto instead of https://www.gastronegocios.com/index.php/contacto

I currently have this rules, but their not working properly:

RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$

RewriteEngine On

RewriteBase /
RewriteCond %{HTTPS} off

RewriteCond %{HTTP_HOST} ^gastronegocios.com [NC]
RewriteRule (.*) https://www.gastronegocios.com/$1 [R=301,L,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php?/$0 [PT,L]

Open in new window

0
How do I create a list of items in flexbox.. Each entry in the list will have the attached image format

Thanks  Capture.JPG
0
Thank you all in advance for your help!

I am just now learning ASP.NET and have plowed through a few tutorials. I Successfully completed one on Webforms and was able to publish the contents of a table with a "Select:" button for each of the rows. The intent? To allow details pertaining to the selected row (Patient ID) to be displayed in the next/new page.  

IN fact, when I run the application, I can click select on a row and then go to my aspx.cs tab and see the value when I hover over the variable (PT_ID).

int PT_ID = Convert.ToInt32((sender as LinkButton).CommandArgument);

My question is, and I apoligies for how "NOOB" this is but,

What kind of tutorial do I need to focus on next to have a new page open with the contents relevant that PT_ID?

What are these topics/functions called in ASP.NET that would allow me to send the variable assign to PT_ID to a webform that display the results of the subsequent query?

Im pretty sure I can find how to display a table in a webform once I pass the variable. Just dont know how to pass the variable from one form to another.

Thank you in advance!
0
I need to display and image on the single product page of Woo Commerce.  However, when I use this function nothing is displaying it seems my problem is how I am referencing the image.  The image is in the media library.

add_action ('woocommerce_after_add_to_cart_button', 'display_calif', 10);

function display_calif() {

if ( has_term( 'california', 'california_temp' ) ) {
echo '<img src="/wp-content/uploads/2019/01/california.gif" />';
        }
}

Open in new window


Please tell me how to reference this image.
0
https://www.magickitchen.com/weight-loss-meal-delivery/  when I scroll, there's a white space. Another question here showed me it's from the js code that hides the top navigation on scroll. What I need to do is find out what div gives that white background, and change the color.

See earlier question:  https://www.experts-exchange.com/questions/29132073/White-space-on-scroll.html?headerLink=workspace_answered_questions

The top navigation used to be white, so this wasn't a problem. It's still not a huge issue, but I'd like to color that white. Thanks.
0
Hi Web Experts,

I’ve found a menu on W3Schools which would probably suit my website quite well, because it’s lite (and has very little JavaScript and no external links except font-awesome which I can easily workaround), is 2 level, simple and responsive (using a hamburger menu).  Here’s the info on it, and here’s the demo.

It seems to work quite well except for some minor problems (some of which I might be able to work around myself), but one problem I don’t know how to fix is:

If I add more “Dropdown” menus (which I’ve done here), then on my phone click “Dropdown 1”, then change my mind and click “Dropdown 2”, it opens “Dropdown 2” so I can see the items under it, but within a second it automatically takes the 3rd option under the “Dropdown 2” menu (“Link 2C”).  (I guess this is related to the fact that “Link 2C” appears in the same position that “Dropdown 2” was before I clicked “Dropdown 2”.)  This problem happens on my phone (Samsung J7) in both browsers (Chrome and Samsung “Internet”), and I've also noticed it on a Samsung J5 and old Samsung Gio.  (No such problem occurs if I click "Dropdown 2" then "Dropdown 1".)

Is anyone able to offer a fix for this, please?

Thanks.
tel2
2
A small real estate firm is looking to have a website that would display their property listings, blog, documents and other static information.
It needs to be mobile compatible as well.
They want to post the listings themselves.

Is there a company that produces these sites?  Something that runs under WordPress?

Thanks.
0
I have a javascript button at https://www.theherbsplace.com/rebate-program/ it is found at the bottom of the page.

Here is the code
<script>
document.getElementById("order_comments").innerHTML = "I want membership";
</script>

Open in new window


<p><a class="button exclusive biz-op-button" title="I Want Membership!" href="#" data-register="true">Get My Membership</a></p>
<p class="form-row notes" id="order_comments" data-priority="">
    <label for="order_comments" class="">Order notes&nbsp;<span class="optional">(optional)</span></label>
    <span class="woocommerce-input-wrapper">
        <textarea name="order_comments" class="input-text " id="order_comments" placeholder="Notes about your order, e.g. special notes for delivery." rows="2" cols="5"></textarea>
    </span>
</p>

Open in new window


The button works fine but I need it to change colors and text on click.  This is so the customer will know their request has been logged.

I am not very strong in javascript.  I see on the net some examples but I don't know enough to fold them into what I already have working.

Thanks,
0
When reading the File of size  3MB or bigger  from remote filesystem using ADODB.Stream LoadFromFile method it gives not responding issue in IE for 30 sec.

theStream = new ActiveXObject("ADODB.stream");
theStream.LoadFromFile("\\server\c:\upload\rose.png");

I am looking for solution for above. Please comment if Any suggestion or solution exists for above not responding Issue
1
CompTIA Network+
LVL 12
CompTIA Network+

Prepare for the CompTIA Network+ exam by learning how to troubleshoot, configure, and manage both wired and wireless networks.

I have a client who i developed a single page static HTML/CSS landing page for. These landing pages are for real estate properties, so all pages are identical, except they all live on their own domain (www.myproperty.com) and have different images and information. So far to manage its been super simple, i point my godaddy domains to Digital ocean, apply LetsEncrypty, copy the template over and fill in the blanks and i have a super light performant website all done within 30 minutes.

The client has now sent me a few new "designs" from a theme they want to use, the problem is, this theme is WordPress. Ideally i want to avoid wordpress because i am maintaining the site and its unnecessary for me, also the themes use page builders and are bloated with html and css, i know i can tweak it heavily to make it close to as performant as a static page but again i feel this is unecessary. I go the wordpress route im going to have to charge them setup costs + an additional security and maintenance fee (monthly) on top of hosting because i will have to actually manage wordpress itself (updates, plugins, all that fun crap that breaks when you run updates, etc).

My options:

1. Charge them to convert the theme to raw HTML/CSS and continue deploying the sites as i already do. This will cost them more upfront as it will take 20-40 hours to do but i can keep my existing workflow (all pages have their domain name, and SSL) and wont have to charge them any additional monthly costs

2.  …
1
When my Magento 1.9.3 install rebuilds the cache after an image flush, not all images are included for some reason.  The images are there and have uploaded successfully, but are not being built into the cache so they don't show up on the frontend or backend.

I have:
-set memory to 2048M
-made sure images were set to "global"
-checked permissions on the server

-cleared cache, image cache, and re-indexed

 

Any thoughts?
0
hello all

i'm providing continuous integration of a series of projects for developers and i do not want the site to be dead while rebuilding

the project i'm currently bothered with makes use of symfony and webpack

i'm trying to get npm to build in one directory but serve files from a different one

basically i want to
1) build
2) if the build is successful, move the built files to a separate directory
3) serve the files from the directory i specified ( aka as far as i get it, get a bunch of prefixes in manifest.json in a custom directory )

hacking manifest.json is a nogo since it is rebuilt during the build process

using symfony router is a nogo as well since non-php files will not be served by php

setting redirects in the web server config is definitely something i do not want to do for a whole lot of good and bad reasons. currently the site works with a basic setting to use fpm when the files are php and i want to keep it that way.



i successfully replaced "/build" with "build" so i can serve files in whatever directory i want and not just the site root ( which works with a few additional hacks )

other attemps ( both changing the config file or using the command line ) produce this error :
Error: Cannot determine how to prefix the keys in manifest.json... This is caused by setOutputPath()  and setPublicPath() containing paths that don'  t seem compatible

ideas ?

a simple way to disable the check would be perfect. i …
0
I’m using Font Awesome on a site but am having an odd issue. Everything is working fine EXCEPT on a single computer (the client’s computer, naturally) where all.css is turning up a 403. I've contacted the Font Awesome team and they said the link I was using to call it looked good.

  • All the fa-*.woff files are loading fine.
  • It’s not an IP issue because other people in her office (edit: on their own computers) can see the icons.
  • It’s not browser related because it’s happening it Chrome and Edge (the only two browsers she has installed.)
  • The cache has been cleared, the computer has been restarted.
  • It used to load, but at some unspecified point stopped.

Following is the header information from Chrome DevTools:

Request URL: https://pro.fontawesome.com/releases/v5.6.0/css/all.css
Request Method: GET
Status Code: 403
Remote Address: 50.31.246.1:443
Referrer Policy: no-referrer-when-downgrade

Response Headers
 access-control-allow-methods: GET
access-control-allow-origin: *
access-control-max-age: 3000
content-encoding: gzip
content-length: 2113
content-type: text/html
date: Fri, 04 Jan 2019 14:06:15 GMT
fly-request-id: bLiEnx5ChLg7zMcZ6u1zN8wdvZ
server: Fly.io/0.1.1
status: 403

Do you have any idea what might be going on here? Thanks!
0
Hello - I am running SharePoint 2016, one site collection and I have setup sites. All is working except when I attempt to share a page I have created within a site, the link in the email that is sent to users I'd like to share with, has it going to the main site URL and not the page I am trying to share.

Same with a calendar I am trying to share out...it continues to send the URL of the main site within the email rather then the link URL to calendar or page.

I really appreciate your help.
0
In the Add and Remove List per the link: https://www.experts-exchange.com/questions/29130898/Add-and-Remove-List.html?headerLink=workspace_answered_questions


1) the items can be added to the list now, but starting from the second row, we cannot see the images which have been added.
2). The list area should be displayed till the user click the add button
3). The list area remains till the user removes the list items completely.
0
I have a Wordpress site that I need to disable the hyperlinks for a specific section on the homepage. Basically, I do not want to show the detail page.

The site: https://www.secc-chicago.org/
The section: Neighborhood Business Development Center area on the home page

Links I need disabled:
City Services
Business Operations
Consumer Outreach
Sourcing Suppliers
Business Workshops
Marketing Assistance
Financial Resources
Special Events

If its relevant, the section is created by Services within Wordpress
Screen-Shot-2018-12-31-at-8.04.22-PM.png
Screen-Shot-2018-12-31-at-8.09.58-PM.png
0
MySQL form POST to database.  When INSERT INTO query is performed on what seems are random basis (or perhaps it is based on content of the data POSTed from the text area on the from, the data saved to the field in the database sometimes has duplicate information.  For example, if there are multiple sentences, a portion of one of the sentences will be duplicated in the paragraph of text.  Not sure what would cause something like this.  When using the form we can edit and try to save the same text several times, usually it will eventually save correctly.  I have several other application/database pairs on the same web/mysql server and don't seem to experience this issue.  So I am assuming the problem is coming from this specific website.

Here are some code snippets:

from the PHP form:

<div id="workOrderForm">
                  
                                                   
                              <form name="workOrderForm" method="post"  action="formdata.php">
               
                                       <div class="formLable">Client Code:</div>
                                       <input name="clientCode" type="text" class="formFiller" onkeypress="return disableEnterKey(event)" option value="<?php echo $result['clientCode'];?> "  />
                                    
                                    <div id="emailLable">Email:</div>
                                       <input name="email" type="text" id="emailFiller" onkeypress="return disableEnterKey(event)" option value="<?php echo $result['email'];?>" />
                                                                        
                                    <div class="formLable">Company Name:</div>
                                       <input name="companyName" type="text" class="formFiller" onkeypress="return …
0
Hi,

I run an app and web development agency. We always have approx 25-35 projects (websites or apps) on the go at any one time. We have been using a mixture of different tools to manage our client’s projects over the last few years.

We’ve trialled and tested several different tools and software to manage each project but always end up back using Trello and Google Sheets.

We are now considering building our own software to manage all of our projects as we can’t find one piece of software to manage our entire process, HOWEVER I would like to explain our requirements to see if anyone here can recommend a tool / software that will facilitate our needs before we go building a bespoke web app to manage our client’s and projects.

REQUIREMENTS

01 - ability to add leads manually

02- ability to collect leads from your website (via contact form)

03 - ability to change ‘leads’ to ‘live’ to ‘completed’ etc

04 - ability to have a predefined set of tasks auto created each time you create a new lead or change the stage / status of a project (‘lead’ to ‘live’ etc)... every project and stage has common tasks that we do for each project so I’d like these common tasks to be auto created per project and stage

05 - ability to control who sees what tasks (don’t want developers seeing financial or client business tasks... and don’t want clients seeing internal dev snag lists that we create... at the moment we manage this via Trello but it means we have to create 2 separate…
0
Exploring ASP.NET Core: Fundamentals
LVL 12
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Need expires headers to satisfy yslow on GMetrix.  I am on an Apache 2.4 Linux system.

When I use this code I get an 500 Internal Server Error

# Optimize cache-control
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault “access plus 1 month”
ExpiresByType image/gif “access plus 1 month”
ExpiresByType image/png “access plus 1 month”
ExpiresByType image/jpg “access plus 1 month”
ExpiresByType image/jpeg “access plus 1 month”
ExpiresByType text/html “access plus 3 days”
ExpiresByType text/xml “access plus 1 seconds”
ExpiresByType text/plain “access plus 1 seconds”
ExpiresByType application/xml “access plus 1 seconds”
ExpiresByType application/rss+xml “access plus 1 seconds”
ExpiresByType application/json “access plus 1 seconds”
ExpiresByType text/css “access plus 1 week”
ExpiresByType text/javascript “access plus 1 week”
ExpiresByType application/javascript “access plus 1 week”
ExpiresByType application/x-javascript “access plus 1 week”
ExpiresByType image/x-ico “access plus 1 year”
ExpiresByType image/x-icon “access plus 1 year”
ExpiresByType application/pdf “access plus 1 month”
<IfModule mod_headers.c>
Header unset ETag
Header unset Pragma
Header unset Last-Modified
Header append Cache-Control “public, no-transform, must-revalidate”
Header set Last-modified “Mon, 1 Oct 2018 10:10:10 GMT”
</IfModule>
</IfModule> 

Open in new window


my headers in htaccess looks like this

# BEGIN Really_Simple_SSL_UPGRADE_INSECURE_REQUESTS
<IfModule mod_headers.c>
Header always set Content-Security-Policy "upgrade-insecure-requests;"
</IfModule>
# END Really_Simple_SSL_UPGRADE_INSECURE_REQUESTS

Open in new window


The log says
[Sun Dec 23 12:59:33.053088 2018] [core:alert] [pid 7617:tid 140692416341760] [client 1.1.1.1] /data/web/abc.com/.htaccess: ExpiresDefault takes one argument, an expiry date code

Open in new window


Seems everything on the internet and the plugins are not suited for Apache 2.4.  Please help.

Thanks,
0
Hi,  I'm creating a PHP and MySQL web application for a client. I'm a fairly new web developer.
Is there a way to add page titles and meta tags dynamically? It's a small application. I'm not using a Framework.
I saw a couple of possible solutions on google, but am not sure what the easiest and most efficient way of doing it would be.

Possible Solution #1, add variables in my header.php page and then on each respective page for example about, contact etc... add those variables above the include statement.
Here is my header.php code:

?>

<!DOCTYPE html>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta charset="utf-8">
	
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<meta name="description" content="<?php echo $meta_description; ?>">
	<meta name="author" content="Ryan Sacks">
	<link rel="icon" href="img/favicon.ico">
	
	<title><?php echo $page_title; ?></title>
	
	<!-- Bootstrap core CSS -->
	<link href="css/bootstrap.min.css" rel="stylesheet">
	
	<!-- Font Awesome Icons -->
	<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
	
	<!-- Custom CSS -->
	<link href="css/style.css?v=<?php echo time(); ?>" rel="stylesheet">
	
	<!-- Google Fonts -->
	<link href="https://fonts.googleapis.com/css?family=Oswald:300,400,500" rel="stylesheet">
	<link 

Open in new window

0
Experts,
 We have sharepoint 2013 with OOB sharepoint list view.  We would like to change the paging for list view with client side coding. I am attaching the after and before image. I would like to use script editor/content editor web part to implemented this. Can you please help me with sample code.
Before

After
0
Dear All,

i have a question, i have a web user control created in web application
first :how can  i use this control in xamarin  android application.
second:how can i call a web application from xamarin application
0
Need to consume a SOAP webservice with an SSL Certificate, we have the certificate and is in PEM format, all attempts to connect to the endpoint say, we've looked everywhere online and can't find the solution to this and the documentation on PHP and OpenSSL is... complex...

Error: SoapFault exception: [HTTP] Could not connect to host in

Open in new window


If we comment out the $localCert we can connect to it, the PHP version running is:

[root@smpp StartNotification]# php -v
PHP 7.0.3 (cli) (built: Feb  4 2016 20:50:17) ( NTS )
Copyright (c) 1997-2016 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2016 Zend Technologies
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
[root@smpp StartNotification]#

Open in new window

    $localCert = "file.pem";
    $opciones= array( 
        "local_cert" => $localCert,
        "trace" => 1,


        "exceptions"=>1,
        "features" => SOAP_SINGLE_ELEMENT_ARRAYS,

        "stream_context"=>stream_context_create(array(
            "ssl"=>array(
                'ciphers' => 'DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:AES256-SHA',
                'verify_peer' => false,
                'verify_peer_name' => false, 
                "ca_file"=>$localCert,
                'allow_self_signed' => false //can fiddle with this one.
            )
            )
        )

    ); 

Open in new window

0
I created a click-once install for a .NET app.  Crystal reports is downloading and installing.  The problem is that the download location is wrong.

An error occurred downloading the following resource:
http://xxxxxx.com/downloads/CrystalReports10_5/CRRedist2008_x64.msi

Should be

https://xxxxxx.com/xxxxxx/CrystalReports10_5/CRRedist2008_x64.msi

How can I set the correct location?  It should be https and xxxxx not downloads.
0

Web Development

74K

Solutions

49K

Contributors

Web development includes all aspects of presenting content on intranets and the Internet, including delivery development, protocols, languages and standards, server software, browser clients, databases and multimedia generation.