| Hello all, Hope this is the right place for this, and hopefully someone can help I want to change the way the frontpage looks, but dont know php too well. I figured that the file content.html.php is controlling the visuals there.Basically, I want to change how the date, category, and author name displays on the frontpage. Instead of each of them being placed on their own line, I wanted to put them in the same line, maybe seperated by a button or | sign. Can anyone assist me with doing this? Here is the bit of code I believe runs all that... Code: /** * Writes Category */ function Category( $row, $params ) { if ( $params->get( 'category' ) ) { ?> <span> <?php echo $row->category; ?> </span> <?php } } /** * Writes Author name */ function Author( $row, $params ) { global $acl; if ( ( $params->get( 'author' ) ) && ( $row->author != "" ) ) { /* This is too slow white large sites $grp = $acl->getAroGroup( $row->created_by ); $is_frontend_user = $acl->is_group_child_of( intval( $grp->group_id ), 'Public Frontend', 'ARO' ); $by = $is_frontend_user ? _AUTHOR_BY : _WRITTEN_BY; */ ?> <tr> <td width="70%" align="left" valign="top" colspan="2"> <span class="small"> <?php echo _WRITTEN_BY . ' '.( $row->created_by_alias ? $row->created_by_alias : $row->author ); ?> </span> </td> </tr> <?php } } /** * Writes Create Date */ function CreateDate( $row, $params ) { $create_date = null; if ( intval( $row->created ) != 0 ) { $create_date = mosFormatDate( $row->created ); } if ( $params->get( 'createdate' ) ) { ?> <tr> <td valign="top" colspan="2" class="createdate"> <?php echo $create_date; ?> </td> </tr> <?php } } I also wanted to make it so it will display the news category its displayed in, but before that have it say , Filed Under - I tried to put that in after the echo function but it made the main page a blank page afterwards. Thanks if any can help me through this, even if you dont directly tell me how. Someone needs to hack the content.html.php page and put them up for download ![]() |
Forum 





Author



I want to change the way the frontpage looks, but dont know php too well. I figured that the file content.html.php is controlling the visuals there.
Logged





