Tagged: 

Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #630200

    Hi guys,

    Is enfold compatible with woothemes’ plugin Sensei?

    I have a new client who wants to have a teaching site and I’ve recommended to use Enfold (again) but need the capability of closed of student area and their own profile pages with the classes they’ve completed etc.

    If Sensei isn’t compatible, can you recommend another plugin or a way to do this?

    Thanks,

    Krissie

    #630268

    Hey Krissie!

    Yes, Enfold is actually compatible at tested with Sensei, latest version.
    I did checked ir right now and seems that there was no issues at all.
    if you do find something, feel free to let us know and we will make sure to fix it.

    Thanks a lot

    Best regards,
    Basilis

    #634424

    Hi Basilis, the opening and closing wrappers are missing for Sensei. Just checked on a new site with latest Enfold + Child installed. Missing sidebar too. Styles are not from Enfold. Any tips?

    #635069

    Hi,

    The plugin is compatible but not fully configured in the theme. The plugin will use its own styling. Please give us a link to the page, we would like to check it.

    Best regards,
    Ismael

    #635076

    Hi Ismael, the site is https://innerlife-rabe.de/courses-overview/

    I followed Peters thread and dowloaded the start- and end-wrappers. But since Sensei 1.9 some changed in Sensei and I tried changing the wrapper files in that way, but I am not happy with what I have done.

    Start-wrapper:

    <?php
    if ( ! defined( 'ABSPATH' ) ) exit;
    /**
     * Content wrappers
     *
     * @author 		Automattic
     * @package 	Sensei
     * @category    Templates
     * @version     1.9.0
     */
    
    global $avia_config;
    
    	/*
    	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    	 */
    	 get_header();
    
     	 if( get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title();
     	 
     	 do_action( 'ava_after_main_title' );
    	 ?>
    
    		<div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
    
    			<div class='container'>
    
    				<main style='padding-right:40px' class='template-page content  <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>

    End wrapper:

    <?php
    if ( ! defined( 'ABSPATH' ) ) exit;
    /**
     * Content wrappers
     *
     * @author 		Automattic
     * @package 	Sensei
     * @category    Templates
     * @version     1.9.0
     */
    
                        ?>
    
    				<!--end content-->
    				</main>
    
    				<?php
    
    				//get the sidebar
    				$avia_config['currently_viewing'] = 'page';
    				get_sidebar();
    
    				?>
    
    			</div><!--end container-->
    
    		</div><!-- close default .container_wrap element -->
    
    <?php get_footer(); ?>

    And extra styles in Enfold Child styles.css:

    #top.single-lesson #comments{ clear: both; padding-top: 30px; }
    
    header.archive-header {margin-bottom: 30px;}
    
    div.nav-next.fr, div.nav-next.fl { padding-bottom: 30px;}
    
    section.course-meta, section.sensei-breadcrumb {padding-top: 30px;}
    
    /*.container_wrap, .main_color, .sidebar_right {padding-top: 30px;} */
    
    ol#sensei-quiz-list {padding-left: 25px; padding-right: 25px;}
    
    #main .course, #main .course-container, #main .lesson, #main .lesson-container { padding-top: 30px;}

    Beside I saw in Sensei docs that they gave us with Sensei 1.9 another way integrating Sensei in a theme by writing some code in functions.php of theme. But I was unsure doing it in that way.

    Thanks, Adrian

    #635650

    Hi!

    The sensei container is wrapped inside the main container along with the sidebar, so it looks correct. Thank you for sharing this.

    Regards,
    Ismael

    #644222

    Here is the documentation on how to specify your own start and end wrappers in you functions.php file.

    https://docs.woothemes.com/document/sensei-and-theme-compatibility/

    I am using the enfold child theme and have pasted all the code below as the directions specify.

    add_filter( ‘sensei_load_default_supported_theme_wrappers’, ‘__return_false’ );
    global $woothemes_sensei;
    remove_action( ‘sensei_before_main_content’, array( $woothemes_sensei->frontend, ‘sensei_output_content_wrapper’ ), 10 );
    remove_action( ‘sensei_after_main_content’, array( $woothemes_sensei->frontend, ‘sensei_output_content_wrapper_end’ ), 10 );
    add_action(‘sensei_before_main_content’, ‘my_theme_wrapper_start’, 10);
    add_action(‘sensei_after_main_content’, ‘my_theme_wrapper_end’, 10);

    function my_theme_wrapper_start() {
    echo ‘<div id=”container”><div id=”content” role=”main”>’;
    }

    function my_theme_wrapper_end() {
    echo ‘</div><!– #content –>
    </div><!– #container –>’;
    get_sidebar();
    }

    Instead of the functions my_theme_wrapper_start and my_theme_wrapper_end, what are the actual functions I should place here in this child functions.php?

    #645258

    Hi,


    @jmerithew
    : Is this working? Could you please provide a link to the page with the sensei plugin?

    Best regards,
    Ismael

    #757455

    Hi Friends,
    I just installed Sensei v 1.9.12 and unfortunately it is not working correctly in my Enfold Child Theme (Enfold 4.0.2). I get a warning on my WP Dashboard that “Your Theme does not declare Sensei support”.

    I installed the sample data and pages for Sensei and they do not function properly in my theme. Here is the URL to one such demo page.

    Trying to follow the Sensei suggested mods to the Sesei content wrappers has not yet worked for me. Those instructions are here.

    Any help is greatly appreciated, I will keep trying to get things to work.

    #757588

    Hey!

    The solution here

    must still work and been active. Have you tried that solution?

    Cheers!
    Basilis

    #947541

    Hi there Is it now possible to fully use the enfold theme in sensei?

    #948827

    Hi,

    The theme has no native configuration for the Sensei plugin, so you have to implement the modifications above.

    Best regards,
    Ismael

    #949483

    ok thank you

    #950448

    Hi,

    Thanks for the feedback. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #955459

    Hey guys
    does anyone have a working solution for integration? If so, would someone be willing to give guidance?
    I’ve tried a lot and read more. Unfortunately, it usually ends up in a white page with error codes.

    I would be very grateful.

    #955658

    Hi DJ_Wolfgang,

    Can you please check server log for error?

    Here is how to find it: http://snapcreek.com/blog/wordpress-error-log-friend/

    Best regards,
    Victoria

    #1078996

    Any solutions yet? I can’t get sidebards to show on courses or lessons.

    #1079602

    Hi ahouglum,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1080056

    Sure… The issue we are having are multiple. Using the advanced editor took a little hacking and enfold doesn’t honor sensei theme files in the enfold-child folder.

    #1081434

    Hi,

    The site is not loading properly on our end. Please check the url. If possible, please open a new ticket or thread so that we can close this one.

    Best regards,
    Ismael

    #1081478

    Sorry wrong URL.

    #1082463

    Hi,

    Thanks for the update.

    We don’t really see any errors on the page. Could you enumerate the issue on another thread or ticket? Some screenshots will help. Please continue on the next thread.

    Best regards,
    Ismael

Viewing 22 posts - 1 through 22 (of 22 total)
  • The topic ‘Is Enfold compatible with Sensei?’ is closed to new replies.