drupal - Add parameter to pager link url -



drupal - Add parameter to pager link url -

pager link points www.example.com/node/100?page=1. need pass addtional parameters through link: www.example.com/node/100?page=1&my_param_1=1&my_param_2=2. illustration have view pager. want every link in pager point anchor (for illustration quicktabs tab). how can done?

you need include 'parameters' in pager theme array:

... ['tablepager'] = array( '#type' => 'markup', '#markup' => theme('pager', array( 'element' => 0, 'parameters' => array( 'name' => 'value' ) )) ),

taken from: https://api.drupal.org/api/drupal/includes!pager.inc/function/theme_pager/7

drupal drupal-6 pager

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -