Forum Replies Created
-
AuthorPosts
-
Barry
MemberHi yoyo, I’m sure this is possible and for instance the upcoming event list is fairly close to what you want here insofar as it only displays current/future events, not passed events.
So you could make this the default view by changing the setting found at Events > Settings > General > Default view for the Events.
Of course, that is formatted pretty much as a straightforward list so you would need to spend some time customizing and perhaps tabulating the data to get a calendar-grid-like appearance.
Quite possibly there are other ways to tackle this, too, but I think personally I might start with this approach since altering the month view could be tricky, due to the month query being effectively hard-wired to pull data starting with the 1st day of the month.
Barry
Member@Rich, feel free to observe this thread – however if it starts looking like you may actually have a different problem (or that the cause of the problem is something other than that for Adi/Salil) then I’d respectfully ask that you open a new thread and I or a fellow team member will help you there 🙂 … just helps to keep things clearer.
Barry
MemberSorry to hear you are both experiencing problems here.
@Salil/Adi (fantastic looking website, by the way) I’m guessing you meant to post this as the link: http://thegloballocal.in/social-calender/ as the link you provided goes to a 404 Page Not Found … certainly at the former URL I can see the problem for sure.
What I suspect – especially given the fact that you guys have clearly put a lot of effort into customizing the appearance of your calendar – is that this may be an issue with your table-mini.php template. Can you try reverting to the original table-mini.php template (contained within wp-content/plugins/the-events-calendar/views) and see if that helps?
If that is the case, just bear in mind the following warning contained in the original template:
the div tribe-events-widget-nav controls ajax navigation for the calendar widget. Modify with care and do not remove any class names or elements inside that element if you wish to retain ajax functionality.
Of course if that isn’t the problem, please just let me know and we can go from there 🙂
(Also, on a completely unrelated note, consider posting your site on our Showcase thread!)
November 1, 2012 at 5:50 am in reply to: Cannot change time format on calendar tooltip (table.php) #27427Barry
MemberSure, take a look at setting the locale for the PHP runtime.
October 31, 2012 at 1:46 pm in reply to: The Events Calendar Pro causing unexpected text in the event display #27409Barry
MemberThanks Craig – quite interesting. Here’s the problem code http://pastebin.com/bBwYTdru – basically, where there should be a link to Add to Google Calendar a style element is being injected right inside the href attribute.
This is of course “illegal” HTML and shouldn’t be happening. Even more interestingly, the exact same style element http://pastebin.com/jsUj9Dbu can be found throughout the page in various places, which is strange both because style element belong in the head of the document and because the exact same CSS is being repeated so many times.
There are a few possibilities here.
1. Another piece of code, whether in your theme or another plugin, is filtering the output of the tribe_get_gcal_link() template tag, using the aptly named “tribe_get_gcal_link” filter, and is inserting the style element (even though it shouldn’t be).
2. You, a colleague or a designer you have employed has customized the single.php template. The piece of code responsible for generating the GCal link (which looks like this http://pastebin.com/AT0wD9vn and can be found around lines 120-122) may have been modified.
3. Another piece of code is somehow injecting this into the page via some different means. I don’t really see anything in the standard templates that ship with our plugins that would create the particular pattern of mark-up.
Either way, the problem is that a style element is being injected into the page and I feel pretty confident that this is the result of something other than our plugins.
Does that give any clues at all that might help you to resolve this?
Barry
MemberIf you look in the plugin directory itself and then within the views directory, so:
wp-content/plugins/the-events-calendar/views/
You should see the following templates:
- ecp-page-template.php
- ecp-single-template.php
- events-list-load-widget-display.php
- full-address.php
- gridview.php
- list.php
- single.php
- table-mini.php
- table.php
Since you have upgraded, please also check your theme’s events directory – the path to which will be something like:
wp-content/themes/{YOUR-THEME}/events/If any of the above template files are contained in here, and are “left overs” from an earlier version of The Events Calendar, then you may need to replace them. For instance if ecp-page-template.php is in your theme’s events directory and it is not the same as the template found in the plugin’s views directory then you may have to overwrite the theme version with the latest plugin version (or delete that directory from your theme).
Does that help?
Barry
MemberHi Dawn – yeah that does look a touch untidy.
Can I ask you to login to your dashboard and navigate to Events > Settings > Template … what is the Events Template option set to? If you experiment with this a little (at the least try switching between Default Events Template and Default Page Template) do you get any closer to the result you want?
October 31, 2012 at 6:14 am in reply to: Events Advanced List Widget – End Date Check Box Not Working #27391Barry
MemberHi Mike, I’m inclined to close this thread since there isn’t a great deal more I can do for you here, but please just let me know by email ([email protected]) if you disagree and/or open a new thread.
Thanks!
Barry
MemberHi Ken – sounds like you’re all sorted here?
Barry
MemberHi Stefhan: I can pretty much run the same query locally (at the top of the list.php template) and I still see events, it doesn’t result in a blank page.
I’m guessing you’re not actually passing date as you have done in your paste and that’s just to give us a general idea of what you are doing … or have you actually defined this as a constant?
Barry
MemberHi Matthew, the only way I can replicate this is by using the incorrect API key … can you confirm that the relevant key has been entered for each user who is carrying out these actions?
October 31, 2012 at 5:52 am in reply to: The Events Calendar Pro causing unexpected text in the event display #27387Barry
MemberHow strange. Is this the correct URL?
http://216.172.187.87/~wwwchand
(If so, I took a look at this event but couldn’t identify the problem.) If you could give me instructions to let me see this that would be great.
Thanks!
Barry
MemberHmm, unfortunately I am not at all familiar with Poly Lang.
Do you mean that Poly Lang doesn’t work with pretty permalinks, or just doesn’t work with The Events Calendar (regardless of whether the permalinks are pretty or not)?
Unfortunately, default permalinks don’t work as smoothly as they might with The Events Calendar. My understanding is that the component responsible for this, WP Router, may be retired from service in a future version and so we might look forward to a happier situation in one of our future releases.
Barry
MemberMight you be better to seek support from Dreamhost and/or WordPress on this one?
Barry
MemberOK, great. So if I visit http://clubtnt.eu/events/ it looks as though both the navigation (above your header image) and the events calendar itself are displaying, albeit there are some formatting issues in there.
Are you able to maintain pretty permalinks – and does that address the basic problem here?
-
AuthorPosts
