How do I disable the pager links that appear, in my case, at the top of my drupal pages?

Thanks
--
William

Comments

wcrowshaw@yahoo.com’s picture

I figured it out. I just needed to implement the following function in my theme as follows:

function pager_display_default($tags = "", $limit = 0, $element = 0, $attributes = array()) {
		$output = "";
		return $output;
	}

From my OO perspective this is a very non-intutitive solution considering that pager_display_default is NOT a member function of class BaseTheme.



Alas...I wish drupal were more object-oriented. I find following all of drupal's "hook" calls disorientating. Fortunately for me, the file /includes/pager.inc is one of the few files with decent documentation. (A special shout out to the person that wrote it!).


--

William