Here's a snippet of JavaScript for vertical_tabs.node_form.js to make Vertical Tabs compatible with the Node Style module (basic Drupal 6 port in #140044-9).

I set the priority to minor because the module hasn't been officially ported to D6, but I post it here in case someone finds it useful.

Drupal.verticalTabs.node_style = function() {
	var node_style = $('#edit-node-style-scheme option:selected').text();
	if (node_style) {
		return Drupal.t('@node_style', { '@node_style': node_style });
	}
	else {
	  return Drupal.t('None');
	}
}

Comments

dave reid’s picture

Status: Active » Closed (won't fix)

Actually I'd much rather prefer the integration to go into the Node Style module. I'll work on documenting how modules can add their own summaries for node forms in #554172: Please document how to vertical_tabs-ify a module in D6 (and compare to D7 core). This will be the way you have to do it in Drupal 7 with Vertical tabs, so you might as well get started now doing it right.