Skip to main content
Home
  • About
  • Services
    • Digital Experience
    • Digital Business Consulting
    • User Experience Design Services
    • Website Analytics and Consulting
    • Website Personalization
    • Website Personalization Demo
    • Platform Engineering
    • AI Enablement Services
    • Drupal Development Services
    • Drupal Support Services
    • Marketing Technology
    • Quality Assurance Services
    • Impact Services
    • CTO as a Service
    • Conversion Optimization
    • Talent Services
  • Pricing
  • Resources
    • Website Personalization
    • Drupal Blog
    • Articles
    • Case Studies
    • Developers Corner
  • Careers
    • Culture
    • Job Openings
    • Growing@Zyxware
Contact Us
Contact Us
Profile picture for user rohith.pv

rohith.pv

[Drupal] How to validate a regular expression in Drupal

Zyxware default image2
Drupal Technical | 1 min read
Consider a case where you want to enter regular expression and validate it. Here I will show you how to write a validation function. For example consider YOURMODULE_admin_settings_validate function In my example I am using a form and a submit button.From $form_state array you can get the input value after submit. You need this value to match with the string. See the code below.
Read more

[Drupal] [Drupal 6] How to redirect anonymous users to a Login form on access denied pages?

Zyxware default image3
Drupal Technical | 3 min read
In this article I am going to tell you how to redirect anonymous users to a login form on 403 access denied pages in Drupal. There are some contributed module that provides you this feature but, if you really want to create a custom one for your site just try this. Here I will show you a PHP snippet that redirecting to login page for anonymous users on access denied.
Read more

[Drupal] How to use OR clause in hook_view_query_alter in Drupal 7

Zyxware default image1
Drupal Technical | 3 min read
Sometimes we use Drupal view_query_alter to add or modify the view's where clause. To add a new WHERE clause we may use add_where property. Whenever we use an add_where, it will create a WHERE clause along with an AND condition. There will be some cases were we need to use OR instead of AND. So if you want to know more about how to use OR clause in hook_view_query_alter, read on to know more.
Read more

[Drupal] How to theme the pager created by Drupal views

Zyxware default image1
Drupal Technical | 1 min read
When I was working on a website in Drupal 6 I wanted to theme the pager provided by views in a custom way. Finally I found a solution for the issue. If you also want to theme the pager in a View for your Drupal website you can follow the method below.
Read more

[Drupal] How to create a sandbox account in PayPal ?

Zyxware default image3
Drupal Technical | 3 min read
Recently PayPal changed their policies and creating a sandbox account was a bit confusing for me, when I wanted to test my ubercart site. However, I created one and thought of writing about it in case some one needs it. So, here it goes.
Read more

[Drupal 7] How to add next and previous navigation links to switch between contents

Zyxware default image3
Drupal Technical | 3 min read
If you want to switch among contents or nodes in Drupal 7 website, you can do this by adding navigation links(PREV and NEXT) to that particular content. This will help you to see contents without going to any other link. There are contributed modules in Drupal for this but if you want to know how this can be created programmatically, read on.
Read more
Footer Logo
  • United States
  • Australia
  • India
Virginia Office - 457B Carlisle Dr Suite 205, Herndon, VA 20170
Phone: +1 201 355 2515
Business Inquiry? Contact Us
Looking to join our team? Check our careers page
8 Excelsa Way, Hillside, Melbourne, VIC 3037, Australia
Phone: +61 450 405 000
Business Inquiry? Contact Us
Looking to join our team? Check our careers page
SBC 2205, II Floor, Yamuna Building, Technopark Phase III campus, Trivandrum - 695581
Phone: +91 8157 99 5558
Business Inquiry? Contact Us
Looking to join our team? Check our careers page
Footer main menu
  • Home
  • Articles
  • About
  • Investor Centre
  • Contact
  • Careers
  • Learn Drupal

Footer Secondary menu

  • Verticals
    • Retail
    • Education
    • Public Services
    • Media
  • Drupal Services
    • Drupal Development
    • Drupal Migration
    • Drupal Support
    • Hire a Drupal Developer
  • Digital Services
    • Universal Analytics Backup
    • Website Analytics and Consulting
    • Website Personalization
    • CTO as a Service
    • Marketing Technology
ZYXWARE

Privacy. T & C . © 2025 Zyxware Technologies Pvt. Ltd