Download & Extend

Node title truncated in "assign categories"

Project:Taxonomy Multi Editor
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi, I like the Taxonomy_multi_edit module quite a lot. There are a few irritations, though. I wouldn't call them real bugs as such, but still, getting rid of them would increase the module's usability.

When I fire up "Assign categories", I get the title of my nodes to the left, followed by the vocabularies which I can use to write my terms. The terms thingy is just fine, but the title is truncated after 19 or 20 characters. That's a bit annoying when you have a title saying "This is an article about" or "Wondrous stories concerning". Why not simply show the node title in full??

Upon saving a page of term assignments, the pager is automatically set back to the first page. Why not keep it at the page where you were doing the editing?

I don't think this requires major rewriting. Even a small patch might solve these problems. Hope you can find the time to correct these things. Thanks!!

Comments

#1

After submitting, I decided to dig into your code myself. And lo and behold, the title irritation is already settled. In taxonomy_multi_edit.module, go to line 86:

<?php
    $row
[] = l(truncate_utf8($form['nodes'][$nid]['#node']->title, 20), "node/$nid");
?>

and change the "20" into something more workable, say 50 or so. Finished.

#2

Status:active» fixed

First, that's a theme function, so it's possible for you to override the rendering like that without hacking the module.
Second ... I don't really see the reason that was truncating in the first case :-). Probably just a layout thing, but the table cell should wrap just fine on its own unless you have really long stupid words as your title.

So hey, I'm just gonna remove that "feature".
Checked in immediately, the patch would be trivial. Thanks for the solution - made it easy to just do.

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here