Default style options?

Home Forums Calendar Products Events Calendar PRO Default style options?

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #932802
    Dieter
    Participant

    Hi guys, it’s me again… πŸ˜‰

    I saw, there should be 3 default style options. My problem is, I can’t find them under Events -> Settings -> Display. Have I done something wrong or why is this missing?

    Cheers,
    Dieter

    #932839
    Geoff
    Member

    Hey Dieter, welcome back!Β Nice to see you again and sorry you’re hitting some trouble with the styling options in the settings. Let’s see if we can sort out what’s happening. πŸ™‚

    I notice that you’re using the Enfold theme and unfortunately, this is a known issue that is caused by the theme intentionally stripping those options out. Are you able to confirm this by switching to a default WordPress theme to see if the options return?

    I’ve seen this pop up before and it was the result of the theme taking those out, so let’s start there and see what we find.

    Cheers!
    Geoff

    #932850
    Dieter
    Participant

    Hey Geoff, thanks for your anwser. I just tried the default theme and what should I say? It works. ;-(

    Not that I’m happy that it works with this theme, no I’m unhappy that it doesn’t with Enfold. What can I do?

    Cheers,
    Dieter

    #932858
    Geoff
    Member

    Well, I’m glad we know the answer, but I’m also bummed that’s the cause because there’s really nothing we can do on our end. My understanding is that the theme does this intentionally, which really blocks our ability to fix it.

    Your best bet, unfortunately, is to contact the theme author and ask for guidance on how to remove the code that is blocking that functionality from properly working.

    Sorry I don’t more to offer here, but I hope this at least sheds some light on what’s happening and provides some direction on where to go next.

    Cheers!
    Geoff

    #932861
    Geoff
    Member

    Quick update: one of my teammates let me know about this thread on the Enfold support forum:

    Enfold 3.0 and Tribe Events Calendar 3.8

    The answer in there should help remove the coding that blocks the styles from appearing. Give that a shot and hopefully that does the trick. πŸ™‚

    Geoff

    #932901
    Dieter
    Participant

    After a lot of reading and detective work, I found a possible solution. It sits in the file

    themes/enfold/config-events-calendar/config.php:

    //edit/remove some of the options from display tab
     if(!function_exists('avia_events_display_tab'))
    {
    	add_action('tribe_display_settings_tab_fields', 'avia_events_display_tab', 10);
    	
    	function avia_events_display_tab($options)
    	{
    		$edit_elements 	= array('info-start', 'info-box-title', 'info-box-description', 'info-end', 'stylesheetOption', 'tribeEventsTemplate', 'tribeDisableTribeBar'); 
    		$options 		= avia_events_modify_options($options, $edit_elements);
    		
    		return $options;
    	}
    }

    Commenting this out does the trick and the display options for the calendar are visible in admin. I’m not sure what this little guy here does:

    add_action('tribe_display_settings_tab_fields', 'avia_events_display_tab', 10);

    or this one:

    'tribeDisableTribeBar'

    I think you or one of your teammates knows that.

    #932925
    Geoff
    Member

    You’re the man! Thanks for sharing that–it will be super useful for others who run into the same issue. Nice job.

    I’ll go ahead and close this thread, but please don’t hesitate to start a new one if anything else pops up–we’d be happy to help. πŸ™‚

    Cheers!
    Geoff

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Default style options?’ is closed to new replies.