The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
22 views

dynamically choose filters/fields in an aggregation table on a View

I need users to customize which kind of aggregation to apply to a table (view). Example: let´s choose counts of species X and Y in an area. This means apply two filters. I also want to ...
0
votes
1answer
14 views

Views images as label on a table [duplicate]

I am trying to create a table in views. My main problem is that I want to have a image in the label "CONTENT" so far I've managed to add a space to the field and a custom ...
0
votes
1answer
16 views

Form table pager

I'm building a module that displays a dynamic list of Content types that has some extension. I'm trying to add a Pager (like in Views). But all examples that I found uses db_select like: $query = ...
0
votes
2answers
42 views

How to display fetched data in the form of html table?

I have created a custom module & used below code to display data from Database. But I want to show that data in the form of html table. Please help. <?php function custom_table_menu(){ $items ...
0
votes
0answers
13 views

Views: Table with secondary rows

I'm trying to use the module Table with secondary rows since I thought that it sounded like a good option. What I wan't to do is something that looks like this: [CO][ROW1] [L1][ROW2] I just don't ...
0
votes
2answers
26 views

How to use tables that are claimed by other modules in drupal?

How to use tables that are claimed by other modules in drupal? I have a table in my database named "dictionary" used by a module for translation . now i want to use that table in views to show all ...
0
votes
1answer
44 views

Hide the image “file-icon”

I have a view in D7 that creates a table of meeting dates, agenda files, minutes, and other attachments which are all pdf's. I like the view so far but I don't want to see the image that is in the ...
0
votes
1answer
16 views

Compile files from URLs in table as zip

I've got a Views table with a column displaying links to files (images, pdf's etc.). I've got a button below the table that exports the entire table. I need another button that should start a .zip ...
-3
votes
3answers
55 views

Inserting data into database through Module? [closed]

I want to create custom table and insert data into it. Then I want to use view module to retrieve that data from that table So Is their any Module or any other methods to do that ?
0
votes
1answer
25 views

How to make a image url active in Views Table

I've got a table with a column for images. The field display is link (see screenshot). For some reason it doesn't display as an active link. Any ideas on how to accomplish that?
0
votes
3answers
55 views

Styling views table - Toogle row class on click [closed]

I have a view which is shown as table. I would like to add a css class to entire row, once the user has clicked somewhere on the row. With views i added '.baza-pregled-strank-row' class to each row. ...
0
votes
1answer
17 views

Cached variable remains after truncating cache table

I updated a row in the variables table to change the value of a variable. Then I truncated the cache table. But a call to variable_get() still returns the original value. I thought that the ...
0
votes
0answers
36 views

Associating fields in a Drupal 7 views table

I'm attempting to make a content type to be displayed in a views table using Drupal 7. Each content of this type should have a title, associated groupings, and a description. Each associated grouping ...
0
votes
1answer
85 views

How to add class to specific TD in view table?

I have a view created /admin/structure/views and it is a table. How do I add a class (f.ex. "bgred") for a specific TD (f.ex "title") in this table without using JavaScript ? I mean I have some ...
0
votes
1answer
37 views

Finding data using MySQL queries in the Node tables

Outside of the Drupal system I am trying to get user data based off of the user table and export this information into a CSV. I'm not quite understanding how the Node table system works and where to ...
0
votes
0answers
18 views

Views relationships causes duplicates

I have a view that shows a list of students and their associated classes (which is an entity reference multi value field). If you look in the image you see it comes out fine in the first view ...
1
vote
2answers
39 views

Is it possible to provide content editor ability to create sortable table?

I know how to create a sortable table using theme('table', $headers, $rows) but is it possible to create a functionality so that a content creator can create a sortable table inside a content. ...
0
votes
1answer
27 views

Add class that surrounds all tables (or any other node,field etc…) using preprocess template?

I have been able to find information on adding classes to tables and other items in my pages, however, I cannot find any information on wrapping the entire table for example in a div through the ...
0
votes
0answers
13 views

Why do I have 0 orphaned tables when I try to adopt tables?

I'm following the instructions here: https://drupal.org/node/1658784 in an attempt to create an event RSVP response listing based on webform submissions. I have the correct modules installed and ...
0
votes
2answers
183 views

How to add css class to a table created using views

I want to add a css class to a table which is created using views. I tried to override "views-view-table.php" in my custom theme but that doesn't seems to work. In "views-view-table.php" I replaced ...
0
votes
1answer
22 views

Submit handler is not called from theme function

I am actualy trying to build up a dragable table, but for some reason after implementing the theme_function, my submit handler is not longer getting called. This is what my Code actualy looks like: ...
0
votes
2answers
92 views

Trying to create a table with an uid field that auto-increments and is the primary key, but keep getting an error

I'm working on an .install file for my module in Drupal 7. I want to create two tables, one called tls_connect_floormap_images and one called tls_connect_floormap_coords. I'm not having any trouble ...
1
vote
1answer
168 views

Generate hyperlink on each row for html table that contains database data

I created Ajax based dependent dropdown list and based on the selected item I selected table from database and displayed html table as output. Now I want to generate hyperlink for each row of html ...
1
vote
1answer
162 views

How to add wrapping elements & classes to a table in a view?

I'm building a custom theme using bootstrap 3, I need responsive tables. Yes, I'm aware of responsive_tables but I didn't like it. I want to use bootstrap's native .table-responsive. for that I need ...
0
votes
1answer
35 views

Appending extra columns to Views table

Can anyone tell me if there's a way to use hook_form_alter, or some other approach, to insert an extra column with to a views generated table. I am trying to insert some buttons which will update ...
0
votes
1answer
18 views

How would I add a class with the same name as the header?

