For multisite installation (one drupal and module code base and each site with its own database and theme), I want to place individual css info for the class tablemanager in the site theme and not use the css-files of the module.

But setting tablemanager_css to false in the admin area removes the class information from the HTML table output too. (line 1044 in tablemanager.module).

Please keep that class information there (remove the condition at line 1044).
So a theme guy can style the table manager HTML in its theme.

Related issue:
http://drupal.org/node/165963

Comments

peterdd’s picture

My quick solution:

Always add a class 'tablemanager' to Tablemanager HTML tables, but also allow additional content creator defined class in the tablemanager tag (legacy).

Further add the table id $tid to the table too, so it can be individually styled by css theme files.

  if (!array_key_exists('class', $attrib)) {
    $attrib['class'] = 'tablemanager';
  }
  else{
    $attrib['class'] = 'tablemanager '.$attrib['class'];
  }
  $attrib['id'] = 'tablemanager-'.$tid;

example tablemanager tag:
[tablemanager:1,NULL,TRUE,NULL, class=additionalclass]
example output:
<table class="tablemanager additionalclass" id="tablemanager-1"> ...</table>

pobster’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Closing as D6.x is now unsupported.