VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: blackrat999 on January 15, 2015, 15:38:01 PM

Title: Admin section - make Category Name field wider ?
Post by: blackrat999 on January 15, 2015, 15:38:01 PM
The Description field is massive and i dont use this very often, i would like the categories to show up across one line and not use 2 - is it possible to make the category wider at the expense of the description width please ?>

maybe so that future updates dont overwrite it would be perfect !



thanks

[attachment cleanup by admin]
Title: Re: Admin section - make Category Name field wider ?
Post by: jenkinhill on January 15, 2015, 17:29:52 PM
Easily done. Edit the file  administrator/components/com_virtuemart/views/category/tmpl/default.php  to change the width set for the category name:
<th align="left" width="12%">
            <?php echo $this->sort('category_name') ?>
         </th>

In VM2.6.x the description column has no width set, so will narrow as the name column size is made wider.

Use the edited file as an override within your Joomla admin template so it won't get overwritten.
Title: Re: Admin section - make Category Name field wider ?
Post by: blackrat999 on January 15, 2015, 17:45:19 PM
Thats better thanks !!