Need left sidebar format for Calendar
Permalink
The calendar page-type only comes in a "right sidebar" format, and Calendar doesn't seem to work if another page type is applied. The site I'm developing is all "left sidebar" and I have to have the sidebar sub-menu (need it for the details page, too). Though I manage to figure a lot of stuff out, I'm a designer, not a coder... and from what I've seen of the code on calendar.php, this one may be beyond my expertise. Anyone got a simple solution? Thanx (in advance)!
Interesting problem. I can take a look at it but cannot promise anything. email is daryl meese at gmail . com. contact me & I'll help if I can.
The calendar add-on is actually a couple of things. You get a new page type of event that houses the details around something, and you get a calendar block you can put anywhere.
The package does make an example page using the right sidebar template to show you what's possible, but I believe you could put the calendar block on any page type and it would work just fine.
The package does make an example page using the right sidebar template to show you what's possible, but I believe you could put the calendar block on any page type and it would work just fine.
I replaced "add_event_overlay.php" per Argie's "Missing Div" post on May 27... the pages are working perfectly now.
(http://www.concrete5.org/marketplace/addons/calendar/support_and_fe... )
THANKS, ARGIE!
(http://www.concrete5.org/marketplace/addons/calendar/support_and_fe... )
THANKS, ARGIE!
glad it helped. :) although the other poster who found the extra closing DIV's actually deserves credit.
Ah yes, I see...
Many thanks to you, too, Abberdab!
Many thanks to you, too, Abberdab!
A new but related issue: I added the Calendar block to a left_sidebar page and things were working until I deleted the original Calendar page that had the "calendar" page type applied. After that, I couldn't add new events (the "Add to Calendar" checkbox(s) at the bottom of the New Event popup were missing). I'm pretty sleep-deprived and may be missing something, but it "seems" as though there needs to be a page somewhere with the calendar page type for Calendar to work.
I've created a workaround by adding a new "Main Calendar" page (with calendar page type), hidden from nav, as the central resource. That works, but would add some complexity and confusion for the site owner.
I'd rather just keep it simple and have the site's Calendar page in the calendar page type, but in left-sidebar format, ala the mod I was able to do, based on your instructions, with the event details pages. Unless you can advise another solution.
Sorry... I think this is my last issue with this site...
Thanx!
I've created a workaround by adding a new "Main Calendar" page (with calendar page type), hidden from nav, as the central resource. That works, but would add some complexity and confusion for the site owner.
I'd rather just keep it simple and have the site's Calendar page in the calendar page type, but in left-sidebar format, ala the mod I was able to do, based on your instructions, with the event details pages. Unless you can advise another solution.
Sorry... I think this is my last issue with this site...
Thanx!
I don't really know if that's the best method but I think that works. :)
You might want to call the parent Calendar, Source Calendar, or something like that, to reduce confusion. I bet that the original info is in your database somewhere and there's a way to call it but since I think the Calendars are meant to be shared across a number of calendar blocks your method is probably the easiest.
FYI: When you place a Calendar block it gives you a number of data options like Calendar, This Page, etc. to draw from.
Is your old one still there? You may want to run a quick test and create a new calendar block called something like Absurd Schedule or a page by that name. Fill in some test events. Then place a Calendar block on another page. Choose Absurd as your data source. Then delete the page with the original.
I'm curious if the new block remains with the info.
If it does, try to see if the data source is given as an option with a new block....
You might want to call the parent Calendar, Source Calendar, or something like that, to reduce confusion. I bet that the original info is in your database somewhere and there's a way to call it but since I think the Calendars are meant to be shared across a number of calendar blocks your method is probably the easiest.
FYI: When you place a Calendar block it gives you a number of data options like Calendar, This Page, etc. to draw from.
Is your old one still there? You may want to run a quick test and create a new calendar block called something like Absurd Schedule or a page by that name. Fill in some test events. Then place a Calendar block on another page. Choose Absurd as your data source. Then delete the page with the original.
I'm curious if the new block remains with the info.
If it does, try to see if the data source is given as an option with a new block....
Thanks, Argie!
I added a Calendar Block on a new page with left-sidebar page type, and selected only the "This Page" checkbox. I can load the block, but can't save any new events to it. In the "Add Event" popup, the "Add a Calendar" checkbox list is empty, then (not surprisingly!) I get an error message (see attached pics).
Just for fun, though, I tried adding another new left-sidebar page and Calendar Block, per your suggestion, to find out whether it might "see" the one I had just added. Nope.
What I'm counting on being able to do is adapt the apparently required Calendar page type to left sidebar format. I just don't know how yet...
I added a Calendar Block on a new page with left-sidebar page type, and selected only the "This Page" checkbox. I can load the block, but can't save any new events to it. In the "Add Event" popup, the "Add a Calendar" checkbox list is empty, then (not surprisingly!) I get an error message (see attached pics).
Just for fun, though, I tried adding another new left-sidebar page and Calendar Block, per your suggestion, to find out whether it might "see" the one I had just added. Nope.
What I'm counting on being able to do is adapt the apparently required Calendar page type to left sidebar format. I just don't know how yet...
The heat's off on this one. I was running out of time, so I changed to the Green Salad theme as a base to work from. I applied the Calendar page type to the calendar page. It seems to be working perfectly, except for a nav glitch I'll post in another thread.
I'll still need to know how to make a left-sidebar page with Calendar page type in Plain Yogurt for an upcoming project, though...
I'll still need to know how to make a left-sidebar page with Calendar page type in Plain Yogurt for an upcoming project, though...
You should be able to save an event to a new This Page Calendar block. I'll run some tests on my own.