Render a Drupal Page Within a Drupal Request

front-end development
Unsplash

Hash bang code, a popular tech blog has yet another Drupal how to article published. This time, the post revolves around generating the HTML of a full Drupal page, from within a Drupal request. The project called for a template to be rendered within the structure of a Drupal theme and also to include the styles associated with that theme.

The blogpost suggests two methods to tackle this problem. Solution 1: Render a page using a get request and Solution 2: Render a page using Drupal’s rendering pipeline. 

Philip Norton, founder and administrator of hash bang code is the blogger. 

The post can be accessed here:

Note: The vision of this web portal is to help promote news and stories around the Drupal community and promote and celebrate the people and organizations in the community. We strive to create and distribute our content based on these content policy. If you see any omission/variation on this please let us know in the comments below and we will try to address the issue as best we can.

Advertisement Here

Upcoming Events

Latest Opportunities

Advertisement Here

Call for Support