[drupal-devel] Page layout workflow mockup

Karoly Negyesi karoly at negyesi.net
Tue Mar 22 05:52:31 UTC 2005


On Monday 21 March 2005 18.15, Gabor Hojtsy wrote:
> > Won't this mess up XML feeds or the printer-friendly book output?
>
> Plus image generation and private file retrieval (ie. anything going
> through Drupal which is not going to be a Drupal page after all).

Let me quote myself: "There are a lot of functions in Drupal which ends with 
print theme('page', $output); these shall be changed to return $output;"

Those functions Steven and Goba are talking of are not ending with a print 
theme... so I won't change them. Simply, there won't be a return value. 
ATM, I am not interested in these -- I only want to put pages' contents 
into blocks.

The only change necessary to accomodate these problems is that the proposed 
default clause in index.php must be if(!empty($return)) print theme('page', 
$return); and we're done.

Regards

NK



More information about the drupal-devel mailing list