Category: Web Development
Allowing PHP cURL to access self-signed websites without verifying the SSL certificate
By default, each cURL request can access only SSL certified websites. However, at times it is required to access those sites which are self-signed. To verify that your cURL request is able to access self-signed websites or not, use below
Salesforce | How to access CLIENT_ID, CLIENT_SECRET in salesforce
Problem: How to access CLIENT_ID, CLIENT_SECRET in salesforce. We can access the ClientID and ClientSecret by creating Connected app in Salesforce. Solution: Follow these Steps to create a new app in salesforce. 1. Click on setup then under Build click
WordPress | Developing Custom scheduler in WordPress
Suppose you want to design a custom scheduler in wordpress plugin instead of using wordpress scheduler which has fixed values of recurrence which are ‘hourly’, ‘twicedaily’,’daily’. And if you want to make the scheduler dynamic instead of making it static
Salesforce | Send daily emails using workflows till the status changes
We have a custom object Survey and it has a status field with the values: New, Pending and Purchase. When Survey is in Pending status we want to send email to the user on every second day till the status
Java Struts | How to remove the action extension in Struts 2 framework
In struts.xml file of your web project, replace value for constant named “struts.action.extension” to as shown below : <struts> <constant name = “struts.action.extension” value=”,”> </constant> <!– we have set value for this constant to comma that means no extension as
Salesforce | Editing a task assigned to another user by task owner
Problem: Task owner was not able to edit the task which is assigned to other user. I have a situation where a system admin assigns a standard user as an owner of the lead. Like in my case Abc is
Adding custom merge tags to the Gravity forms
Merge Tags in gravity forms are the tags that are used to dynamically populate the field values in the form content in gravity forms like IP address, browser name, logged in user name etc . There are many merge tags
WordPress | How to retrieve query variables in plugins
Suppose the URL contains query string for example www.mywebsite.com/sme_page?q=12 then the value of query variable can be retrieved in PHP using the get method such as: <?php echo $_GET[‘q’]; ?> While creating a plugin for WordPress, to retrieve a
Jquery | Perform dynamic operation on load of Datatable
Functionality needed : Once the datatable is completely loaded using ajax, I want to show second column only if role of the logged-in user is admin, else hide it. What we need to do is, call API “initComplete” in datatable’s
