Web Development

73K

Solutions

48K

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

Hi there,
I need to create a website for a charity and am looking for suggestions on existing frameworks to use.  The system should
support  users to register and login through a web portal.  

The basic operations is that the admin will add a list of activities in a main List.  A user can check-out these activities from the main list or the admin can assign an activity to a member.

1. User registration mechanism
2. Admin dashboard/user dashboard

I am looking for a PHP/Javascript - MySQL based system.  Can you suggest any frameworks that I can customize easily.
Thank you
0
What does it mean to be "Always On"?
LVL 4
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

I have the code below which will detect the browser being used and if it is Safari it will redirect to 'notsupported.html' page.
It works fine when using a computer (PC or Mac), but if u login from a phone using Firefox or Chrome it will still redirect.  How can I prevent this from happening?   I only want to redirect if the user is using Safari, regardless of the devise being used.

		if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) { 
		window.location.href = "notsupported.html";
	}

Open in new window

0
I just tried to zoom in and the right hand side "hero board" overlapped 1/2 of the screen, making the main area completely inaccessible.

Not only main area of the site is illegible, even scroll bar is available,

Any chance at the least to get a horizontal scroll bar "in"?
0
I'm using goDaddy to host a website and need to do a file upload into a table. It occurred to me that I don't think I'll be able to use excel as my data source so I was hoping to be able to upload a .csv file. Is there a C# example of how to do this or possible some other method?
0
Hi. I have a folder structure like:
Untitled-1.jpg
Pages contains the nunjucks files, results contains the resulting html files from running gulp nunjucks, and templates are the usual.

Everything works fine with one exception. When I run gulp nunjucks. the resulting meta title and meta description look like this:
<title>Default Title</title>
<meta name="description" content="Default Description">

Everything looks set up correctly to me.

The pages say: {% extends "layout.html" %}. layout.html says:{% include "partials/head.html" %} and partials/head says:
  <title>{% block title %}Default Title{% endblock %}</title>
  <meta name="description" content="{% block description %}Default Description{% endblock %}">

I've attached the gulplfile. I'm sure it must be something in there that isn't set up correctly. I hope you can help.

Let me know if you need more info, snippets or other files.
gulpfile.js
0
Not familiar with bootstrap.

See the attached image. How can I make such alignment accordingly?

SnapShot.png
1. Make the text field closer to point #1
2. Make the submit button closer to point #2

<div class="form-group">
                                    <label class="col-sm-4 control-label">Primary Contact Number:</label>

                                    <div class="col-sm-5">
                                        <label class="control-label"><input type="text" class="form-control" id="print_send_mobile" autocomplete="off"  name="print_send_mobile" required>
                                    </div>

                                    <div class="col-sm-3">
                                        <label class="control-label"><input type="submit" class="btn btn-default yellowBg" value="Send Me Passcode">
                                    </div>
                                </div>

Open in new window


Thank you.
0
Client wants me to add a top navigation bar (Customer Login, Driver Info, phone number and search box) ABOVE the main navigation bar.  I have seen this on other sites but not sure how to add to this studio press genesis framework wordpress site.  

Screen shot
https://screencast.com/t/6AoI3wFt

Beta site
http://25a.e58.myftpupload.com/
0
I am trying to convert an @Html.Textbox image button to a submit button with  the onclick calling a Javascript function.

Here's what I have:
@Html.TextBox("Next", null, new {type = "image", src = @Url.Content("../App_Themes/icons/button_next.png"), @class = "imgbottom", onclick = "javascript: ValidateSelection ($(\"[name$='selectedItems']:checked\"))"})

Here's what I've tried:
<input type="button" value="Next" onclick="ValidateSelection (selectedItems.checked)">

and my Javascript function:
function ValidateSelection(item) {
    if (item == null || item.length == 0) {

        var validationSummary = $('.validation-summary-errors ul');
        if (validationSummary.length > 0 && $('.validation-summary-errors ul li').length == 0) {
            validationSummary.append('<li>' + "Please select at least one item" + '</li>');
        }
        var errors = $("[name='ErrorMessage']");
        if (errors.length > 0) {
            errors.hide();
        }
        var buttonGenerateReport = $("#GenerateReport");
        if (buttonGenerateReport.length > 0) {
            buttonGenerateReport.hide();
        }
        event.preventDefault();
    }
}
0
Hi There!

