Quantcast
Channel: timonweb.com: posts tagged as drupal 7
Viewing all 17 articles
Browse latest View live

Fixing Views' Scroll to Top When You Have a Fixed Header

0
0

Drupal Views offers us a cool feature: ajaxified pagers. When you click on a pager, it changes the page without reloading the main page itself and then scrolls to the top of the view. It works great, but sometimes you may encounter a problem: if you have a fixed header ...

Read now


Replacing Menu Item Visibility module with custom "in code" solution

0
0

I'm a big fan of fighting with Drupal's inefficiencies and bottlenecks. Most of these come from contrib modules. Everytime we install a contrib module we should be ready for surprises which come on board with the module.

One of the latest examples is Menu item visibility (https://drupal.org/project ...

Read now

Adding a custom extra field to entity / node display

0
0

I had a case recently, where I needed to add custom data to the node display and wanted this data to behave like a field, however the data itself didn't belong to a field. By "behaving like a field" I mean you can that field at node display settings and ...

Read now

How To Force Search API To Reindex a Node / an Entity

0
0

By default Search API (Drupal 7) reindexes a node when the node gets updated. But what if you want to reindex a node / an entity on demand or via some other hook i.e. outside of update cycle? Turned out it is a quite simple exercise. You just need to ...

Read now

Happy birthday to me and Devel form debug module to you all

0
0
I’m turning 32 today. People love birthdays, to me it’s just another line number in a messed stack trace output (philosophy mode enabled).
 
Two years ago I released a drupal module called Get form id (deprecated from now on) that does one small task - it tells you any form's id ...

Read now

Default Search API Sorts Per View in Drupal 7

0
0

It's been a while since I've written a post here (especially, Drupal-related). But today I have something interesting to share.

There's a module called Search API sorts (https://drupal.org/project/search_api_sorts) that provides custom sorts and a global sort block for Search API. The module itself is ok, but ...

Read now

Add reCaptcha to your Drupal 7 forms programatically

0
0

If you want to add Google's reCaptcha (https://www.google.com/recaptcha/intro/index.html) to your Drupal 7 forms programmatically you need to follow these two steps:

1) Install and enable captcha (https://www.drupal.org/project/captcha) and recaptcha (https://www.drupal.org/project/recaptcha) modules. The best ...

Read now

Adding a custom extra field to entity / node display

0
0

I had a case recently, where I needed to add custom data to the node display and wanted this data to behave like a field, however the data itself didn't belong to a field. By "behaving like a field" I mean you can that field at node display settings ...

Read now


How To Force Search API To Reindex a Node / an Entity

0
0

By default Search API (Drupal 7) reindexes a node when the node gets updated. But what if you want to reindex a node / an entity on demand or via some other hook i.e. outside of update cycle? Turned out it is a quite simple exercise. You just need to ...

Read now

Happy birthday to me and Devel form debug module to you all

0
0

I'm turning 32 today. People love birthdays, to me it 's just another line number in a messed stack trace output (philosophy mode enabled).

Two years ago I released a drupal module called Get form id _(deprecated from now on)_ that does one small task - it tells ...

Read now

Default Search API Sorts Per View in Drupal 7

0
0

It's been a while since I've written a post here (especially, Drupal-related). But today I have something interesting to share.

There's a module called Search API sorts (https://drupal.org/project/search_api_sorts) that provides custom sorts and a global sort block for Search API. The module itself ...

Read now

Add reCaptcha to your Drupal 7 forms programatically

0
0

If you want to add Google's reCaptcha (https://www.google.com/recaptcha/intro/index.html) to your Drupal 7 forms programmatically you need to follow these two steps:

1) Install and enable captcha (https://www.drupal.org/project/captcha) and recaptcha (https://www.drupal.org/project/recaptcha) modules. The ...

Read now

Adding a custom extra field to entity / node display

0
0

I had a case recently, where I needed to add custom data to the node display
and wanted this data to behave like a field, however the data itself didn't
belong to a field. By "behaving like a field" I mean you can that field at
node display settings and …

Read now

How To Force Search API To Reindex a Node / an Entity

0
0

By default Search API (Drupal 7) reindexes a node when the node gets updated.
But what if you want to reindex a node / an entity on demand or via some other
hook i.e. outside of update cycle? Turned out it is a quite simple exercise.
You just need to …

Read now

Happy birthday to me and Devel form debug module to you all

0
0

I'm turning 32 today. People love birthdays, to me it 's just another line
number in a messed stack trace output (philosophy mode enabled).

Two years ago I released a drupal module called Get form id (deprecated from
now on)
that does one small task - it tells you any …

Read now


Default Search API Sorts Per View in Drupal 7

0
0

It's been a while since I've written a post here (especially, Drupal-related).
But today I have something interesting to share.

There's a module called Search API sorts
(https://drupal.org/project/search_api_sorts) that provides custom sorts and
a global sort block for Search API. The module itself is ok, but has one …

Read now

Add reCaptcha to your Drupal 7 forms programatically

0
0

If you want to add Google's reCaptcha
(https://www.google.com/recaptcha/intro/index.html) to your Drupal 7 forms
programmatically you need to follow these two steps:

1) Install and enable captcha (https://www.drupal.org/project/captcha) and
recaptcha (https://www.drupal.org/project/recaptcha) modules. The best way to
do this is to use drush: drush en -y recaptcha

2) Add this snippet to …

Read now

Viewing all 17 articles
Browse latest View live




Latest Images