hristkop
Forum Replies Created
-
Hi @stevejburge ,
Thank you for the reply, I’ve managed to solve this, it wasn’t problem with the plugin but bad database import. Since I had this plugin installed, I thought that there is some problem with the user permissions.
For anyone having similar problem, I suggest first checking your database, does the admin user is really administrator and checking if wp_posts table have autoincrement value setup (or primary key). In my case, wp_posts table wasn’t imported right and the autoincrement value was lost, so I had posts with id=0.
Re-exporting and importing the database solved my problem.Thanks!
Forum: Plugins
In reply to: [The Events Calendar] Style days outside selected monthOk I’ve managed to solve this issue, so I’m marking it as resolved.
For anyone having a same issue, comparing $day[‘month_number’] with $grid_date solved my problem.
In /wp-content/plugins/the-events-calendar/src/views/v2/month/calendar-body/day.php :$month_compare = explode("-", $grid_date); //devide the string if ( $day['month_number']=== $month_compare[1] ) { $day_classes[] = 'tribe-events-calendar-month__day--current'; }else{ $day_classes[] = 'tribe-events-calendar-month__day--past'; }
Forum: Plugins
In reply to: [The Events Calendar] Style days outside selected monthDoes anyone have any idea how to solve this issue? How to compare $day[‘month_number’] with the selected month, not current month only ?
Thanks.Forum: Plugins
In reply to: [The Events Calendar] Style days outside selected monthI managed to solve this, the problem was that Enable the Month View Cache was selected. Unchecking the Events – Settings – Display – Enable the Month View Cache solved my problem.
Now, for the current month the days are fine, but if I select calendar for the next months, this isn’t working because I’m comparing :
$day[‘month_number’]=== $today_dateIs there a way to take the month that is selected(not the month of $today_date) so I could compare it with the $day[‘month_number’], in order this to work for all months and not only for the current?
Thanks.- This reply was modified 2 years, 12 months ago by hristkop.
Forum: Plugins
In reply to: [The Events Calendar] Style days outside selected monthHello, thanks for the quick answer. I’ve tried to override the template :
/wp-content/plugins/the-events-calendar/src/views/v2/month/calendar-body/day.php
but nothing changes on the month view, the classes stay the same.Am I using the wrong file or what could be the mistake?
Thanks!
Forum: Plugins
In reply to: [Social Share For WooCommerce] Icons styleI’ve successfully customized the icons using custom css, so I will mark this as solved.
Forum: Plugins
In reply to: [The Events Calendar] Edit the default events template$post_type = TribeEvents::POSTTYPE;
if(!( is_single() && get_post_type()==$post_type )){ }This solved my issue.
Forum: Plugins
In reply to: [The Events Calendar] Upcoming events work fine only if I refresh pageAnother thing, if I Disable updated designs for all calendar views ( uncheck the Use updated calendar designs option) then it works fine, but I really like to use the updated designs for all calendar views so this is not a sollution.
Forum: Plugins
In reply to: [The Events Calendar] Upcoming events work fine only if I refresh pageLink to the page: https://motc.development.ivote.mk/events/
As I researched in more detail, I found out that when I click on the selectors (Month, List, Day) the view gets changed into mini calendar for a mobile display, and then, if I refresh the page the view gets back to normal. I don’t know what’s causing this issue.
Thanks!