Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
1. how can i search a table with the drupal search module?
2. how can i fix the column, row, and table dimensions? do i need to edit the tablemanager css file? if so a few lines of example code would be appreciated.
Comments
Comment #1
pobster CreditAttribution: pobster commentedYou *must* be American... All this information is easily findable, in fact your second question is answered on the modules download page.
Comment #2
atomicmass CreditAttribution: atomicmass commentedif i enter: [tablemanager:1, NULL, FALSE, NULL, title = my table title | table width = 500]
the width of the table does not limit to 500 pixels if one of the table entries is a long string greater than that width, i guess that is why i am confused. i also tried: [tablemanager:1, NULL, FALSE, column = 2 | start = "a" | end = "z" | width = 100] to make the width of column 2 100 pixles, but i think i am doing something wrong because that does not work either.
i know how to edit the .css file, but how would i "set a class for your table to match"
sorry if my questions sound redundant. i am still new to drupal.
Comment #3
pobster CreditAttribution: pobster commentedIt's not that you're a newb - I don't mind that at all. It's more that you're just not trying very hard...
I just used what you wrote;
[tablemanager:1, NULL, FALSE, NULL, title = my table title | table width = 500]
Which results in the source producing this;
<table title="my table title" table width="500">
It does exactly what you told it to do... The only problem is that what you told it to do is rubbish - it's not a valid html attribute.
Do this;
Go to http://www.google.com
Type 'html table' and click search.
Click on the very first thing that comes up, which is http://primeshop.com/html/jump5.htm
About halfway down it tells you about attributes, the bit that's relevant is for the table tag - then try this;
[tablemanager:1, NULL, FALSE, NULL, title = my table title | width = 100%]
Pobster
Comment #4
weg21 CreditAttribution: weg21 commentedHello Pobster,
I can understand your meaning of "you can alter tablemanager0.css and set a class for your table to match." But how can I define a table's class? I only get -------> [tablemanager:8,,TRUE]
Is the tablemanager:8 the class name of the table? I don't think so. Need help!!! Thanks!