Recent Topics

1 Aug 08, 2014 01:47    

I'm trying the Mystique Skin and all works well but the Tabbed Widget to the right is not showing Archives, could anyone help me with that?

Could the problem be how the archives are called here?

{
		if( ! $this->get_setting( 'tabbed_widget' ) ) return;
		
		?>
        <!-- tabbed content -->
        <li class="block">
          <div class="block-sidebar_tabs">
            <div class="tabbed-content sidebar-tabs clearfix" id="instance-sidebartabswidget">
              <ul class="box-tabs clearfix">
              	<?php
                echo '<li class="recentcomm"><a href="#instance-sidebartabswidget-section-recentcomments"
							title="'.$this->T_('Recent comments').'"><span>'.$this->T_('Recent comments').'</span></a></li>
                		<li class="popular"><a href="#instance-sidebartabswidget-section-popular"
							title="'.$this->T_('Popular posts').'"><span>'.$this->T_('Popular posts').'</span></a></li>
                		<li class="archives"><a href="#instance-sidebartabswidget-section-archives"
							title="'.$this->T_('Archives').'"><span>'.$this->T_('Archives').'</span></a></li>
                		<li class="tags"><a href="#instance-sidebartabswidget-section-tags"
							title="'.$this->T_('Tags').'"><span>'.$this->T_('Tags').'</span></a></li>
               			<li class="categories"><a href="#instance-sidebartabswidget-section-categories"
							title="'.$this->T_('Categories').'"><span>'.$this->T_('Categories').'</span></a></li>';
				?>
              </ul>
              <!-- tab sections -->
              <div class="sections">
                <div class="box section" id="instance-sidebartabswidget-section-categories">
                  <div class="box-top-left"><div class="box-top-right"></div></div>
                  <div class="box-main">
                    <div class="box-content">
                      <ul class="menuList categories"><?php $this->display_list_cats(); ?></ul>
                    </div>
                  </div>
                </div>
                <div class="box section" id="instance-sidebartabswidget-section-tags">
                  <div class="box-top-left"><div class="box-top-right"></div></div>
                  <div class="box-main">
                    <div class="box-content">
                      <div class="tag-cloud">
                        <?php
						  skin_widget( array(
							  // CODE for the widget:
							  'widget' => 'coll_tag_cloud',
							  // Optional display params
							  'block_start' => '',
							  'block_end' => '',
							  'block_display_title' => false,
							  'tag_cloud_start' => '',
							  'tag_cloud_end' => '',
							  'tag_separator' => "\n",
							  'tag_min_size' => 8,
							  'tag_max_size' => 20,
							  'max_tags' => $this->get_setting('display_tags'),
						  ) );
						  ?>
                      </div>
                    </div>
                  </div>
                </div>
                <div class="box section" id="instance-sidebartabswidget-section-archives">
                  <div class="box-top-left"><div class="box-top-right"></div></div>
                  <div class="box-main">
                    <div class="box-content">
                      <ul class="menuList"><?php $this->display_list_archives( $this->get_setting('display_archives') ); ?></ul>
                    </div>
                  </div>
                </div>
                <div class="box section" id="instance-sidebartabswidget-section-popular">
                  <div class="box-top-left"><div class="box-top-right"></div></div>
                  <div class="box-main">
                    <div class="box-content">
                      <ul class="menuList"><?php $this->display_list_popular( $this->get_setting('display_popular') ); ?></ul>
                    </div>
                  </div>
                </div>
                <div class="box section" id="instance-sidebartabswidget-section-recentcomments">
                  <div class="box-top-left"><div class="box-top-right"></div></div>
                  <div class="box-main">
                    <div class="box-content">
                      <ul class="menuList recentcomm"><?php $this->display_list_comments( $this->get_setting('display_comments') ); ?></ul>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <!-- tabbed content -->
          </div>
        </li>
        <!-- /tabbed content -->
        <?php
	}

2 Aug 08, 2014 06:25

Hi @gcasanova,

I'm testing Mystique and the widget is working as expected. When you said:

not showing Archives

did you mean that the tab is empty, or there is no Archives tab at all?

We need to know what version of b2evo are you using. Also the browser is important, because the widget uses javascript, so maybe there is the problem (although it's not supposed).

Finally, when you go to ?disp=arcdir, are you able to see the full Archive Directory in the left side? Is the Archives widget enabled (evo_Arch)?

3 Aug 08, 2014 15:57

Hi @mgsolipa,

The Archives plugin was disabled... that was the whole problem. Thank you very much for your help!


Form is loading...