Tag Archives: Drupal 7

Drupal 7 – Update multiple nodes at once in a Views

Sometimes we may want to update multiple nodes at once. Views Bulk Operations may help if you want to set the same value for a field of multiple nodes. But if you want to set different values among a set of nodes, then Views Bulk Operations could not help.

In Drupal 6, the Editview module may help but unfortunately there is no Drupal 7 version. An alternative solution could be done by editablefields module.

1. Download and enable the module. (I used the 7.x-1.x-dev version)

2. Create a view with table format. (This is not necessary but better user interface)
Continue reading Drupal 7 – Update multiple nodes at once in a Views

Drupal 7 – Popup login from

There is a few modules which could turn the Drupal login form in a popup.
Drupal Forum – how to display user login in a popup?

Among those suggestions, i would prefer using the Modal forms module.

1. Download and enable the module.
Continue reading Drupal 7 – Popup login from

Drupal 7 – Create Newsletter for specific role

Simplenews is a great module for newsletter feature in Drupal. You can find more info about it below.

 

QPon has been launched for more than a month but still not attractive to the shop owners in Hong Kong. Currently i have around 20 business users but only a few of them have uploaded their coupon. So i am thinking to create newsletter specific for them. This could be done easily by the Simplenews Roles module.
Continue reading Drupal 7 – Create Newsletter for specific role

Drupal 7 – Field Permissions for Node Title

Previously we talked about how to set the Field Permissions on role level.
Drupal 7 – Set field permission by role using Field Permissions

As i have mentioned, it does not work for the default node title field. One solution is to hide the node title field and set it automatically. This could be achieved by the Automatic Nodetitles.

1. Install the module.

Continue reading Drupal 7 – Field Permissions for Node Title

QPon – Made by Coupon

Made by Coupon
QPon is an online coupon platform for both shop owners and customers. The motivation of this project is to provide a free platform for the shop owners to promote their brand and products by offering discounts to customers. On the other hand, customers could find what they need in QPon.

One of the main feature which differentiate QPon from other typical coupon websites is the presentation. On the homepage, you could find many coupons flowing in a pool. Here, we name the coupon as QPon. The size of the QPon depends on the redemption ratio. The more people redeem it, the bigger it is until it meets the redemption quota and every QPon has equal probability could be viewed by the potential customers.

Continue reading QPon – Made by Coupon

Drupal 7 – Customize the exposed filter selection list

Yesterday we have talked about how to use selection list for selecting Entity reference in Views exposed filter.
Drupal 7 – Selection list for Entity reference in Views exposed filter

Now i want to have more control on the selection list. For example, i have a content type called competition and i want to limit the number of options in the Entity reference selection list. In this case, we have to create a custom module and alter the views_exposed_form.
Continue reading Drupal 7 – Customize the exposed filter selection list

Drupal 7 – Selection list for Entity reference in Views exposed filter

When you want to set an Entity reference field in Views exposed filter, it only allows free text input filter. But i want to have a selection list instead of a free text input.

Just simply go to the field setting page @ admin/structure/types/manage/<content-type>/fields/<field-name> and check the Render Views filters as select list option. Continue reading Drupal 7 – Selection list for Entity reference in Views exposed filter