Category: Web Development
Using concatenate, cases, substring in CakePHP 2
How to use concatenate, cases, substring in CakePHP 2.* find query. Suppose given records are: Problem: Display user details in one column and the first character of user role in front of the user full name. Also suppose in case
How to Convert XML to a dynamic object in C#
First of all how to parse a predefined XML structure to a class object in C# Sample XML: <User> <Name>Joseph Lawrence</Name> <Class>Second</Class> <Section>B</Section> <Roll_number>2735</Roll_number> <Joining_Dt>20160323</Joining_Dt> </User> Above sample can be parsed by creating a class and setting each variable
Steps to Create and Delete Windows TaskScheduler instance in C#
Steps to Create and Delete Windows TaskScheduler instance in C# code: Dependencies: Add reference of the taskschd.dll file. On click of start button following steps need to be executed to create an instance of Scheduler: 1. Create the instance of
QuickBooks Integration | Important Quickbooks Webconnector Facts
Question: Can we add custom functions in quickbook? Answer: Yes, In quickbook.php file we need to add Constants to make custom function and we can add as many as we want. After defining these constant we can map these in
How to Disable CSRF token in Laravel Application
CSRF stands for cross-site request forgery. CSRF token is basically used for security purpose in Laravel forms. To understand how it works read here: https://laravel.com/docs/5.4/csrf How to disable it if required? CSRF protection is enabled by default in all routes
Chargify Retry and Dunning – How to manage failed transactions
Description: When we use auto debit system to charge our customers using their credit cards, it is possible some transactions get declined. This can happen due to different reasons like user’s credit card has expired or due to authentication failure
WordPress | Deployment of code to live website from Github, Bitbucket or Gitlab
Suppose we have live websites and we are using bitbucket to save the code of plugins, themes etc of those websites. Then we can manage the deployment to live sites easily through the WP pusher plugin. WP Pusher plugin is
Compare Passwords in HTML5 form validation using Jquery
In one of our projects, requirement was to compare two password values using HTML5 form validation (display the message in the same format as regular HTML5 messages are displayed). Let us assume that we have a HTML5 form for change
Customize Time Picker from Bootstrap Time Picker Plugin to add additional features
With bootstrap timepicker plugin, one can select time similar to datepicker (we select date, month, year from datepicker). With bootstrap timepicker plugin, we can select hour, minutes and meridian. In the following screenshot, you can understand, what timepicker does: Screenshot