List Manager Forum

Display formatting issue, date wrapping

User moon_436 2012-07-03 18:29:55

Hello,

We have a date column on our website which is wrapping, making an unpleasant looking display:

http://intermix.ca/pen-datewrap.jpg

Is there any way this can be fixed, or, to hard code a width into just this one field?

Thank you in advance,

Mitchell

Moonsoft support 2012-07-03 21:32:12

Hello,
yes, the '-' sign is indicating your browser the cell can be wrapped at that point. You can try to fix the with of the date column changing the file

joomla\modules\mod_listmanager\tmpl\content.php


looking for the createTableData function, and before this line (about line 588, depending on your joomla version):

$(trdato).adopt(tddato);

hard code the td width, this way:
if(arrCabeceras=='1'){
tddato.setStyle('width',200);
}

$(trdato).adopt(tddato);

Hope this helps,

--Sorry, the forum strips code due to security reasons, the first line should be

if(arrCabeceras/?php echo $seed;?\=='1'){
tddato.setStyle('width',200);

}

but changing / and \ for lower than and greater than symbols. If you can't get it work, please place a ticket at helpdesk, in order we can exchange files and code. Thank you

Edited by MSTeam - 03.07.2012 21:42

...
CalcBuilder

Create dynamic calculators

Buy now!
...
List Manager

Build different lists for your site

Buy now!