The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
13 views

How can I format the content in horizontal tabular form?

I'm using Drupal 7 and below you can see an example of what I want to achieve. Basically I have a specific content type that I want to display as seen in the image. On the left I want to list some ...
0
votes
1answer
13 views

How can this buying logic be achieved using drupal commerce and/or ubercart?

I think the following scheme describes best what I am trying to achieve: I am trying to make a ticket booking "shop" if you will. There are different events For each event you can buy tickets, ...
1
vote
1answer
18 views

How To Display Image instead of Taxonomy name using Views to display my nodes?

I Have Entity Module and already have a Taxonomy Vocabulary with terms and an Image Field created. Each term has a unique image. I Have a Content Type with a Term Reference field set to allow ...
0
votes
0answers
12 views

Implement a pager for my table and navigate into it in ajax

I'm looking for a way to implement a pager for my table knowing that I don't use a query and I can't use that kind of solutions: $query = db_select('node', 'n') ->condition('status', 1) ...
0
votes
0answers
12 views

how can i add record to db, and load the table records under the form in specific theme using ajax?

I need a form to add record in db. after the form has been submitted the new table content should be shown (in a specific theme) without refreshing the page so I need ajax submit but I don't know how ...
1
vote
1answer
35 views

Show table contents in custom Form

I have a table named "Table1" in my Drupal, where I added fields by getting the inputs via form. The form is created by custom module. My next requirement was to again create another form, but this ...
0
votes
1answer
36 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 ...
0
votes
1answer
26 views

How do you render a table within a custom module in drupal?

I have a page on my Drupal module that is responsible for the input of goals to be completed by an admin. What I would like to happen is have all of the goals within the database table render below ...
-1
votes
2answers
52 views

Fields into table [closed]

I have a page having data in my fields. PLease help me in generating a table in the page with the field name as attributes and the field contents as the table contents. Please see me as beginner. Edit ...
2
votes
2answers
174 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
0answers
23 views

Why is my database table not being created with hook_schema?

I have a custom module called inventory. I disable the module, then uninstall, and finally reinstall. But, the database table inventory_defaults never shows up. Do you have any idea why the ...
0
votes
1answer
57 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
39 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
1answer
24 views

javasript invoking custom module to update user response

I have created Multiple choice questions in drupal . One node (page ) has one mcq . The answers are displayed by simple radio buttons and javascript . Now I am planing to give some dynamic behavior ...
0
votes
0answers
8 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
6 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
35 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
37 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
23 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
50 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
219 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
19 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
29 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
70 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
24 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
111 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
33 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
114 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
24 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
45 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
319 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
107 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
34 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
45 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
48 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
19 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 ...
4
votes
2answers
624 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
41 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
184 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
266 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
328 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
62 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
20 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
116 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 ...
3
votes
4answers
583 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
74 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
157 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
53 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
1answer
118 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
172 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 ...