What is the value of $page['content'] in custom front page? I'm a Drupal noob and inherited a Drupal website to maintain. The site has a custom theme, which includes a "page--front.tpl.php" that Drupal loads as the front page. Within this script, there is the following call:

&lt;?php print render($page['content']); ?&gt;


This call used to display homepage-view.tpl.php (found under themes//), but I upgraded some modules and changed some settings in an attempt to fix some problems and now it appears to be showing all nodes, (there is a pager for /node?page=X in the section rendered by that print statement).

My guess is that $page['content'] is returning /node. Either /node pointed to homepage--view.tpl.php before or $page['content'] returned the value of homepage--view.tpl.php. Either way, how can I get the old behavior back?

Thanks in advance.
$page[content] returns the content for the current page, whatever that may be.  If a view is set at the content, it would return the view, or a node, or a block in the content region or anything else set to show in that region, either through the UI or programmatically. It returns rendered html for all elements in that region.

Chances are under blocks, that view? is no longer listed to render in the main content region as a result of whatever setting changes you made.

If it's a view and set as a block you can modify it under the blocks page, block configuration to show in the region.