3
Quote:
I'd like to be able to display news items on a public page, but without the XOOPS page header and navigation/login on the left.
You can change the theme files for whatever them you are using (theme.html). Look for
<table cellspacing="0">
<tr id="header">
<td id="headerlogo"><a href="<{$xoops_url}>/"><img src="<{$xoops_imageurl}>logo.gif" width="150" height="80" alt="" /></a></td>
<td id="headerbanner"><{$xoops_banner}></td>
</tr>
<tr>
<td id="headerbar" colspan="2"> </td>
</tr>
</table>
at the beginning of the <body> section and remove as much as you need.
Make sure you have "Update module template .html files from themes/your theme/templates directory?" switched on in system admin-preferences-general to regenerate the template files.
NB this will effect all pages on your site.
Quote:
Also, this is just a little thing, is it possible to show news items with the posted date but not the posted time displayed?
You need to a/ find where the date is generated for inclusion in the blocka and/or index page and then b/ reformat it using the appropriate php function before it is passed to the smarty template. Check out
http://www.php.net/manual/en/ for the PHP manual.