Maintainers monitor issues, but fast responses are not guaranteed.

Custom Page Example

This module is a very simple example module that shows how to make a custom page callback.

Theme HTML Element

This module is proof-of-concept reference for example only, you probably don't need it.

This is just a slightly more useful version of theme_html_tag() , or the render element '#type'=>'html_tag' that exists in core.

It actually recurses and renders child elements if you set up a render array that uses this as a #type.

Core '#type'='html_tag' is a deadbeat dad : does not support its children.

Motivation

The Drupal Form API and render array are almost feature complete, but it still
cannot be used as a full page builder.

Using '#type'=>'container' in FAPI allows children, but will always make the container a div.

Using #type or #theme html_tag will allow you to use arbitrary tags types,
but will NOT recurse into element_children() as you would expect.

Using '#theme'=>'html_tag' will sometimes render singletons (eg for iframe)
which can break layout.
A workaround for this can be to set '#value'=>''
@see theme_html_tag() which is pretty flaky.

Neither seem to support setting the @id automatically either, though it
can be shoehorned in under #attributes.

This element type is the missing link that makes FAPI and render work as
designed.

Proof-of-concept

You should not HAVE to use this element as a dependency, as usually you can

TinyPNG

Provides TinyPNG integration.

What does TinyPNG do?

TinyPNG uses smart lossy compression techniques to reduce the file size of your PNG files. By selectively decreasing the number of colors in the image, fewer bytes are required to store the data. The effect is nearly invisible but it makes a very large difference in file size!

Why should I use TinyPNG?

PNG is useful because it's the only widely supported format that can store partially transparent images. The format uses compression, but the files still can be large. Use TinyPNG to shrink images for your apps and sites. It will use less bandwidth and load faster. For more information about TinyPNG please visit https://tinypng.com/.

For more information about TinyPNG please visit https://tinypng.com/.

[D7]Inserzioni

advertisement table

Inserzioni is a module developed by Antonio R. and Alessia C. in collaboration with University of Naples - "Parthenope".

Nodereference Embed

If you have ever faced the problem of referencing content from the node's body text, you might have already tried various modules, e. g. like Node Embed, LinkIt or Insert. However, if you want to have a "real" reference - and not just the rendered output - like CCK's nodereference, you should have a look at this module.

Nodereference Embed provides a configurable and themeable (pseudo) token that links other assets, such as a node or user. Currently, it can be inserted and interpreted in the node's body text. When viewing the node the token is also rendered by its actual theme output. This functionality is comparable to Wordpress' shortcode API. So, finally what you get with this module is a Macro code in Drupal's token style.

Usage

Basic usage: [node id=NID] and [user id=UID]
Advanced usage: [node id=NID type=[default|link] arg1=XXX arg2="XX Y"]

Views Data as CTools Context

This module provides CTools Context Plugin which provides data from view (value of one certain field (first field now) from one certain result row (now only from first row) of curtain view)

Pages

Subscribe with RSS Subscribe to RSS - Minimally maintained