The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
10 views

How do I create inline border style in views table for views data export word output?

I am using views data export module to generate word output. I am able to get word document but views table out is coming without border. How to put border in word output ?
0
votes
0answers
17 views

Tablesaw.js library loading but not working in drupal

I'm trying to troubleshoot why tablesaw.js is not working as it should on my tables within a drupal site. I can confirm that the js is loaded, and can verify that the tablesaw.css is working. The ...
0
votes
1answer
17 views

How to add a column to a table using hook_form_alter()

My client needed thumbnail images in the nodequeue list. I found a patch that worked beautifully (https://www.drupal.org/node/1806614#comment-6620974). Now the client wants this functionality on ...
0
votes
0answers
11 views

table theme not working

I'm trying to change the way administration page of comments, I'm trying to use table theme but it is not working, show a blank white page. I'm trying theme registry alter. Here I'm splitting the form ...
0
votes
1answer
14 views

Table creation in install module returns error [closed]

I am trying to create a table using a custom module in the install file: function leave_tracker_schema() { $schema = array(); $schema['leave_balance'] = array( 'description' => t('The base ...
0
votes
0answers
9 views

Building a Views Table to display Commerce order information

I don't know whether this is possible to achieve in Views, or needs coding. I want to be able to display Drupal Commerce Orders in a table, one row per order (as in default list provided by Drupal ...
0
votes
2answers
15 views

Results table with form select for filtering

I have a page set up via a custom module, which contains some data rendered in a table, not using views. I didn't use views because it requires some various calculations that views calc couldn't do. ...
0
votes
0answers
15 views

Filter in $form table not working with pager?

I'm trying to add a filter to my table which has a pager. It does work but only for the 1st page. The pager keeps saying (for example: 4 pages) and it should be only 2 after adding the filter. My ...
0
votes
0answers
14 views

Pager not working when $form['table'] is called with AJAX

For a statistics page I let users select the right file in a select list. After that I generate a table with stats. This table also has a pager (that worked without the ajax part). Now I did ...
2
votes
0answers
43 views

How to get Drupal to stop overiding table tag background color [closed]

I'm still working in the default Bartik theme that came with Drupal core. I've put an HTML table inside the body area of a node to organize some information. It is just a vanilla HTML table: ...
0
votes
1answer
28 views

Delete old columns from table using hook update

I need to delete some old columns of existing table. How to do it using hook_update or Is there some other way to delete old columns in .install file . Thanks
1
vote
1answer
46 views

Update theme table using callback function in Ajax

I have two elements in my form: a select and a table element. Everytime onchange event is triggered on select element, I want to update the values in my table. I want to do query and change the values ...
1
vote
1answer
35 views

HTML table to Drupal table

How can I translate this to drupal table? http://www.bootply.com/sXmuAJQjO4 I know how to do simple tables and the header and first row I can do also with this code: $title = '<div class="panel ...
0
votes
0answers
28 views

How to use table drag between two tables

In the admin I need to enable drag and drop between two tables. I can trying adding jquery plugin to the page and write the script. But I want know how to do using drupal tabledrag. Here is the ...
0
votes
1answer
36 views

Colapse even rows of table

I have a table in my site that I build in my own module with theme table. I want to be able to have a sort of link in each even row (the ones with the color buttons) that allows me to collapse those ...
0
votes
1answer
36 views

How could I do a FULL OUTER JOIN in drupal?

How can I do this code in Drupal? I cannot find how this code is writing in Drupal. SELECT column_name(s) FROM table1 FULL OUTER JOIN table2 ON table1.column_name = table2.column_name;
1
vote
0answers
29 views

How to change (via custom code) the order in which the columns of a view result are rendered?

I have a table created in a Drupal 7 site, using Views (version 3). I need to change the columns' order depending on some custom code I have. I've tried looking into all views' hooks, but I couldn't ...
0
votes
1answer
43 views

Different prices in Shopping cart form and Shopping cart summary views in Commerce price table

I have a problem with price table module that I hope you can support me on this issue. As I have some products with different prices depending on item's quantity according to the commerce price table ...
0
votes
0answers
11 views

Error entries in Watchdog duplicated dozen and hundreds of times in Drupal 7

I have seen that the table watchdog in my MySQL database is growing enormously, and after TRUNCATE, I see that for each visit to a single page, it generates hundreds of inserts, and when seeing them, ...
0
votes
1answer
28 views

How can I fix the pages pager returns?

I have a number of "product nodes" that I'd like to return and display in a paged table. The original query is generated as follows: $productNodeQuery = db_select('node', 'n') ...
1
vote
2answers
84 views

How to update a views row class in real time clicking a Flag (ajax) link

Flag allows flag toggle link to use ajax, but that does not update the row class in real time. Only the field class is changed. Question is how to make the row to have a class when the flag link is ...
3
votes
1answer
32 views

Date math in View table

Sorry for any incorrect terminology; I'm new to Drupal so it's possible that I'll mess up the Drupal-specific vocabulary. I'm putting together a View->Page with a Table Format. I've got a field in ...
0
votes
0answers
32 views

Autocomplete not working with Better Exposed Filters + Views Table Filter

everyone. I'm using Drupal 7 with all modules updated to the last stable version. I have a table view in which each column can be filtered through an exposed filter. If I move the filters to the ...
0
votes
1answer
24 views

Appending multiple tables in drupal 7 module

I am appending three new tables in my custom module using hook_update, but it is throwing below error when I try to run update.php file PDOException: SQLSTATE[22003]: Numeric value out of range: ...
0
votes
0answers
23 views

Table with adding columns and rows

I want to create table with Tasks columns and Users rows. ------------------------------------ | | Task 1 | Task 2 | Task 3 | ------------------------------------ | User1 | 30% | 0 | ...
1
vote
0answers
33 views

Unable to Search Table Containing Webform Submissions Using Exposed Combined Fields Filter

I'm trying to add a Combined Fields Filter that users can come to my site and use to search through a Table View that is populated by user-created Webform submissions. Unfortunately, when I create ...
0
votes
1answer
64 views

Show result summary in theme table

Can we show the result summary like "Displaying X to Y of Z records" while using the "table" or "tableselect" themes? I mean just the thing we do in views header/footer using the "Global: Result ...
2
votes
2answers
2k views

How to rebuild registry table?

I've truncated registry table, because of the other problems, but now I have problem rebuilding the registry table based on the files listed in the database. I'm calling registry_update(), ...
0
votes
1answer
85 views

Design and combine multiple data tables [duplicate]

I want to create tables in drupal in the following manner- Table 1 for all registered user Table 2 for admin user For all registered users, Table 1 structure remains same where as the data in ...
1
vote
1answer
78 views

Format 'Table Of Files' Field Display For Commerce Product Display?

We have a Commerce Product Display for a Product Variation. If you're not familiar with Commerce Kickstart, it's basically just a form to add an item to a shopping cart. Each Product Display includes ...
0
votes
0answers
19 views

comparing old/new table values

I'm building a site which needs the ability to show a daily market values table, that is daily fed by the admins. The idea is to compare the previous value for each cell and depending on the ...
0
votes
0answers
13 views

How can I implement drupal to run through a table of values, preferably through rules?

I am trying to calculate the cost of custom printed t-shirts on my website. I have a drop down that asks how many colors the imprint will be, and then the quantity of shirts. Now I am trying to ...
0
votes
0answers
76 views

Drupal Views Table with Alternating Amount of Columns

I'm trying to make a view with alternating amount of columns. The first row should have only 1 column, while the second row needs 2 colums, third 1 column and fourth again 2 coulumns. The fields ...
0
votes
1answer
48 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
28 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
124 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
1k 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
26 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
30 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
116 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
37 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 ...
-2
votes
3answers
297 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
41 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
226 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
31 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
1answer
783 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
294 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 ...
1
vote
0answers
92 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 ...
2
votes
2answers
47 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
100 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 ...