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 
Create an add event link but not working....help me

 
Post new topic   Reply to topic     Forum Index -> Joomla / Mambo Integration
View previous topic :: View next topic  
Author Message
saurabhray



Joined: 30 Apr 2008
Posts: 45

PostPosted: Wed Jun 04, 2008 1:24 pm    Post subject: Create an add event link but not working....help me Reply with quote

Hi...
I had just created add event link as it mentioned in the joomla studio1.5 documentation but still not working.In joomla studio i created a component add_event and its page add_event.php and then call that component in that page and set event type=add_event.php and save it.
Even though on clicking the add event link it is not showing the form.
Please help me out what can i do...

Thanks
Saurabh
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Wed Jun 04, 2008 3:57 pm    Post subject: Reply with quote

Hi,

May I have the URL to see this please?
Back to top
View user's profile Send private message Visit poster's website
saurabhray



Joined: 30 Apr 2008
Posts: 45

PostPosted: Thu Jun 05, 2008 5:26 am    Post subject: Giving you the URL please check "things to do" sec Reply with quote

Hii
I am sending you the URL and then please check "add your event" link under the "things to do" menu item.I am also sending you the code snippet which i used in creating the .php pages after creating the components...
URL: http://71.244.86.81/potomacparent.
Code snippet of the add_event.php pages:-
Code:
<?php
echo("<a href='index.php?event_action=Add&y={$_SESSION['y']}&m={$_SESSION['m']}&d={$_SESSION['d']}'>Add Your Event</a>");

echo("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

echo("<a href='index.php?option=com_thyme&page=Today'>Today's Event</a>");

echo("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

echo("<a href='index.php?option=com_thyme&page=This_Week'>This Week</a>");

echo("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

echo("<a href='index.php?option=com_thyme&page=This_Month'>This Month</a>");

# Load Detail Events component
_js_load_component('detail_events');

?>

I used this code while creating the add_event.php page in edit source.please help me out what to do...
R u online ???i need support from your side as i m working on thyme right now.As i am online on gchat..

Thanks
Saurabh
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Thu Jun 05, 2008 1:56 pm    Post subject: Reply with quote

Change that to:

Code:

list($y,$m,$d) = explode('-',date("Y-n-j"));
echo("<a href='index.php?option=com_thyme&event_action=Add&y=$y&m=$m&d=$d'>Add Your Event</a>");


Let me know if you have any trouble.
Back to top
View user's profile Send private message Visit poster's website
saurabhray



Joined: 30 Apr 2008
Posts: 45

PostPosted: Fri Jun 06, 2008 1:49 pm    Post subject: Its showing an error.... Reply with quote

Hii
The code snippet which you send yesterday is not working on clicking "add your event" it shows an error that "object not found ..404 error!".Please help me out what can i do??
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Fri Jun 06, 2008 5:10 pm    Post subject: Reply with quote

Hi,

I'm not seeing the updated code on your site. The link still looks the same as your original post and does not give a 404 error. Am I looking in the wrong place? I'm clicking on the add event link here: http://71.244.86.81/potomacparent/index.php?option=com_thyme&Itemid=3
Back to top
View user's profile Send private message Visit poster's website
saurabhray



Joined: 30 Apr 2008
Posts: 45

PostPosted: Mon Jun 09, 2008 3:33 am    Post subject: Its reflecting to the home not showing the "add event&q Reply with quote

Hiii
On clicking that event its reflecting to the home page not showing the "add event" form page.So please tell me what changes should be done in the code snippet that you send me or the snippet i used earlier.???

Thanks
Saurabh Ray
Back to top
View user's profile Send private message
esoft_ian



Joined: 12 Sep 2005
Posts: 5268

PostPosted: Mon Jun 09, 2008 5:54 pm    Post subject: Reply with quote

Here is the entire thing with the afore posted changes included:

Code:
<?php

list($y,$m,$d) = explode('-',date("Y-n-j"));
echo("<a href='index.php?option=com_thyme&event_action=Add&y=$y&m=$m&d=$d'>Add Your Event</a>");

echo("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

echo("<a href='index.php?option=com_thyme&page=Today'>Today's Event</a>");

echo("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

echo("<a href='index.php?option=com_thyme&page=This_Week'>This Week</a>");

echo("&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;");

echo("<a href='index.php?option=com_thyme&page=This_Month'>This Month</a>");

# Load Detail Events component
_js_load_component('detail_events');

?>


let me know if you have any questions / trouble.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Joomla / Mambo Integration 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.