I have a customer who is a developer. They have 12 staff. 5 Developers 5 support people, 1 director and 1 sales/admin person.

They have an action pack, which covers up to 10 users of Exchange, Windows CALS etc, and that's fine.

What they are trying to do it make sure they are correctly licensed for dev machines, dev environments and testing labs.

It used to be that companies bought MSDN Subscriptions but I think those are now only for individuals and not for use in businesses at large? I had heard about MSDN Platforms but when I checked the pricing the customer just about died.

Anyone know of a more cost effective way for a company this size to correctly license their environment?
0
I just read the Bootstrap 4 is finally in beta. Is it okay to use Bootstrap 4 in productions?
0
Get proactive database performance tuning online
LVL 3
Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

when select employee= administrator it work correctly but when select apart from administrator thenn i does not work. i use the following code:
@api.onchange('number_of_days_temp')
      def _half_day_allowed(self):

            date_from = self.date_from
            date_to = self.date_to
            current = self.env['hr_leave_rules.leave_rules'].search([(
                        'holiday_status_id','=',self.holiday_status_id.id)])
            if current.half_day_allowed == 'no':
                  self.number_of_days_temp = ceil(self._get_number_of_days(
                        date_from, date_to, self.employee_id.id))
                  return {'value':{},'warning': {
                        'title': 'Please note :',
                        'message': 'You are  not allowed to take half day leave !'
                        }}
Screenshot-from-2017-08-14-17-33-01.png
0
Somebody did a website for a friend of mine. all fine, but when i fill the information and fill the information in "contact us" page, I get lots of error. The friend asked my help to sort this out. you can try this for yourself from this web page http://www.netsys.com.mm/contact
0
I'm looking to add an hourly programmer salary column to this list http://tedpenner.com/countries/ .

Assistance is greatly appreciated.
0
Looking for a Youtube professional of sorts. Not for uploads or downloads but the rules of the site and their accurate interpretation. Thanks.
0
   protected void Page_Load(object sender, EventArgs e)
        {

            CDT = Cadapter.SELECT_SEARCH_COMPANY(Session["JOBCATE"].ToString(), Session["QUALI"].ToString(), Session["skill"].ToString());
            if (CDT != null)
            {
                if (CDT.Rows.Count > 0)
                {
                    Session["CID"] = CDT.Rows[0]["CID"].ToString();
                }
                else
                {
                    DataList3.DataSource = CDT;
                    DataList3.DataBind();
                }
            }

        }

Open in new window

0
Is it possible to make a form responsive for mobile phones that lives on another server and is pulled into a page using an iframe? This is a bill pay form. The setup provided by the merchant services vendor does have a custom CSS option via a field they provide in their page building app used to setup the fields, labels, buttons, etc. Tried it but won't work so far. Main issue is the iPhone.
0
Hello all,

I have a requirement where I need to be able to do the following:

1.  User from anywhere in the world types www.whateverdomain.com
2.  They are either presented a prompt or a page that asks for username and password
3.  After they successfully authenticate their username and password they are automatically redirected to their specific URL.

I would prefer to keep this as absolutely simple as possible as this is the one area none of us are an expert in.  So the goal would be a simple solution using IIS for example and once the configuration is done, we could easily add others as we expand.  I am open to other ideas as well as long as it's easy to maintain and cheap.

Our initial goal in mind was to have a dedicated Server 2016 IIS server in a DMZ with this authentication page on it, that once successful will redirect them to the specific Web Application running inside the same data center.

Thanks!
0
Hi,

I am writing a php code to do a bulk export of all the blogs on my wordpress sites.

this is what I used, i.e. in a loop obtain blog ids and switch to the sites and run export.
issue is its just opening the content on a browser rather than to an xml file.

require_once( ABSPATH . 'wp-admin/includes/export.php' );
switch_to_blog($blogid);

$args = array(
               'content'    => 'all',              
      );

export_wp($args);
0
I am trying to find out how to add images, ppt decks, videos to SharePoint Online and have the images auto resize when the monitor/screen width changes for the user.  Can this be done out of the box or is custom code needed?
0
Free Tool: Subnet Calculator
LVL 9
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

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

Hi,

We are looking for the best registration process for internal employees to register for Company Trainings, whether in-classroom trainings with limited seats or online webinars.

We are looking to integrate a Registration Calendar with Outlook to be able to track registration requests and send out invites.

