It is apparent that we modify any form in drupal by implementing hook_form_alter(). But there are cases when even the hook_form_alter() cannot offer a solution in altering the form fields. I recently faced such a situation, when I was trying to empty the labels in the password & confirm password fields in the user registeration form in Drupal 7.
No Drupal Developer needs introduction about Drush. The power and features of Drush has made the job easier for many developers. Drush by default has a list of commands that we can make use of, the entire list can be seen here. But apart from that, the Drush does has the feature to allow custom commands.
Creating Vertical tabs in Drupal 7 forms is an easy task, but to accommodate the design needs we at times have to use different style. For instance, horizontal tab might be needed. The same makes more sense for shopping cart check out like pages. And here the need for looking solutions outside the Drupal core arises as horizontal tabs are not readily available in core.
Once the installation of a Drupal instance is done, I guess almost 90% of the developers would first download "What You See Is What You Get". Inline formatting, Text format options, Hyperlinks, Media and iframe support all these makes WYSIWYG a heaven to opt first after installation. No developer would have the heart to say any shortcoming in this feature rich but yet simple module, I am no exception to this too !
Panels provides great salvage to those lost in the sea of page partition and block placement. It might take more than one blog to completely explain all the concepts, merits and advantages of using panels module in our site. But those who use Internationalization might differ a bit with my statement ! Yes, One of the shortcomings that I noticed recently in the panel's module is its ability to deal jointly with the Internationalization.
QuizTabs module is a very nice addition to bunch of drupal modules. This module allows you to create blocks of tabbed content, specifically views, blocks, nodes and other quicktabs. I had a different requirement where I needed to use dynamically generated content in different tabs. I ended up in creating quicktabs content from code.
Lets assume, we have a page and content is generated from code something similar below,
The topic looks so simple isn't it? It looked simple to me when I ran into such a kind of need. The first and foremost PHP function that I thought to get this done was array_combine. It did produce the desired result, the below piece of code shows my implementation,
Drupal family members would be well aware about the power of Feeds module. More than many times, thereof has served us in creating new contents with less work and time. Recently I looked the feeds module from a unseen angle, "How to create feeds importer from my custom module?". To make my requirement clear please visit Quiz Questions Import module's page and if possible use this to get a clear picture about what this blog can do for you.
Recently I came across a requirement where I went through all the features in Drupal HTML tables. At times I was startled to know the efficacy of the tables in Drupal 7. I would like to share the the same road trip I went through in Drupal 7. Let's begin with a step-by-step process to create tables inD7
Recently I had a requirement to create a custom content type. I was no new to this as I had previous such encounters. Post creation of this content type I noticed that the fields were misplaced while creating a node from the same. At first glance it looked a cakewalk shot as we are aware about the default configuration.