We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

[RepEEt] Multiple booking calendars from single weblog

Development and Programming

jmhosking's avatar
jmhosking
12 posts
17 years ago
jmhosking's avatar jmhosking

Hi,

I’m in the middle of creating a holiday lettings site using Expression Engine and the RepEEt plugin. I’ve got it all working with one booking calendar… but what I was wondering is whether it is possible to power multiple booking calendars using the same weblog.

For example:

There is a weblog called Properties, which holds the letting properties. In this weblog there are 3 properties (A, B and C for example)

There is another weblog called Booking for the availability of the properties. What I would like is a drop down on the publish screen which will have “A”, “B”, “C” and depending on which one is selected it will add it to the relevant property.

I was thinking maybe the “search:” parameter or categories might be able to accomplish this?

Any help would be appreciated. 😊

Thanks

       
Mr. Wilson's avatar
Mr. Wilson
131 posts
17 years ago
Mr. Wilson's avatar Mr. Wilson
I was thinking maybe the “search:” parameter or categories might be able to accomplish this?

I know for a fact that categories will work for you; I’ve seen many examples of that implementation in place. The search parameter will probably work, too, but I haven’t seen it in action yet. If you take that route, be sure to let me know if it works for you.

       
jmhosking's avatar
jmhosking
12 posts
17 years ago
jmhosking's avatar jmhosking

Hi,

Thanks Mr. Wilson.

I might have a go at using categories. Would I simply put the category parameter in the EE tag?

Thanks

       
Mr. Wilson's avatar
Mr. Wilson
131 posts
17 years ago
Mr. Wilson's avatar Mr. Wilson

Right, just do your normal filtering in the exp:weblog:entries tag.

       
jmhosking's avatar
jmhosking
12 posts
17 years ago
jmhosking's avatar jmhosking

Hi,

Still having some problems with this.

I’ve tried adding a normal EE weblog tag with the category_group parameter but that doesn’t seem to work. Where should I add the category parameter? I’ve tried it before the RepEEt tags and after them.

Also, should there be any problem with having a weblog within a weblog? As I have the property weblog and within that I want to have the booking calendar.

Final question… Is there any other way to handle the next/back month on the calendar? AJAX maybe? At the moment when it changes the URL it messes up the other weblog.

Thanks 😊

       
jmhosking's avatar
jmhosking
12 posts
17 years ago
jmhosking's avatar jmhosking

I really need to get this site finished so any help anyone can give would really be appreciated.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.