Thank you.
0
We are looking for automation processes and we read about automation anywhere training. We do have regular automated functional testing tool. Why cant we use them in production versus buying huge license product such as automation anywhere ? Writing automation in functional testing tool involves development effort but it heavily reduces license cost versus automation anywhere RPA. Can someone expertise in automation anywhere please explain how RPA is different in these perspective ?
0
I’ll try to make this short and succinct.  I have a Drupal 8 theme that I purchased (I won't name names) and all was good for the first month but then I noticed that whenever I made system changes to the site I would get errors like this (especially when I did a configuration Import):

Configuration block.block.footer depends on the ntv_block_background module that will not be installed after import.

This specific module does not exist, that I can find, but I believe that it is a module that the developer used during development and did not uninstall it correctly when he decided he did not want to use it anymore.  So the data that I acquired from the theme’s SQL was bad to begin with.  I have tried contacting the original author but I get no reply and have given up on that channel.

Digging Deeper: In the SQL database under the Config table is a data blob that contains references to this module in about 63 different data blobs.  a relevant section of the data looks like this:

s:20:"ntv_block_background";a:8:{s:7:"disable";s:7:"disable";s:5:"color";s:7:"#000000";s:8:"bg_image";a:0:{}s:13:"bg_image_type";s:7:"default";s:9:"bg_repeat";s:2:"no";s:17:"bg_image_position";s:0:"";s:13:"bg_image_size";s:0:"";s:18:"background_overlay";s:0:"";}

My Question: There is too many references to remove by hand, Is there a utility (drush or other) to remove meta-data from a module that I no longer have access to and purge the unused data so that it does not …
0
I have a script that is acting funny on this server for some reason. The script pulls a bunch of local auction records and hits eBay to pull updated details. There are typically around 500 auction records that need to be updated at any given time. Here's the loop:

$i = 1;
foreach($rsCurrentAuctions_result->getRecords() as $rsCurrentAuctions_row)
{

    $eBayAccount = $rsCurrentAuctions_row->getField('eBayUserID');
    $EndPointURL = $eBayAccount == 'ebay_user' ? 'https://www.example.net/fm-apps/web-services/update-auction.php' : '';
    $eBayItemID = $rsCurrentAuctions_row->getField('Auction_Number');
    $Request = 'AuctionNumber=' . $eBayItemID;


    curl_setopt($curl, CURLOPT_URL, $EndPointURL);
    curl_setopt($curl, CURLOPT_POSTFIELDS, $Request);

    $Response = !empty($eBayItemID) ? curl_exec($curl) : '';

    if(!empty($Response))
    {
        echo $i . '. Update ran for auction number ' . $eBayItemID . '!<br />';
    }

    $i++;

    if($i==100)
        exit();
} 

Open in new window


That last part is in there for troubleshooting purposes, and if I set it to stop after 5 or 10 or 25, for example, then it works as expected and outputs those lines. Anything above that, though, winds up timing out although it sends me to a 404 page.

I've seen other threads that mention if you're running Fast CGI this can cause 500 timeouts to send you to a 404, which doesn't make much sense to me, but I am indeed running Fast CGI.

Anyway, phpinfo() shows max_execution_time is 30 seconds. I'm trying to extend that with this at the top of my script:

ini_set('max_execution_time', 3600);
set_time_limit(3600);

Open in new window


What's weird is that the script runs for 45 seconds before it dies, so it doesn't seem to be following my php.ini or my script-level settings for execution time.

It seems like there must be something going on with server config, but I can't figure out what I need to do in order to get this working. Any tips would be greatly appreciated. Thanks!
0
Our site is being constantly hit by bots trying to execute one of our pages that displays technical data for our products.

Trying to add Google reCaptcha V2 into our website to cut down on the automated traffic.

Recaptcha works fine in debug mode (VB.NET & VS 2010) but when moved into test or production, we get the reCapcha check box, but when clicked, it just spins.  

The page in question uses Masterpages, header and body content place holders, etc.

If I create a completely new page, just a simple form without Masterpage, we get the recaptcha check box, then a second image verification, then it just loops back to the recaptcha check box again.

Site and private keys are established for our domain and localhost.

The problem does not exist when running on localhost, just our test and production sites. Thanks
0
Do a little www design.

Chrome is keeping the old files and when I view them to test Im looking at old cashed versions of images  

Any way to set chrome to flush the cache for sites every time I close chrome?

Thanks
0

Web Development

73K

Solutions

48K

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.