I have created a context and if it applies to a page (node or blogs or even a specific node), the normal pagers on that page are no longer present.

IE for node listing and blog listing pages, the paager to get to older/new posts is no longer present on the page and for actual nodes, the pagers allowing you to change the comment page are no longer present.

On the pages where the context does not apply, they are present as expected.

Any ideas how I can fix this?

Comments

tekante’s picture

Status: Active » Postponed (maintainer needs more info)

Can you provide some more information about how to replicate this? I tried creating a sitewide context with the debug reaction to ensure it was active and then went to the /node page and was able to see the pagers.

naheemsays’s picture

ny using the following context I dont get pagers on the node and blog pages or in forums where there are multiple pages of comments (among other pages with the same issue):

strangely I do get the pager for a views page that I created that lists all contents from node type article.

$context = new stdClass;
$context->disabled = FALSE; /* Edit this to true to make a default context disabled initially */
$context->api_version = 3;
$context->name = 'contextual_blocks';
$context->description = 'Blocks that are to show on some pages only.';
$context->tag = '';
$context->conditions = array(
  'node' => array(
    'values' => array(
      'article' => 'article',
      'audio' => 'audio',
      'blog' => 'blog',
      'game' => 'game',
      'magazine' => 'magazine',
      'page' => 'page',
      'poll' => 'poll',
      'simplenews' => 'simplenews',
    ),
    'options' => array(
      'node_form' => '1',
    ),
  ),
  'path' => array(
    'values' => array(
      '<front>' => '<front>',
      'articles' => 'articles',
      'about' => 'about',
      'about/*' => 'about/*',
      'copyright' => 'copyright',
      'blog' => 'blog',
      'blog/*' => 'blog/*',
      'blogs' => 'blogs',
      'blogs/*' => 'blogs/*',
      'node' => 'node',
      'policy' => 'policy',
      'therevival' => 'therevival',
      'taxonomy/*' => 'taxonomy/*',
    ),
  ),
);
$context->reactions = array(
  'block' => array(
    'blocks' => array(
      'profile-author-information' => array(
        'module' => 'profile',
        'delta' => 'author-information',
        'region' => 'sidebar_second',
        'weight' => '-10',
      ),
      'forum-active' => array(
        'module' => 'forum',
        'delta' => 'active',
        'region' => 'sidebar_second',
        'weight' => '-9',
      ),
      'blog-recent' => array(
        'module' => 'blog',
        'delta' => 'recent',
        'region' => 'sidebar_second',
        'weight' => '-8',
      ),
      'comment-recent' => array(
        'module' => 'comment',
        'delta' => 'recent',
        'region' => 'sidebar_second',
        'weight' => '-7',
      ),
      'cumulus-1' => array(
        'module' => 'cumulus',
        'delta' => 1,
        'region' => 'sidebar_second',
        'weight' => '-6',
      ),
      'views-latest_content-block_1' => array(
        'module' => 'views',
        'delta' => 'latest_content-block_1',
        'region' => 'sidebar_second',
        'weight' => '-4',
      ),
      'views-latest_content-block_2' => array(
        'module' => 'views',
        'delta' => 'latest_content-block_2',
        'region' => 'sidebar_second',
        'weight' => '-3',
      ),
    ),
  ),
);
$context->condition_mode = 0;

// Translatables
// Included for use with string extractors like potx.
t('Blocks that are to show on some pages only.');

naheemsays’s picture

Status: Postponed (maintainer needs more info) » Active
tekante’s picture

Status: Active » Postponed (maintainer needs more info)

I tried creating a blog entry with enough comments to trigger the pager and imported the context you provided and I am still seeing the pager links.

naheemsays’s picture

Any idea where I can look to see why it doesnt work for me?

naheemsays’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

EDIT - posted in wrong place.

naheemsays’s picture

Status: Closed (works as designed) » Postponed (maintainer needs more info)
h3rj4n’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

No feedback in over a year.