News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Can you override the views template? For custom display of category downloads?

Started by ggerstein, 23.12.2011 03:39:21

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ggerstein

Is it possible to override the component templates? I need to modify the output of the categories page so that the files in the category display in a table with rows and column with one file per cell. There does not seem to be a good way to do this based on the Layout Manager. Does the Layout Managers support including any php? If not I think I need to override the view in my custom joomla template directory. The reason is I need a while loop or some structure that says

for( int i = 0; i < download file count; i++)
{
if (filecount%4 == 0)
//put a row in like tr, or a div tag or something so I can display a new row of file download links.

}

Any help is appreciated. Thank you.

  •