Forum Replies Created
-
AuthorPosts
-
October 22, 2012 at 4:08 pm in reply to: Moving wordpress site to root caused the event listing to show directory listing #26999
Barry
MemberGlad you got there!
Barry
MemberCool – thanks for getting back to us with the fix, could be useful for someone else out there 🙂
Barry
MemberOne approach could be to handle this at query level, and pull out a list of only those months in a given year (or date range) that contain events.
Barry
MemberHi Andrew – does this resource from our documentation help?
Barry
MemberHi Sean. I put this snippet together to answer someone else’s question, but figured it might be useful here too: http://pastebin.com/adcVxb0R
That should work (it does for me!) so perhaps you could use it as a template?
October 22, 2012 at 3:04 pm in reply to: Odd character behind first letter in Events List Advanced Widget #26990Barry
MemberNo problem 🙂
October 22, 2012 at 2:51 pm in reply to: get_tribe_events() – start_date and end_date not working #26988Barry
MemberHey Nick, I’m unsure why you are having problems. This snippet works as I would expect it to: http://pastebin.com/adcVxb0R (returning up to 8 events in October where the category is as specified).
Perhaps the context of your code or something else is impacting?
Barry
MemberHi Sandro, Leah asked me to chip in here. What I would suggest is making a change to your custom events/table.php template.
You will find a function in there called display_day() … see my amended version here http://pastebin.com/ycH1jipB which dictates the number of displayed events per cell.
All you would really need to do is decide on how you want to control this (so you can change the variable in different situations). I’d recommend a filter, but really you should use whatever approach you are most comfortable with.
Barry
MemberHi Wojciech,
It may be that the relevant strings have not been translated in tribe-events-calendar-pl_PL.mo (and .po).
#: ../lib/the-events-calendar.class.php:295
msgid “upcoming”
msgstr “”A corresponding entry to the above would have to be created … if you are able to do this and send the revised translation to us that would be excellent (you can email it to [email protected]).
Unfortunately there is not a lot more I can say, none of us are particularly expert in making translations – but there is certainly a good summary of what to do on the WordPress codex.
Thanks for contacting us!
Barry
MemberHi Mark, I can’t point to a specific line in your stylesheet (it’s been minified and cached) but something in there is overriding the styling for those arrows.
They should be positioned using absolute positioning as defined in events-mini-ajax.css however this is changed by (I’m guessing your Headway theme?) to static positioning, hence the odd appearance.
Does that help at all?
October 22, 2012 at 1:21 pm in reply to: get_tribe_events() – start_date and end_date not working #26980Barry
MemberHi Nick, can you try expressing the dates in the following format?
Y-m-d H:i:s
Barry
MemberI think the strategy I would employ here is to use template overrides and make use of ecp-page-template.php and ecp-single-template.php.
That way you can keep the sidebar in single event views and dispose of it on month calendar views – there is some good information about template overrides here – does that help?
Barry
MemberSo what you mean is, you are having problems when you select One column, no sidebar from Events > Settings > Templates > Events Template?
October 22, 2012 at 1:05 pm in reply to: Odd character behind first letter in Events List Advanced Widget #26975Barry
MemberHey Bob, I think this may be to do with your theme. The strange character is actually an image:
Looks to me like this is defined in the rule starting line 2199 of your theme’s style.css stylesheet.
Barry
MemberI’ll close this one out unless you need further support? I did email Steve but I don’t believe we got any replies or further questions from that direction.
-
AuthorPosts
