ThemeShaper Forums » Thematic

[closed]

sidebars disappear in jigoshop

(3 posts)
  • Started 1 year ago by EllenLeempoels
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. EllenLeempoels
    Member

    I'm currently studying for webdeveloper and I had to make a website using wordpress.
    I created a thematic child theme, with a lot of helpfull tips from this forum but now I still have a problem that even my teachter couldn't solve.
    I created a blogsite which has a 2 column-layout and I installed Jigoshop which I wanted to have a 3-column-layout. This,almost, works for the shop-page only using this function:
    // filter thematic_create_stylesheet to implement your own stylesheets
    function my_stylesheet($content) {
    // We test if we're on shoppage
    if (is_shop())
    {
    // yes, we are .. now let's load the 3c-fixed layout
    $content = "\t";
    $content .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"";
    $content .= get_bloginfo('stylesheet_directory') . "/shop-style.css";
    $content .= "\" />";
    $content .= "\n\n";
    } else {
    // we are not .. let's load the 2c-r-fixed layout
    $content = "\t";
    $content .= "<link rel=\"stylesheet\" type=\"text/css\" href=\"";
    $content .= get_bloginfo('stylesheet_directory') . "/style.css";
    $content .= "\" />";
    $content .= "\n\n";
    }
    // $content will be handed back to thematic_create_stylesheet
    return $content;
    }

    // connect the filter to thematic_create_stylesheet
    add_filter ('thematic_create_stylesheet', 'my_stylesheet');
    // Connect the filter to thematic_sidebar()
    add_filter('thematic_sidebar', 'remove_sidebar');

    I say almost because I have a 3-columlayout but lost my sidebars.
    Jigoshop also creates other page so i tried this:
    if (is_page(array('shop', 'my-account', 'cart'))but then nothing works.

    Can someone help me to create a 3-column-layout, with sidebars, on all the jigoshop page?

    Posted 1 year ago #
  2. Jump across to the home of Thematic's new Forum and check out this post which mentions the changes with Thematic and thematic_create_stylesheet.

    http://thematictheme.com/forums/topic/thematic_create_stylesheet-not-working-in-1-0-1/

    Posted 1 year ago #
  3. yeah.. please start bringing support requests to the new forum.

    i also wrote a post some issues people might face with the new changes
    http://www.kathyisawesome.com/433/thematic-upgrade-breaks-menu/

    Posted 1 year ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.