Forum


List Manager Support

List Manager support
Forums
No se permite escribir sin estar logado. Por favor, login

Display formatting issue, date wrapping 03.07.2012 18:29

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

Re: Display formatting issue, date wrapping 03.07.2012 21:32

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[i]['type']=='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;?\[i]['type']=='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
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros