You can try this Group Growth extension


If you are using Drupal 7 I would use Drupal Webform - together with the Webform CiviCRM integration module, since the Webform module let's you set the form to show within a block. These are pure drupal webform settings. This is done under Adv Settings, which is on the Form settings tab ie at node/xx/webform/configure "Available as block: If enabled this ...


CiviCRM does not have this feature built-in. You would need to write a custom extension to achieve this, probably using hook_civicrm_postProcess.


You can try below two extension and modify as per your needs https://lab.civicrm.org/extensions/mailingsubscriptions https://lab.civicrm.org/extensions/subscriptionhistory


Those are Smarty templates, and don't use regular CiviCRM tokens - which is confusing because the tokens can look the same. Fortunately, Smarty is a full-fledged templating language. You can do date formatting pretty easily. I think you want this: {$smarty.now|date_format:"%Y"}

Only top voted, non community-wiki answers of a minimum length are eligible