Hi,

I have installed the module and everything seems to work fine but arrows to prev o nexr month on side bar block are not showing...

I'm using Drupal 5.3 and the default language of the site is Spanish.

Any idea why is this happening?

psc

Comments

Susurrus’s picture

Priority: Critical » Normal
Status: Active » Closed (works as designed)

There aren't any arrows on the calendar, the calendar only shows the current month.

metabits’s picture

Upps! Sorry!

It seems that I read something wrong...

Could you then consider this as a wish?

Thanks!

psc

Susurrus’s picture

There actually were arrows in the first version of the calendar, which would be the version that first lists the calendar block as a feature. You could use this I believe. Otherwise, I feel that the arrows on the calendar are useless when the full-features interface is what you'd want instead. I can't really see the point of reproducing most of the functionality of the archive page in a tiny calendar block, as at that point the user should just use the calendar page. I'd like to keep the calendar block as simple as possible and I think the arrows don't adhere to that goal.

krishnap’s picture

Component: User interface » Block
Assigned: Unassigned » krishnap
Status: Closed (works as designed) » Needs review
StatusFileSize
new2.58 KB

Hi

Create a patch with the codes necessary to links "<" preview month and ">" next month.

Thanks

Krishna Pennacchioni

Susurrus’s picture

Status: Needs review » Closed (works as designed)

This is how I want the block to act. The arrows don't make much sense unless AJAX is used to change the calendar months. If the arrows are just links to the right archive pages for those months, it's not how users expect it to act. If the arrows change the month by refreshing the page, why not just link to the archive page which has a lot more options than the little block does.

jnorton’s picture

StatusFileSize
new5.56 KB

Hello,

I tried the patch above and it didn't work for me so I developed some code for insertion into a template.php file (see attached .txt).

It's a large snippet and probably needs some tidying up but it works for previous/next pagination through archives taking into account future archives and disjointed months.

I can't support this script as it was written for my website but let me know how you get on.

You can see a live version at: www.jnorton.co.uk/blog

Justin.