General

Zyxware default image2
| 4 min read
Suppose you have Drupal website where user can purchase ticket through online ticket platform. It allows two types of users such as Registered user and guest user. System will automatically create an account for guest user using email address. Registered users have the permission to manage personal profile.
Zyxware default image2
| 2 min read
In the near past, I had a requirement to add inline CSS to the content that comes after submitting the form. Let me explain the context a bit, I have a form, only on its successful submission, a block need to be displayed. If the submission failed, all I need is to return the form and error message back.
Zyxware default image1
| 4 min read
A constant is a name for a simple value, which will not change at the time of execution. The main advantages are ranges from setting configuration values to saving integer values to be checked as strings (like status codes). PHP provides functions for constant values, which make the usage more easier. These functions are important in Drupal too, since we may need those when working in Drupal projects.
Zyxware default image3
| 3 min read
Social media marketing plays a significant role in promoting a company's products, driving more traffic to the website, and attracting potential customers. Needless to say, if your social media strategy is implemented correctly, it can bring a whole lot of profit to your business.
Zyxware default image2
Information architecture (IA) refers to the practice of categorizing, organizing, and labelling websites to enhance usability and findability. It simply means a logical structuring of content and information that creates sense for the audiences. The labelling should be clear, concise, and suitably descriptive. Finally, the goal is to create usable and easily findable content structures from complicated sets of information.
Zyxware default image3
| 4 min read
While working on a Drupal site I came across this issue that if my site is having many feeds and what happens if many users try to access this, which can possibly make our site slow. One of the possible solution is that we could create another domain for our feeds so that users can access the feeds from that domain. Also you can refer the article How to create a custom feed on Drupal 7 site using views to know how to create feeds using views
Zyxware default image2
| 2 min read
Do you want to add a user to an organic group programmatically in Drupal, then here is a solution. In one of my Drupal module I had a requirement to add users programmatically to an organic group. So I have created a custom function in my module for this purpose. This uses the function og_group to add a user entity to a group. Refer the following code. Remember that, you can add only an existing user to a group. It will not create a new user.