Home · Links · Contact Us
Home arrow Forums
Home
Features
FAQ
Screen Shots
Modules
Themes
Demos
Documentation
Forums
Contact Us
Download
Purchase
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. ..."


  FAQFAQ    SearchSearch  RegisterRegister   Log inLog in 
'Add Your Event' module

 
Post new topic   Reply to topic     Forum Index -> Modules
View previous topic :: View next topic  
Author Message
Tedmiller



Joined: 14 Apr 2006
Posts: 98

PostPosted: Thu Nov 30, 2006 9:37 pm    Post subject: 'Add Your Event' module Reply with quote

Despite instructions right on our page, some people can't figure out clicking on the [+] sign is how they submit their event. For them, I would like to display a graphical button that says "Add Your Event" -- making the feature so obvious it hurts!

I want it to have the identical function of clicking the [+] sign, but I've looked through several PHP files and can't find the code to copy. I hoped you could point me in the right direction.
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Thu Nov 30, 2006 10:20 pm    Post subject: Reply with quote

Hi,

You may use:

echo("<a href='index.php?event_action=Add&y={$_SESSION['y']}&m={$_SESSION['m']}&d={$_SESSION['d']}'>Add your Event</a>");
Back to top
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Mon Dec 04, 2006 3:15 am    Post subject: Reply with quote

I need to implement this too. Which file do I need to modify?
_________________
Jasper Espejo
Back to top
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Mon Dec 04, 2006 3:17 am    Post subject: Reply with quote

I need to implement this too. Which file do I need to modify?
_________________
Jasper Espejo
Back to top
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Dec 04, 2006 3:52 am    Post subject: Reply with quote

Hi,

That depends. Where would you like the link to appear?
Back to top
View user's profile Send private message Visit poster's website
jasperespejo



Joined: 07 Sep 2006
Posts: 80
Location: Mandaluyong, Philippines

PostPosted: Mon Dec 25, 2006 4:42 am    Post subject: Reply with quote

Hello. I would like the "Add your event" link to appear beside the "day, week, month" tab of the calendar in a joomla page. Thanks!
_________________
Jasper Espejo
Back to top
View user's profile Send private message Visit poster's website
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Mon Dec 25, 2006 4:45 am    Post subject: Reply with quote

Hi,

You would have to modify the theme. It is recommended that you create your own in this case if you have not already. For instance in the 'default' theme you would edit themes/default/functions.php and add it in the _ex_default_tabs() function.

Let me know if you have any questions at all.
Back to top
View user's profile Send private message Visit poster's website
tangella



Joined: 05 Sep 2007
Posts: 13
Location: Trinity Center, California

PostPosted: Wed Sep 19, 2007 8:15 pm    Post subject: Reply with quote

I added this feature and it's great. One gotcha is that the same theme function is used for a calendar display as for the new event editor page. Therefore, on the event editor my Add an Event tab appears, and users will use that to add the event (instead of the Save button). Is there a way in the theme tabs function to detect that the current page is the event editor so I can suppress the Add an Event tab on that page?

Mike
Back to top
View user's profile Send private message Visit poster's website
werufm



Joined: 27 Mar 2008
Posts: 36

PostPosted: Thu May 15, 2008 4:52 pm    Post subject: Reply with quote

Why in the blue_goth theme is there no "functions.php"?
Back to top
View user's profile Send private message
werufm



Joined: 27 Mar 2008
Posts: 36

PostPosted: Thu May 15, 2008 5:01 pm    Post subject: Reply with quote

Totally bizarre...I created a copy of the blue_goth theme and there's a functions.php in the copied folder, just the default theme one. I can't seem to get this feature to show up, though. Maybe Im doing something totally wrong? I just added that bit of code where you said to add it in the functions.php and thought something might happen....
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5275

PostPosted: Thu May 15, 2008 6:29 pm    Post subject: Reply with quote

Hi,

The blue-goth theme actually uses the same functions.php as the slate theme. Let's say you copied the blue-goth theme and called it blue-goth-new. You would copy themes/slate/functions.php to themes/blue-goth-new/. Then edit themes/blue-goth-new/register_theme.php and change this line:

require_once(@constant("_CAL_BASE_PATH_") . "themes/slate/functions.php");

to this ..

require_once(@constant("_CAL_BASE_PATH_") . "themes/blue-goth-new/functions.php");

Sorry for any confusion. That theme was created and submitted by a user, so works a little differently . After you make that change it should all be the same.
Back to top
View user's profile Send private message Visit poster's website
werufm



Joined: 27 Mar 2008
Posts: 36

PostPosted: Fri May 16, 2008 7:37 pm    Post subject: Reply with quote

Thanks, I got that all taken care of. What I want to do is have a tab for adding an event. I PM'd you with a picture of what I'm looking for.

Thanks!
Back to top
View user's profile Send private message
werufm



Joined: 27 Mar 2008
Posts: 36

PostPosted: Wed May 21, 2008 12:58 am    Post subject: Reply with quote

Really no help there?
Back to top
View user's profile Send private message
werufm



Joined: 27 Mar 2008
Posts: 36

PostPosted: Wed May 21, 2008 1:03 am    Post subject: Reply with quote

nevremind that...saw your other post. thanks again for that, this is awesome!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Modules All times are GMT
Page 1 of 1

 
Jump to:  
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
© 2005 eXtrovert software unless otherwise noted. All rights reserved.
Portions © 2004 Ben Brown. All rights reserved.
Trademarks are property of their respective owners.