fields

scottrigby's picture

Field analytics

Check out http://drupal.org/project/field_analytics for another way of analyzing on data for not only Drupal nodes, but any fieldable entity type.

As a class-based field reporting API, Field analytics makes it easy to add additional reports per field type.

There is a submodule for Highcharts included (tying with the new 7.x-2.x Highcharts API), which adds charts visualization to the default tabular reports. This submodule is a good example of how to extend Field analytics with additional reporting on field usage and data.

Read more
johan Rautio's picture

multiple fields from one node in views & views slideshow D7

So I hope someone can help me out here.
I have a view slideshow block, set to display fields all from one node.

One of the fields is a multi-value image file field with a max of 4, and one is a media field with media:youtube and media:Vimeo limited to 1.

My problem is getting those fields to display as separate slides.
The images are fine, but the media field will display on every slide as well rather than as a separate slide.

I can't for the life of me figure out how to get it working as I want to.

Read more
no_longer_active_13's picture

How to do a magazine style layout short

What I wanted to do was be able to layout images on a page in such a way that I could control the placement and size. I couldn't reallly find anything on this for Drupal 7. This will only work for one image size and image per node, but that was all I needed. However in panels you will be able to combine images. You will need to know how to work with panels, views, and fields (core) for this.

Read more
akanik's picture

Manipulating view with php

I've come up against something that has me stuck.

I've found that in working for a news organization, certain things (most things) need to be precise. For example, the bylines for the stories. When there are multiple authors or multiple publishers, they syntax must be exact. It cannot be writen

By Laurie Snyder, Joanne Hamilton, Courntey Hunter | PublicSource | July 11, 2012

It must be written

By Laurie Snyder, Joanne Hamilton and Courntey Hunter | PublicSource | July 11, 2012

I have accomplished this using the following equation:

Read more
jlmainguy's picture

How to get a custom group field with Views?

Hi,

I was looking for a way to retrieve a custom field from a group in a view?

For example, I have my Group content type in which I added a custom field (say the «Group Color» field).

Then, I wanted to build a view in which I could show the current node's group «Group Color» field. I was able to retrieve the current node's group ID, but not the custom field.

I built the view showing any type of node and used the OG Groups relationships to ge the current node's group ID.

Anybody has an Idea on how to do this?

Thank you,

Jean-Louis

mrweiner's picture

Problem with formatting fields

Two questions that I guess are both a part of one bigger idea. When creating a content type, I've been trying to figure out how to both indent a field and create a line break after a field both by default. For indenting I have tried adding spaces before the field name, but because it's empty space they are disregarded and displayed as normal. For the line break, I've tried adding a custom code field with br or p, and simply adding a blank field, but in both situations as there is no text to display, the field is not displayed at all. Any suggestions?

Read more
torotil's picture

Select nodes by complex taxonomy expressions

For a client I'm working on module that allows to display a taxonomy based selection of nodes (as a view) in another node's content. This is accomplished in three steps:

  1. a field that can be attached to a node. For now it allows to store a taxonomy selection like: (tid1 AND tid2 AND …) OR (tid3 AND …) OR …
  2. a views argument handler for nodes that filters nodes by a tid expression like: (IN(t1,t2,…) AND IN(t3,t4,…) AND …) OR (IN(t5,…) AND …) OR …
  3. a field formatter that uses the selection of 1. to feed it into a views argument from 2.
Read more
wikusdp's picture

Send mail when field has new item

Hi there,

I think what I'm trying to accomplish is pretty straight forward, but I just can't seem to get it to work properly.

The setup is as follow:

  • I am using Drupal 7
  • I have a field on my user accounts where I can add files my users can download when they have logged in
  • There is no limit to the amount of files that can be added

What I am trying to accomplish:

<

ul>

  • Administrator adds a new file to the user's account via the file field.
  • Read more
    bohemier's picture

    Besoin d'aide avec Views Relationships et Taxonomy

    Cela fait quelques jours que je cherche comment accomplir quelque chose qui me semble facile mais je n'y arrive pas...

    En bref, avec Drupal 7, j'essaie de créer une Vue qui contient des champs de deux types de contenus différents et dont la relation se fait avec les taxons et l'utilisateur courant. Voici les détails:

    • Vocabulaire de taxonomie: Type d'exercice - avec termes (ex: prévention, respiration, étirement)
    • Type de Contenu: Exercice - contient des termes de la taxonomie Type d'exercice
    Read more
    leon2004's picture

    modificar php para cambiar de posicion lo fields

    Os dejo este fragemento de codigo por si me podeis ayudar:
    
    
    
    <?php
    print theme(&#039;grid_row&#039;, $header, &#039;header&#039;, &#039;full-width&#039;, $grid_width);
    ?>
    <?php
    if ($title):
    ?>
    <h1 class="title">
    <?php
    print $title;
    ?>
    </h1> <div class="hr"></div>

    Esta es la cabecera a sido muy facil cambiar que el titulo aparezca en vez de en el cuerpo sea en la cabecera .
    lo que yo pretendo es que se vean algunos fields en la cabecera y otros en el cuerpo,
    actualmente todos los field se ven en el cuerpo.

    Read more
    Subscribe with RSS Syndicate content