|
Quotes |
" ... I want to tell you that your thyme product is functional and valuable beyond
words. I cannot imagine why any portal would be without it. It is the cornerstone of our new project ..."
" ... Thanks for such a complete project, its making my job much easier. ..."
" ... I have now deployed 4 different calendars and our users love them ... "
" ... Easy to install and use and a great look/design. ..."
" ... This has to be the easiest to use program I think I've had to deal with at all this year. ..."
|
|
| View previous topic :: View next topic |
| Author |
Message |
stephenc7823
Joined: 07 Sep 2007 Posts: 3
|
Posted: Mon Sep 10, 2007 7:41 pm Post subject: Add an Event Request Link to the Menu |
|
|
Ian,
I would like to do the same on my site, add an Event Request to the Menu above. Is there an easy way to do this?
Stephen
http://www.isispages.com/public_html/thyme/index.php |
|
| Back to top |
|
 |
esoft_ian
Joined: 12 Sep 2005 Posts: 5275
|
Posted: Mon Sep 10, 2007 7:46 pm Post subject: |
|
|
Add this code in Admin -> Site Settings -> Site Header:
| Code: |
<?php
global $_cal_user, $_cur_cal;
if( ($_cal_user->access->can_add($_cur_cal) ||
(($_cur_cal->type != 1 && $_cur_cal->type != 2) && ($_cur_cal->options & 2 && !($_cur_cal->options & 128))))) {
$url = new _cal_url();
$url->addArg('m',$_SESSION['m']);
$url->addArg('d',$_SESSION['d']);
$url->addArg('y',$_SESSION['y']);
$url->addArg('event_action', _ADD_);
echo("<a href='". $url->toString() ."'>Add Event</a>");
}
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|