There is a hidden page showing daily changing information. E.g.:
Code: Select all
<h1>program_page</h1>
Code: Select all
$page_data[]=array(...,'heading' => 'Program for today',...)
Program for today
The page is then shown in a newsbox and a printlik is placed on the page, so the visitors can print this very page (with its own stylesheet for "print").
It would be nice to have the heading like this:
Program for today - dd.mm.yyyy
If I understand the thing correctly, the function shall be only used in $page_data[]=array(...,'heading' => 'Program for today',...) as the call in template
Code: Select all
newsbox('program_page')
Is it very difficult to manage it?