| View previous topic :: View next topic |
| Author |
Message |
tulle004
Joined: 13 Mar 2007 Posts: 27
|
Posted: Thu Jul 12, 2007 6:41 pm Post subject: published calendar links |
|
|
| We are publishing a calendar that displays the week. There are links to the days though, but when you click on them, it just refreshes the page. Are these suppose to go to the day view? How can we make that happen? |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5268
|
Posted: Thu Jul 12, 2007 6:45 pm Post subject: |
|
|
| Did you create this using the calendar publisher within Thyme? |
|
| Back to top |
|
 |
tulle004
Joined: 13 Mar 2007 Posts: 27
|
Posted: Thu Jul 12, 2007 6:56 pm Post subject: |
|
|
| yes. |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5268
|
Posted: Thu Jul 12, 2007 7:04 pm Post subject: |
|
|
You have to write it in. In the generated PHP code, probably at the end, you have something like:
$cal->display_week();
Change it to:
# day view
if($_REQUEST['v'] == 'd') {
$cal->display_day();
# week view
} else {
$cal->display_week();
} |
|
| Back to top |
|
 |
|