Requierements:

create monthly archive in views. Archive must be in block and associated (arguments) to content type. Example, for url myweb.com/section1/, archive must show content from section1 content type. Must be ajax.

your price and estimated time of realization?

Comments

ldbl’s picture

I think this functionality is build in in views.
You only have to enable it.

Regards.

dgastudio’s picture

is build, i know, but it doesnt work (i think is becouse views can't send arguments to blocks).

LiquidWeb’s picture

Actually what you want is pretty simple. Just add new block with this PHP code

<?php
      $view = views_get_view('archive'); // Call view with name archive
      $view_args = array(arg(0)); // I assume argument is the first value after site URL

      //check if view exists if not leave empty or whatever you want
      if ($view) {
        print $view->preview($display, $view_args); //print view with your arguments
       }
?>

If you enabled ajax in view params it should work without problem

minesota’s picture

Can this be done for per user blog ?

That is blog of user A shows Calendar block in side block with days of post highlighted
blog of user B shows Calendar block in side block with days of post highlighted

LiquidWeb’s picture

theoretically yes but practically I have to know details to give sample code

gsolutions’s picture

Hi Alex,

Thank you & your team for the feedback & compliments posted for Global Solutions. It would be our pleasure to continue working with you & your company.

Thanks & Regards,
Global Solutions