![]() |
Forums » List all forums » » Forum: Wish List » » » Thread: Embedded calendar start date W/O hard coding html! |
Posted by jamiecd77 at Jan 29, 2008, 7:34:51 PM |
Embedded calendar start date W/O hard coding html! I have a wonderful thought, and no idea how to implement. you can see both of my embedded calendars at http://www.djjamie.com/calendar.htm What I would like to do, is call out a start date for the embedded calendar, but NOT from the page it is embedded in. in other words, with the url above, I could easily make the start date pull. What I want is a link, located on say a forum, or something, to link to MY page, with the embedded date. like http://www.djjamie.com/calendar.htm?start_date=1/1/09 of course, my html page has no idea what that means, and ignores the ?start_date=1/1/09 Is there html code to pass that start info on to the embedded calendar? I realize this may be a regular html question versus localendar, but hey, how cool would that be? ---------------------------------------- Peer-Support Specialist |
Posted by jamiecd77 at Jan 29, 2008, 7:49:37 PM |
Re: Embedded calendar start date W/O hard coding html! Could also use this to create a "jump to" date option on my page, for the embedded calendar... ---------------------------------------- Peer-Support Specialist |
Posted by support at Jan 30, 2008, 4:35:51 PM |
Re: Embedded calendar start date W/O hard coding html! Of course; http://www.localendar.com/public/jamiecd77?start_date=1/1/2008 is the format that works with localendar. As for passing it from one url to another, generally that would work by examining the url request object and adding it to a redirect. Easily done with JSP and ASP; not sure if there's some way to kludge a solution together with just javascript. ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
Posted by jamiecd77 at Feb 8, 2008, 2:22:17 PM |
Re: Embedded calendar start date W/O hard coding html! Check this out, shinizzle!!!!! http://www.djjamie.com/caltest.php?start_date=1/1/11 ---------------------------------------- Peer-Support Specialist |
Posted by support at Feb 8, 2008, 10:42:15 PM |
Re: Embedded calendar start date W/O hard coding html! Ah, but you used PHP which is cheating, right? ![]() I'm wondering if there's a way to do this with plain HTML... If think if you can get the request parameter from javascript you can do it... First, you'd have to get the querystring .. var queryString = window.top.location.search.substring(1); then you'd have to parse out the start_date, and you could do something like document.write("localendar include code?start_date="+dateyouparsed) Maybe I'll try and work up actual code this w/e. ---------------------------------------- Marc Higgins Support Associate, localendar.com Follow us on Twitter! http://www.twitter.com/localendar_news |
Posted by jamiecd77 at Feb 18, 2008, 2:04:26 PM |
Re: Embedded calendar start date W/O hard coding html! That's what I really wanted, but I got the php code from some anonymous stranger on the internet...I don't do java or php, so I'm stuck with whatever those who code can offer.... ---------------------------------------- Peer-Support Specialist |
Posted by westlake at May 1, 2008, 3:32:58 PM |
Re: Embedded calendar start date W/O hard coding html! http://www.localendar.com/public/westlake?style=W1 lists the events starting from Monday, which was 3 days ago. How do I list events in W format starting from today, or tomorrow? Is start_date an option with localendar? I tried using http://www.localendar.com/public/westlake?style=W1?start_date=5%2F1%2F2008 but that didn't work. Thanks, glenda |
Posted by jamiecd77 at May 1, 2008, 6:03:09 PM |
Re: Embedded calendar start date W/O hard coding html! You were on the right track, you need to use an ampersand after your style, but before the start date. http://www.localendar.com/public/westlake?style=W1&start_date=5/2/2008 Hope this helps, Jamie Non-Monetarily Compensated Peer-Support Specialist. ---------------------------------------- Peer-Support Specialist |
Posted by jamiecd77 at May 1, 2008, 6:04:48 PM |
Re: Embedded calendar start date W/O hard coding html! An important thing to remember, using the week style, you get events for the entire week, including those which have already occurred. If you want to only have "upcoming events" try style D2. ---------------------------------------- Peer-Support Specialist |
Help! | Cobranding | Legal | Privacy Policy | About localendar.com | Contact Us |