PDA

View Full Version : How to customize add/edit event pages only


marilyndln
12-14-2005, 05:45 PM
How can I add some instructions to my users that will appear only on the Add Event and Edit Event pages?

I tried editing the custom header, and it works, but I *also* get the message on the log-in screen. It's not applilcable there and looks pretty silly.

Here's what I'm getting:
http://www.greggdemocratscalendar.com/calendar/events/index.php

Thanks!
Marilyn Dillon

Brian
12-14-2005, 05:52 PM
[Untested]

Try adding before your text:

<?php
if ($_SESSION['user']) {
?>


Then after the text:

<?php } ?>

marilyndln
12-14-2005, 05:56 PM
That did it! Thanks for the super-fast reply.

Marilyn