Forum Replies Created

Viewing 9 Topics - 1 through 9 (of 9 total)
Author Posts
September 23, 2014 at 1:52 am in reply to: Dokan plugin issues (Dashboard & Store pages) 27256
Thomas Thomas

Tareq,

Ok, we are making progress. I was able to get sidebar-store and the corresponding widgets to render by adding the Dokan 2.0 theme sidebar-store.php file to my theme directory.

While it is functional, the sidebar is using the styling from my theme vs. the styling from the Dokan plugin. Is this expected? Or do the widgets come with styling like the rest of the assets? If so, how do I fix this?

Thanks,
Tom

September 23, 2014 at 1:21 am in reply to: Dokan plugin issues (Dashboard & Store pages) 27249
Thomas Thomas

Hi Tareq,
You happened to look at the page when I was testing something :). There are definitely sidebars on this theme.

I am using this function on the store.php page…

<?php get_sidebar( 'store' ); ?>

This is the code on the sidebar-store.php page…

<?php
$store_user   = get_userdata( get_query_var( 'author' ) );
$store_info   = get_user_meta( $store_user->ID, 'dokan_profile_settings', true );
$map_location = isset( $store_info['location'] ) ? esc_attr( $store_info['location'] ) : '';
?>
 
<div id="secondary" class="col-md-3 clearfix" role="complementary">
    <button type="button" class="navbar-toggle widget-area-toggle" data-toggle="collapse" data-target=".widget-area">
        <i class="fa fa-bars"></i>
        <span class="bar-title"><?php _e( 'Toggle Sidebar', 'dokan' ); ?></span>
    </button>
 
    <div class="widget-area collapse widget-collapse">
 
        <?php
        if ( ! dynamic_sidebar( 'sidebar-store' ) ) {
 
            $args = array(
                'before_widget' => '<aside class="widget">',
                'after_widget'  => '</aside>',
                'before_title'  => '<h3 class="widget-title">',
                'after_title'   => '</h3>',
            );
 
            if ( class_exists( 'Dokan_Store_Location' ) ) {
                the_widget( 'Dokan_Store_Category_Menu', array( 'title' => __( 'Store Category', 'dokan' ) ), $args );
                the_widget( 'Dokan_Store_Location', array( 'title' => __( 'Store Location', 'dokan' ) ), $args );
                the_widget( 'Dokan_Store_Contact_Form', array( 'title' => __( 'Contact Seller', 'dokan' ) ), $args );
            }
 
        }
        ?>
 
        <?php do_action( 'dokan_sidebar_store_after', $store_user, $store_info ); ?>
    </div>
</div><!-- #secondary .widget-area -->

I am getting the following parse error when trying the above implementation….

Parse error: syntax error, unexpected ‘{‘ in /home/tdrugan/public_html/wp-content/themes/organique/sidebar-store.php on line 16

Here is the link to the test store page…

https://www.brumberry.com/store/brumberry-store-demo/

September 22, 2014 at 9:51 pm in reply to: Dokan plugin issues (Dashboard & Store pages) 27227
Thomas Thomas

Ok, I was able to fix the dashboard fatal error within my theme files.

I tried to add the Dokan widgets to both my sidebar and “shop filter store” sidebar. Neither are appearing on the store pages.

I am still getting the default sidebar, and it is appearing above the store page content. Here is the link again…

https://www.brumberry.com/store/brumberry-store-demo/

Any ideas of what is happening here?

September 22, 2014 at 6:26 pm in reply to: Dokan plugin issues (Dashboard & Store pages) 27191
Thomas Thomas

Ok, i added the file to my theme directory. I am now getting the following error…

Parse error: syntax error, unexpected ‘{‘ in /home/tdrugan/public_html/wp-content/themes/organique/sidebar-store.php on line 16

Here is a direct link: https://www.brumberry.com/store/brumberry-store-demo/

Also, are you able to help with the fatal error detailed above that is happening on /dashboard? Thanks.

September 22, 2014 at 7:47 am in reply to: Dokan plugin issues (Dashboard & Store pages) 27165
Thomas Thomas

I retried resetting the permalinks and it fixed the 404’s for the store pages. The good news is the page is rendering, the bad news is the layout is messed up. Standard sidebar widgets are appearing above the store content, and the store content is stretched across the entire screen.

https://www.brumberry.com/store/brumberry-store-demo/

August 16, 2014 at 10:01 am in reply to: eShopper Cart Drop down Styling Issue 25253
Thomas Thomas This reply has been marked as private.
August 16, 2014 at 8:12 am in reply to: eShopper Cart Drop down Styling Issue 25245
Thomas Thomas

After 5 days of no response, and other shortcomings I’m finding with the eShopper child theme, I’m moving back to the Dokan theme. Dokan doesn’t look as nice out-of-the-box, but it seems more stable from a UI and usability perspective.


@Christopher
– the landing page was set-up using a plug-in called “SeedProd Coming Soon Pro”. I and others can access the site using a backdoor URL that you can set-up via the plug-in.

August 13, 2014 at 7:37 am in reply to: eShopper Cart Drop down Styling Issue 25064
Thomas Thomas This reply has been marked as private.
August 11, 2014 at 11:47 pm in reply to: eShopper Cart Drop down Styling Issue 24989
Thomas Thomas This reply has been marked as private.
Viewing 9 Topics - 1 through 9 (of 9 total)