Thursday, November 26, 2009

Create a fluid Joomla module using template override on mod_newsflash

Logic to calculate module width based on number of items to be dispalyed. In this example below this logic assumes PARENT DIV width is 980 pixels wide and module width will be adjusted accordingly to fit inside a 980 pixel element floating left so they look like they are in a straight line.