Implementing Into Wordpress

81 views
Skip to first unread message

howdous

unread,
Mar 5, 2010, 4:19:02 AM3/5/10
to Ajax Availability Calendar
How would one go about implementing this calendar into Wordpress?

cbolson

unread,
Mar 5, 2010, 12:19:47 PM3/5/10
to Ajax Availability Calendar
Hi,
I'm afraid I have no experience on doing wordpress plugins.
It is on my "to do" list for this calendar but I can't tell you when
it might happen.

That said, if anybody wants to do it for me.... :)

Chris

howdous

unread,
Mar 5, 2010, 5:23:47 PM3/5/10
to Ajax Availability Calendar
Hi Chris,

I ended up simply implementing it with the iframe as suggested and it
works fine. I only had to change a little CSS in order for it to blend
into my Wordpress blog. The only challenge now is to teach the person
who does the posts how to implement it. At the end of the day I will
just supply the source code to the person and teach the person that
each and every calendar has it's own id and that that is basically all
that needs to be changed to the code.

Have a look at a sample here: http://searchindexa2z.com/accommodation/house-voelklip

Thanks for your reply.

afinta

unread,
Mar 8, 2010, 10:04:52 AM3/8/10
to Ajax Availability Calendar
howdous, Chris -
I don't think the WP plug in is a must do - the iFrame works just
fine. We are using it with MovableType.

howdous - you may want to re-consider a bit your implementation - you
can do all your units with 1 calendar - instead of using a calendar
for each, and naming them "Availability" - you can have one calendar,
and make each unit an "Item". Then, with the iFrame tag, you can call
the calendar you want to display to correspond with the correct unit
by appending the id to the source URL (see Chris's response to me here
on how to do that http://groups.google.com/group/ajax-availability-calendar/browse_thread/thread/4978d6887f587986?hl=en)

Also you may want to use some additional code in your iFrame tag to
make it blend in better with your page and get rid of the scroll bars,
etc. You can find examples here: http://www.w3schools.com/TAGS/tag_iframe.asp
Specifically set your frame border to 0 -
frameborder Specifies whether or not to display a border around an
iframe

I also think (have not tried this one yet though) that you can align
the one month calendar and the key if you worked on the CSS a bit -
but - as someone in the rental industry, I would consider showing at
least three months of availability - people do like to plan!

Anthony

howdous

unread,
Mar 8, 2010, 3:19:42 PM3/8/10
to Ajax Availability Calendar
Hi Anthony,

Thanks a stack for the tips.

I did implement some more coding into the iframe and it now looks much
cleaner and blended into my theme.

I'm just not sure what you mean by saying I must use 1 calendar. What
I have basically done is to create a calendar for each of the adverts
and then each of the establishments on those adverts will have their
own username and password in order to control the calendar for their
specific establishment. Each one of them will then have their own
category ID.

Unless I am missing something. Let me know.

3 Months: I don't think that 3 months will fit next to each other in
my specific case. That is why I opted for 1 month only.The visitor
still has a choice though to scroll through the previous or following
months. I have decided not to center align the month and the legend
seeing that it might look a little weird.

Thanks!

On Mar 8, 5:04 pm, afinta <afi...@gmail.com> wrote:
> howdous, Chris -
> I don't think the WP plug in is a must do - the iFrame works just
> fine. We are using it with MovableType.
>
> howdous - you may want to re-consider a bit your  implementation - you
> can do all your units with 1 calendar - instead of using a calendar
> for each, and naming them "Availability" - you can have one calendar,
> and make each unit an "Item". Then, with the iFrame tag, you can call
> the calendar you want to display to correspond with the correct unit
> by appending the id to the source URL (see Chris's response to me here

> on how to do thathttp://groups.google.com/group/ajax-availability-calendar/browse_thre...)

afinta

unread,
Mar 10, 2010, 10:09:40 AM3/10/10
to Ajax Availability Calendar
Hi howdus - yes - sorry I think I went off on that tangent about one
calendar before I quite realized how your site works. You have
different clients/advertisers, so they all need their own calendar -
makes sense.
I do think that if you had time to get into the CSS file, you could do
more with the alignment etc. if you wanted - but it doesn't seem
necessary.
Reply all
Reply to author
Forward
0 new messages