A Payment gateway tends to offer multiple types of payment services, that provides onsite and offsite options. Onsite payment is processed by a third party API using web services with the information gathered from our site through a checkout form (For example : Credit card/Debit card credentials). Offsite payment method, on the other hand, processes data entered in the payment gateway page. It redirects the users to the processing page of the payment gateway using the checkout form. After the payment is completed, the user will be redirected to the payment page, from where the user can move forward or backward in the checkout process. Here, let's take a look at the creation of custom offsite payment gateway module.
To add a newsletter signup form to your website, you just need to follow these simple steps. Follow these steps in the order they are provided and you could easily embed newsletter sign up form to where you want on your website.
Drupal community is eager to experience working with Drupal 8. Let us learn how we can install Drupal 8. Everyone may have faced software dependency issues while installing Drupal 8. Refer this article to resolve those issues. While installing Drupal 8 you will be guided through several screens to configure the database, add the site administration user account, and to configure basic web site settings like location, time zone, etc.
You all know that, unlike a normal website, an e-commerce website sells its products or services online. Customers visit these websites not only to gather information but to also make a purchase, and this calls for an extremely user-friendly experience.
Have you ever found it difficult to access a private file within drupal, then read on. Below are the steps I followed to create and access the private file.
We would have came across many Drupal sites run down into performance issues and we always start blaming the Drupal framework or MySQL queries, PHP versions. You need to debug into the actual cause for the issues rather than pointing on some non-even solutions.
In one of my recent project I had a task to create a content type with a select list field of all image styles. But how can we get all image styles in Drupal? In Drupal there is an option to create different image styles using a module 'image'. Image module allows users to upload images into Drupal with proper permissions along with this its thumbnails and additional sizes are created automatically. Image module also gives an image_styles() function that can be used to get all image styles and their settings.
In this article will be explaining how to store user IP address to a custom table during registration and display the result using views.
The excitement of the Drupal 8 launch is yet to subside and the buzz it has created is truly phenomenal. However, the users of Drupal 6 are worried about the impact and the challenges they may have to face due to this new release. Come 24 February 2016, Drupal 6’s EOL (end of life) will be a reality and will no longer be supported by Drupal.
The introduction of a brand new Drupal 8 is all set to give developers a powerful yet flexible foundation that promises a brilliant experience to users of the web, commerce, and mobile. Everyone who supports online content, whether you are an IT developer, content manager, decision maker, or a site administrator, is surely in for a wonderful digital showcase.
The introduction of Drupal 8 is sure to create a flutter in the web development circles; this latest version of Drupal, with cutting-edge features, is certainly promising some radical changes. Drupal 8, which embraces a variety of technologies including Symfony, Backbone, Twig, and YAML, is all set to create a revolution in the crowded CMS market.
Configuration management is the task of tracking and controlling changes in a website. Site owners often want to have deeper visibility and control over configuration changes for maintaining integrity and traceability throughout the lifecycle of a website.
With Drupal 8 just around the corner, every Drupal developer is in a nirvana of excitement and eagerness. Drupal keeps getting better and better every day and Drupal 8 will make website development and management a five-finger exercise, because this latest version of Drupal has included some amazing and potent Symfony components to serve the big businesses better.
Drupal 8 is bringing in numerous enhancements and features which will support editors in creating content on a day-to-day basis. The newest version of Drupal is set to bring a sea change in the entire experience of Content Authoring.
[Drupal] How to retain the default values of step 1 form after successfully submitting the step 2 form of a two step form
To keep the default values of the step one form after successfully submitting the step 2 form, here is an easy way. Just pass the form state values of step 1 form as query parameters to the same page on submitting step 2 form. Set the default values of step 1 form as, first check whether the form_state value is set. If yes, set the default values of step 1 form fields with the form_state values. Else check the URL query parameters, whether this variable is set. If yes, then set the default value with that value.
It would be an understatement to say that the implementation of HTML 5 in Drupal 8 is much-awaited. The introduction of HTML 5 is a big step for the Drupal community, as nowadays, with the proliferation of new-age devices, websites are no longer viewed only on desktops but in mobile phones, smart phones, and tablets.
The web development world is buzzing with the news of the launch of Drupal 8, the world’s most loved CMS. With an amazing array of more than 200 new features and improvements, the upcoming release of Drupal 8 is sure to win hearts. Drupal 8, the latest version of Drupal slated for release this month, is touted to be a boon for API writer and application builders and of course, all those looking for a smoother mobile interface.
When you try to set up a local development environment from a drupal dump which includes just the code base and the database without the Drupal files folder you will run into the issue of missing files. Drupal would think that it still has all the files in the Drupal files folder and would create links / process images as usual. This would however lead to a lot of unexpected errors in a lot of unexpected places. If you really do not care about the content in these files and want to recreate the missing files here is how you do this.
We can use l() to add links in our Drupal pages. However, while using the output of drupal_get_destination() in the l() as link, it might end up in the wrong functionality. If the drupal_get_destination() returns a url with parameters involved, then using it directly in the l() would cause the link to redirect to the wrong page.