when you create multiple blogger,and add "recent blog entry" block,click one entry,eg:mysite.com/node/15,
the block's "More" link point to "mysite.com/node/blog" on the current page,so that's wrong.
clear tarski_more_link function solve this problem.

CommentFileSizeAuthor
#3 tarski-more-link.patch580 bytesjuliangb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Taxoman’s picture

Category: bug » support
Status: Active » Closed (works as designed)

This is by design, that block points to the page that will show all bloggers.
But it is not due to this theme anyway, it is Drupal core that sets that link in the block.
If you want it to point elsewhere, you have to customize your Drupal installation.

juliangb’s picture

Category: support » bug
Status: Closed (works as designed) » Active

I think there is a bug here - but I think that #1 has misunderstood the OP.

Let me rephrase:

The more link provided by core references the path "/blog", whereas the more link provided when using Tarski references the path "blog".

Because Tarski is using a path relative to the current page, this only works on the homepage.

You can try this on my website - the recent blog posts block displays at the bottom of the page:
- http://julian.granger-bevan.me shows the correct link.
- http://julian.granger-bevan.me/blog/websites does not.

The change that needs to be made is to replace:

return '<div class="more-link">' . t('<a href="@link" title="@title">more ›</a>', array('@link' => check_url($variables['url']), '@title' => $variables['title'])) . '</div>';

With:

return '<div class="more-link">' . l(t('more >'), $variables['url'], array('attributes' => array('title' => $variables['title']))) . '</div>';

This is a simple change - and I'll post this as a patch a bit later.

juliangb’s picture

Status: Active » Needs review
FileSize
580 bytes

Here's a patch, as promised.