Category: Web Development
How to configure DevExtreme with visual studio MVC application
These are the steps : 1. Install Microsoft visual studio on your machine. 2. Then we need Xpress Developer Studio. Which is available on https://js.devexpress.com/. 3. Install Xpress Developer Studio in your machine. 4. Then we need to install DevExtreme
Importing gmail contacts in your website using javascript
Importing gmail contacts in external website is common these day where you can login to gmail from within external website and then access your contacts directly inside external website. For example, the requirement could be to allow user to refer
Can static variables be local?
Static variables are the variables that belongs to class. Static variables are shared among all the objects i.e there is only single copy of that variable.These do not get memory in each object. They automatically get initialised to 0. For
WordPress | Add html form on a slide using Slider revolution Plugin
How can we add html form in a slide in slider revolution plugin in WordPress? Solution: Slider Revolution plugin gives us options to add image, shapes, layers to enter text for example. For placing a form on a slide follow these
CakePhp 3.x | Declaration of user defined constants
In cakephp 3 we declare constants in bootstrap.php file under /app/config folder. A constant can be declared as: Configure::write(‘CONSTANT_NAME’, Value, true); Example: Configure::write(‘USERNAME’, ‘Webners’, true); To use this constant in another file, use this: use Cake\Core\Configure; Now the constant can
Cron jobs in Totara
When I made any new changes to the audience or add a new user(s) to existing audience in totara, it didn’t reflect in the member area of that audience. Sometimes it doesn’t even show changes made for many days because
CakePHP | Calling Web API in CakePhp 3.x
Web API requests in CakePhp 3.x and difference from curl in php. Cakephp provides an easy method to communicate with webservices as compared to core PHP. In core php we make api requests using curl. Below is the sample code
Java | Few tips about Maven
1. How to compile maven project using different poms? Solution: When we start compiling project with mvn -clean install command, maven tool first attempts to search the pom.xml file in the current directory. If no pom is found in the
Sendgrid | Display sender name with email in “from” field
If we want that when we send email to our users using sendgrid api then the name of the sender (if we provide) should appear along with sender-email then follow the process given below : To accomplish this, we just
