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 hema.divakar

hema.divakar

How to automatically get the contents of a website using the PHP cURL library?

Zyxware default image4
Technical Solution | 2 min read
We needed to get the description of a site automatically from its url after parsing the HTML markup, for one of the Drupal sites we were working on. This is a task that can be easily accomplished by using the PHP curl library. Read on to know how to use a php script and curl to download the contents of a website.
Read more

[Drupal] How to get profile picture uploading option programmatically during registration

Zyxware default image2
Drupal Technical | 3 min read
In Drupal we have got a module namely Registration with Profile , to bring an option to upload the profile picture. But here let us gather some information on how this can be brought programmatically. So let's start up with Form API. Following are the steps to get the profile picture uploading option in registration form. Step 1 : In registration form alter :
Read more

[Drupal] How to wrap the comments in a collapsible fieldset?

Zyxware default image3
Drupal Technical | 3 min read
Comment module in Drupal makes it possible for users to comment on the nodes we create. And also the users get a chance to discuss on the topic as well. In this article I try to demonstrate how the comments for a node can be wrapped inside a fieldset. Isn't it a good choice? If you haven't done it, now will be a good time to do so.
Read more

[Drupal] How to get the number of words in a node?

Zyxware default image3
Drupal Technical | 2 min read
Hey, are you the admin of your site? Do you want to get the total number of words of your node on double click? Well then, here is an article on how to get the word count of your nodes at your mouse tip in a few simple steps.
Read more

[Drupal] How to get a block inside a node in Drupal 6?

Zyxware default image2
Drupal Technical | 2 min read
Getting a block in front page or in all other pages is easy ie, we only need to print that variable in our template files namely page-front.tpl.php or in page.tpl.php.In certain cases we may need to print a block in certain nodes. This can be done by the following code :
Read more

[Drupal] How to theme a particular region of block in Drupal 6?

Zyxware default image3
Drupal Technical | 2 min read
Every one will be familiar with the template files.Now lets see the case to theme a block. Here we can use block.tpl.php for theming the block but what if we want to theme the block specifically by a region?In one of my recent projects I need to theme the block in a specific region, I cannot use block.tpl.php as this may cause all other blocks to change.While digging a bit deeper I found out that this can be done easily by using a template for that particular region.Let's see how it can be done so.
Read more

[Drupal] How to get more advanced search forms in drupal 7?

Zyxware default image1
Drupal Technical | 3 min read
Getting search fields inside a view is easy that is adding a field in 'Filter :Criteria' and exposing it, so we get the search field and now you can search based on that field.And when we require more than one field to be searched we need to include it by adding the fields in 'Filter Criteria' and exposing it , which looks weird when we have 3 fields in a single search form.So what if we have an option to make it a single field say we have to search the contents based on 3 fields with a single search field.Isn't that interesting?Here comes the use of 'Finder' module which is safe and sound.
Read more

[Drupal] How to get related Posts of the author by Drupal views

Zyxware default image1
Drupal Technical | 3 min read
As Drupal sites are becoming increasingly flexible, it is obvious to list the nodes related to logged in user. This can be done with the help of PHP and MYSQL codes. However, we need not waste time if have the views module - the perfect icing on the cake !!! So, let's narrow down here.
Read more

[Drupal] How to give images for menu items

Zyxware default image3
Drupal Technical | 2 min read
In Drupal, while adding a menu item, we can give it a title, description, path and such details. It is not possible to give images for these menu items at the time of creation, by default. If you are looking for a solution, then read on. This particular task can be achieved by overriding the theme function theme_menu_item_link() in our theme's template.php Use the below function in your template.php :
Read more

[Drupal] How to reset the user credentials in Drupal site

Zyxware default image4
Drupal Technical | 2 min read
Forgetting a password is a usual scenario. The first thing that may come to your mind when you forget the password of your site is resetting it. If it is a live site, then we can ask to send a new password by mail. But what is if it is your local site where no mails are configured? well, I know a trick or two to solve this programatically. If you too want to know, then read on. Step 1 : Create a new file and copy the below script in that.
Read more
  • Load 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