Block Form

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Phase I

Create module which provides new block with static text and form. The static text value should sit in a variable defaulted to "Hi visitor". The form should contain two text fields "First name" and "Last name" and one checkbox "Show in bold". When one submits form system message "Welcome to Drupal, [first name] [last name]!" should appear. If checkbox is checked message should be bolded.

First and last names may contain only alphabetical chars, space, dash (-) and apostrophe (‘).


Phase II

Facet API Pretty Paths Panels plugin

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

Facet API Pretty Paths doesn't always play nice with panels, and will result with "node/xxx" paths, instead of admin-assigned aliases.

This module fixes this with a simple one-line adaptation.

Enable the module, then configure it at: /admin/config/search/facetapi_pretty_paths

Link: onclick attribute

Component type

module

Maintenance status

Development status

Downloads

475

Component created

Component changed

Adds an "onclick" attribute to link fields. The attribute is configurable on a per field basis (from the field widget settings form).

Usage

- Download and install the module as usual.
- Enable the onclick attribute by editing a link field from the "Manage Fields" page of your content type (or any entity bundle type for that matter).
- Visit the add/edit page for your content type and behold your onclick attribute field!