Forum Replies Created
-
AuthorPosts
-
June 14, 2015 at 3:42 pm in reply to: Are missing semicolons in templates causing my funky sidebars? #969346
Cynthia Lockley
ParticipantInteresting. I had that 404 problem a few versions back for days that had no event and I was given a function to add to my functions.php file. It worked for stopping the 404s but now the problem with the sidebar started. I downloaded the no404s file and edited my functions file to delete the old function then activated the plugin. I did this for my prod. and test sites.
In the test site (version 3.10) it fixed the Week View but not the Day View.
http://competition.stcwdc.org/events/today/?tribe-bar-date=2015-06-14
In the production site (version 3.9.3) there are now three views that have messed up sidebars: Week, Day, and Map views.
http://events.stcwdc.org/events/week/?tribe-bar-date=2015-06-14
http://events.stcwdc.org/events/today/?tribe-bar-date=2015-06-14
http://events.stcwdc.org/events/map/?tribe-bar-date=2015-06-14October 20, 2014 at 6:53 pm in reply to: Upcoming Events There are no upcoming events at this time. #823125Cynthia Lockley
ParticipantI’ve seen this in many forum answers:
“3. Purchase a Pro license to get more support: http://m.tri.be/11. As mentioned in the sticky thread, we can provide both a deeper and more frequent level of support for PRO users.”
So this is the full extent of the deeper PRO support now–vague references? I looked at the vars at the top of list-widget.php and those vars don’t seem to have anything to do with getting the next month’s events: $start, $end, $venue, $address, $city, $state, $province’], $zip, $country, $phone, $cost“You can either use that variable and find a filter to change it or you can create your own custom loop and get the next months events.” How about a hint as to where one finds the filters to look through?
October 20, 2014 at 11:53 am in reply to: Upcoming Events There are no upcoming events at this time. #822100Cynthia Lockley
ParticipantI have made several attempts to modify a child theme version of the list-widget.php and the mini-calendar-widget.php but no luck. My client wants to see a list of the events for the upcoming months as well as the mini-calendar. I was thinking it would be easier to just comment out the list under the mini-calendar but that didn’t working.
In the mini-calendar-widget file, I tried commenting out the PHP code on line 29 for the list. The list still shows.After reading through the files plus the loop.php file, I tried the following variations: in the list-widget file, I tried changing line 38 from $link_to_all = tribe_get_events_link();
to $link_to_all = tribe_get_next_events_link();
and to to $link_to_all = tribe_get_next_events_link(6);
and to to $link_to_all = tribe_get_next_events_link(upcoming);
and to to $link_to_all = tribe_get_next_month(upcoming, events);
None of these attempts made a difference. It isn’t breaking anything but it isn’t fixing anything.At first I put the files in the child themes tribe-events folder where I have other modifications but that didn’t work. Next I tried creating a view folder with a widgets folder for the files to go into.
Obviously, I’m not a PHP programmer. I did look at the documentation at http://docs.tri.be/Events-Calendar/function-tribe_get_events_link.html but that was of no help. It just tells me where tribe_get_events_link() is and that it spits out a URL. Nothing about how it works, how to make modifications to it, what are the possible modifications that can be made? What am I doing wrong?
October 18, 2014 at 1:47 am in reply to: Upcoming Events There are no upcoming events at this time. #817179Cynthia Lockley
ParticipantHi Brian,
I deleted the Upcoming Events Widget and put the Events List widget in its place. It now shows all upcoming events up to the number I specified. But–The Calendar widget displays a list of the upcoming events for this month. This new Events List includes the remaining upcoming events for this month with the ones for upcoming months. Is it possible to only list the ones for upcoming months in this new Events List? Or is it possible suppress the list of remaining events for this month displayed below the calendar? Two widgets showing repeated information is redundant and really lengthens the sidebar.
I have several customized functions and customized CSS for the plugin but I don’t have customization for the Events List widget.
Yes, I use WP Super Cache.Cynthia Lockley
ParticipantI logged out that night and let it sit. In the morning, I tried again. The Pro and Tickets plugins were colored pink but there were still no update links. I logged out again. In the afternoon, I logged back on and tried again. This time the update links were there and I was able to do the rest of the updates. Is there a specific order we should do them in? I thought it would be good to start with the base plugin (not the Pro) but doing that is what wiped out the other update links.
Cynthia Lockley
ParticipantThanks for the 3.5.1 hotfix. It resolved my problem with the missing post and event titles in the main blog posting loop.
Cynthia Lockley
ParticipantI think I’ve found out why the Day view has a mangled sidebar and other second-level pages don’t have the same styling as the first-level pages for the upcoming events in the sidebar. I compared the source for a first-level page and a second-level page and several stylesheets are not being brought into the second-level pages. How do I get the following lines to be included in the second-level page headers? The following stylesheets in the first-level pages are missing in the second-level pages:
<link rel=’stylesheet’ id=’tribe-events-full-calendar-style-css’ href=’http://events.stcwdc.org/wp-content/plugins/the-events-calendar/resources/tribe-events-full.min.css?ver=3.5.1′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’tribe-events-calendar-style-css’ href=’http://events.stcwdc.org/wp-content/plugins/the-events-calendar/resources/tribe-events-theme.min.css?ver=3.5.1′ type=’text/css’ media=’all’ />
<link rel=’stylesheet’ id=’tribe-events-calendar-full-mobile-style-css’ href=’http://events.stcwdc.org/wp-content/plugins/the-events-calendar/resources/tribe-events-full-mobile.min.css?ver=3.5.1′ type=’text/css’ media='(max-width: 768px)’ />
<link rel=’stylesheet’ id=’tribe-events-calendar-mobile-style-css’ href=’http://events.stcwdc.org/wp-content/plugins/the-events-calendar/resources/tribe-events-theme-mobile.min.css?ver=3.5.1′ type=’text/css’ media='(max-width: 768px)’ />
<link rel=’stylesheet’ id=’tribe-events-calendar-override-style-css’ href=’http://events.stcwdc.org/wp-content/themes/twentyeleven-child/tribe-events/tribe-events.css?ver=3.8.1′ type=’text/css’ media=’all’ />Cynthia Lockley
ParticipantI gave that a try and it didn’t help. I’ve rolled back to the previous version until this is fixed. One of the other problems I had was that the 3.5 release had also forced an increase in the grid size and fonts. I added CSS to my child theme to set the fonts to 98% and to set the grid table to not be set to fixed because I need it to be flexible with my theme. I am hoping this will help when the 3.5 release is fixed for the headers problem. I am wondering how a fixed-width grid table works with responsive design?
Cynthia Lockley
ParticipantThanks. I went there but it only lists 3.4. I thought there was a 3.4.1 released when The Events Calendar 3.4.1 was release?
Cynthia Lockley
Participant5. I also have this question. My calendar view on my home page had larger fonts and overlapped day names after I upgraded to 3.5. As there were other problems with this upgrade, I dropped back to 3.4 for now. It would be very helpful to have just one set of CSS rules for headers so they are consistent. Trying to find where the specific CSS is for particular parts of the calendar is a real headache. If I can find it, I’ll add my mods to my child theme’s style sheet. But sometimes, you can fix it in one place but not in another place. Some hidden CSS elsewhere overrides it.
Cynthia Lockley
Participant@Andy Fragen Thanks for including the link to the WordPress Plugins forum about this problem. I now see why the headers are missing but don’t understand why ModerTribe would do a display:none for the headers. Anyway, I disabled the plugin and reinstalled the-events-calendar 3.4.1. All post headers are back now and the month view head day header is back to a smaller font so the words don’t overlap.
Cynthia Lockley
ParticipantInteresting–I took out the add to the css and things went back to “normal”. I put it back into the css and uploaded that but the same thing did not happen. It had effect on the month calendar header or the headers in the sidebar. Now I’m confused!
Cynthia Lockley
ParticipantAdditionally, it did not help with the display of the headers in the posts in the loop.
Cynthia Lockley
ParticipantThanks Andy. That is close. It helped a bit with the month display in the calendar on the home page but it affected the widget headers. They are now a long stretch of hyphenated words. See the sidebar in http://events.stcwdc.org
Cynthia Lockley
ParticipantWell, that bounced. I will repeat the email message below but I don’t know how to submit the zip file for you to look at. You will need to look at the screen captures here:
http://imageshack.com/a/img837/1963/i3su.png
http://imageshack.com/a/img856/8413/2atg.png
http://imageshack.com/a/img823/4310/g6pc.pngScreen captures: two each before (Good…) and after (Bad…) screen captures. They show the two problems (it only affects the home page calendar view)–not the calendar calendar view). The problems show on the home page: http://events.stcwdc.org
1- The header in the month calendar has increased the font size and the words scrunch together.
2- The headers for all posts in the main blog loop are missing–this affects the post / event title and the number of comments bubble. Without the headers, no one can click on the post or event. It is curious that this problem affects the headers for both Event posts and regular posts so I am wondering if it is a problem in the functions.php file. (I’ve attached a copy of the child theme’s functions.php file so you can see the five mods there for the Events Calendar–3 in the middle and 2 at the bottom. Look for the ones marked “// Events Calendar fix”)Our chapter members wanted to see the month view on the home page so ModernTribe support figured out a way to do that with modifications to the plugin in the Twenty Eleven child them.
1- An addition to the themes’ index.php file
<?php /* Start the Loop */ ?><?php
//
// Put Events Calendar version 3 on home page
//
tribe_show_month();
?><?php while ( have_posts() ) : the_post(); ?>
2- Plus other mods to the functions.php file
“So after consulting a few team members we came up with this as a customized solution:First you will have to add this code (from the link) to your functions.php file:
https://gist.github.com/neillmcshea/e02186aa700db743aa41This will ensure all that the proper css and javascript have been enqueued in the theme header.”
The full discussion is in
https://tri.be/support/forums/topic/lost-display-of-calendar-on-home-page-after-update-to-3-0-1/Supposedly, putting the month view on the home page was supposed to become an option in a future update but it still isn’t provided as an option.
I have added a zip file of all the workarounds done for the calendar in my child theme if that helps. There are additional style mods in the child style.css starting at Line 382 marked by
/* ~~~~~~~~~~~~~~ EVENTS CALENDAR STYLES ~~~~~~~~~~~~~~~~~ */
/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/I use this same style sheet (minus the Events Calendar styles) in two other subdomains of the site and the headers all appear there.
http://wdcb.stcwdc.org
http://jobs.stcwdc.orgThe headers all work in other pages on the http://events.stcwdc.org site just not in the main posting loop.
Cheers,
Cynthia A. Lockley
http://imageshack.com/a/img841/8934/hyol.png -
AuthorPosts
