I have (at least) two issues.
1) I am trying to get the calendar events to display horizontally.
This is what I have for the Event Template:
<div style="display:inline;float:left;width:22%;margin: 0 12px;">
#TITLE#
#DESC#
#LOC#
#DATE#, #TIME#
</div>
and my Title Template:
<h2 class="gcal-events-title">#TITLE#</h2>
(the rest are still at their default)
You can see the output in this screen shot.
The events stagger down across the row. Why? I've tried changing the DIV to a P. And taking out the H2 in the title, but it still staggers.
2) You can also see from the screen shot that it's the same event and the date/time is the same and totally wrong. I enabled the debug and the FeedURL was this:
http://www.google.com/calendar/feeds/rjm20pj6672kunna3f74gh8ic8@group.calendar.google.com/public/full?max-results=2500&orderby=starttime&singleevents=true&futureevents=true
It doesn't even list the 3 different events at that URL as they should be here:
http://www.google.com/calendar/feeds/rjm20pj6672kunna3f74gh8ic8@group.calendar.google.com/public/full
Thoughts?
3)It gives me this error if I log out and try to view the site as an normal/unauthenticated user: Input Format 2 is not accessible by the current user
Please help or direct me to help. I'm very new at drupal so please understand.
Thanks!
Comments
Comment #1
Se7enLC commentedFor #1:
What does the output HTML look like? In the dev version there is a mode where it puts each calendar item into a list block instead of raw output, which might be what you are seeing. Under the general settings for GCal Events, uncheck "Item List" and see if that changes the output. I haven't tried a horizontal event list, so I am curious to see how this will turn out.
Another possibility (and a fairly likely one) is that you are using an input format that converts lines to paragraphs, which is adding the P and BR tags.
To set your input format, go into Admin | Input Formats and create a new Input format (call it "GCal Events"). Give anonymous user access to it and make sure you don't select "HTML Filter". In the GCal Events module settings, select that input format.
For #2, I'm not sure why you are seeing the wrong dates. I just put your calendar on my page and the dates showed up fine. I did fix some odd bugs with dates recently - what version are you running
For #3, that should get fixed when you set the input format like in #1
Comment #2
Se7enLC commentedJudging by the max-results=2500 in the URL, you're not running the dev version - try giving the dev version a try, I think I fixed some of the odd behavior with recurring events in it.
I'm thinking I need to make another official release soon, there are a number of bugs with recurring events that are fixed with the dev version.
Comment #3
ch_apel commentedSe7enLC,
Adjusting input filter and installing dev version definitely helped. Now, all I'm looking at is the events are slightly staggered. Could unchecking 'item list' in the general settings (#1 above from your comment)? I couldn't find where to go for that. I did notice that a class ".item-list" is used on this area at some level.
You can go here now to check the events list.
Thanks for all of your help!
Comment #4
Se7enLC commentedI just checked the page you linked - it definitely looks like it is using the "Item List"
The checkbox to disable it should be on Administer | GCal Events module Settings, right underneath the debug settings and input format. Unchecking that box should solve the problem - let me know if you can't find that box
Comment #5
ch_apel commentedYou are awesome! Thank you so much!! Looks great!
(Item List wasn't there until I installed dev version)
You wouldn't happen to know if there is a way to have some, at least, filtered HTML from the DESC element would you? (Notice the EM in the first event) No sweat if not. I have already asked enough of you and am totally content. That would just be the cherry on top if you happen to know.
Thanks a million!
Comment #6
Se7enLC commentedI just took a look at trying to get HTML from the title and description fields. Looks like google is escaping the HTML in those fields for the XML file (which makes sense). To get the tags back, it would just take un-encapsulating the tags (switching from < to <, etc). I'll put that on the feature-request list for the next time I get a minute to work on it.
Comment #7
jdwfly commentedClosing old support request.