I'd like to add a class with the same name as the header, in order to keep similar header columns the same size. Basically, the code is generating multiple tables, some of which have the same header ...
0
votes
3answers
80 views

Table too wide for view

I created a view (from Views module) where I display my content in a table. The table contains about 22 columns: The table continue to the right of the screen (see screenshot above). How to fix ...
2
votes
4answers
255 views

Unix time stamp to date

I'm displaying a custom table in a view with Data & Schema module. One of my field in that table is created_date, int of unix timestamp. The view's page shown as table, how can I display it in a ...
0
votes
0answers
47 views

Why is the align attribute not working?

This is a custom module where I am building a table from the data read from a file. Here is the code; // Create Header array $header = array( array('data' => t('Col 1')), array('data' ...
0
votes
1answer
87 views

Views & Multi-dimensional table

I have the following configuration with my drupal website: Taxonomy vocabulary: Procedure Users Role: Doctor Node Type: Surgical Operation When I create a "Surgical Operation" node, I can select a ...
0
votes
0answers
45 views

Theme_table not returning all rows/cells on submit

I have created a theme table which creates, basically, a giant editable table, based on a database grab. I have gotten the table to the point now where it will properly display as a "form" and allow ...
0
votes
0answers
70 views

Sort a Table View by Fivestar Rating Fields

I'm currently using Fivestar-7.x-2.0-alpha2 and Views-7.x-3.7. And running Drupal 7. I am trying to create a table view that displays the information from fields on a certain node type. In this case, ...
0
votes
1answer
140 views

theme table from drupal 6 to drupal 7

I try to rewrite the node output and i don`t get it. This script produce only <table></table> without any content. $rows = array(); $cols = array(); $cols[] = '<div ...
0
votes
0answers
29 views

Is it possible sorting a table with non-database driven data?

I am creating tables, using data from services. This data is not stored in a db. But while I have been able to theme it using tableselect, I can't get sorting to work. Adding sort on fields, expects ...
4
votes
2answers
211 views

Views table with two columns

I have 3 fields. I've set them with view table, set their labels and they are displaying in this order: field1 label field2 label field3 label field1 value field2 value field3 value ...
0
votes
2answers
152 views

Disable sticky table headers for field collection?

I'm using a field collection on my node form and sticky table headers comes baked in with no way to disable it (that I can find, anyway). How do I disable sticky table headers? Preferably with ...
0
votes
1answer
100 views

Weekly Gym schedule / irregular recurring Events / D7

I've been searching and trying for weeks now, but could not find a way to properly display a gym's schedule. Here is the setup: atm there are 3 gym branches with their own unique schedule (but ...
3
votes
2answers
825 views

Show/Hide Column in Views Table

Is there any way I can show/hide entire column in Views Table? Exclude from Display completely excludes the column which is not possible to show again, so, I am using Views Dynamic Fields Module to ...
0
votes
0answers
13 views

How can I include external databases within views in Drupal 7 [duplicate]

I have read several tutorials that request you to make a base for the views hook in a custom module, but I either have to hand code them or create them in Drupal 6 with the TW module and then export ...
1
vote
0answers
74 views

Search a URL list, return JSON values into a dynamically generated table

I am looking for a Drupal Service or a Module (or a link to a working example) of this arrangement: There's a Search form. Placing and submitting the search will make a REST call for certain values ...
3
votes
6answers
1k views

Combining two columns in Views table

I keep on having different requirements and I always get stuck in Views. This time the requirement is to combine the two columns/fields of a views table but display it in different rows. The eg: ...
1
vote
0answers
113 views

Views Table - Show Taxonomy Term with Specific Depth

I currently have a view that show as table with a list of stores and information about the store (address, phone number, etc.). Each store is a node that also has a field containing a taxonomy term ...
0
votes
0answers
210 views

Dynamic query with pager not working with filter values

I have a dynamic table with a form and a pager. Table and form filters work fine. But the pager ALWAYS retrieves ALL the records. It does not consider the "post" value of the form filter. function ...
0
votes
0answers
194 views

D7 FAPI unexpected behaviour when combining AJAX, checkbox and a table theme

I have a table filled with checkboxes in a form made according to: http://passingcuriosity.com/2011/drupal-7-forms-tables/ The form also has a autocomplete textfield with an ajax button, which allows ...
3
votes
1answer
189 views

Views fields as Columns in table

I have a content type called Pets, which only has title and description. In Pets there are only 3 data (set by Admin) Cats, Dogs and Mouse. User can select only from these data and cannot add more ...
3
votes
1answer
60 views

Override and add a link to a themed table

Using a custom module, I'm trying to add "Schedule" links to each of the rows of the table on node/%nid/revisions, but can't seem to figure it out. Do I have to override the entire function ...
1
vote
1answer
48 views

Drupal Module for arranging Nodes of special type into a table||chart

I'm trying to map Nodes of special Types on the basis of their field datas in a table or a chart. The table should look like this:Table Example Explanation: Table Header and first row are the datas ...
1
vote
1answer
53 views

Content Type with Tabular Data to be Input

I'm building a content type that is going to require tabular data to be input. Here's a mockup of what the table should look like: Rows 1 and 2 are fixed headers, 3-6 are data. I am at a total loss ...
0
votes
1answer
49 views

How to use the TableForm module?

How does one use the TableForm module? There doesn't seem to be any documentation and I can't seem to find any reference to it anywhere in my D7 site after I've enabled it (and the included example ...
-1
votes
1answer
48 views

How can I tidy up an auto increment field in a table from within a module?

So that a table like this (the 'id' field being auto incrementing): id title 1 foo 3 bar 7 fee becomes: id title 1 foo 2 bar 3 fee Is there a function, like serial_field_tidy or something? ...