drupal_add_http_header() renders additional html

When i use drupal_add_http_header() in a module function,
and do an echo() or create some Xml with XmlWriter there is added some more extra html code.

I tried it with Drupal6 and Drupal7 were i can create a custom output without some of these extra stuff;-)

Any ideas if it is a know bug?

The extra html is the region content, rendered by drupal_region_class().

Deleting pages.

Hi.

I am hoping someone can help me - I have deleted three pages but they aren't automatically removed from the main navigation bar. What is the method to remove pages from the nav bar?

Yes, I have tried editing the menus, apparently there is nothing in the Primary nav bar to edit... the items I want to remove aren't on any lists... help

Serialization API in Drupal 8

Hey folks,

somebody tested the new Serialization API described on http://drupal.org/node/1899138 and had a simple example? I like to test the xml serialization of Drupal8.
In the end i want to realize a former Drupal6 Xml output, which was created with drupal_set_header() and XmlWriter, with Drupal8.

I just tried a simple function which is called by hook_menu(), but i think it have to be structured different

How do I show the Login block on my homepage of my site!?

I want it on the homepage of the site, I already know how to login, the example.com/user kinda thing,
I tried setting the permissions for the user block to show, that didn't work, I tried moving the box around using the block manager thing in the "Structure" bar, but that didn't work. Please help me get the login box viewable for all users again! PLEASE HELP!

New to Drupal

Hi,
I would like to know if any of you guys have seen a price comaprison page made with drupal?
Second do you have some similar example pages? would you provide me the link?
cheers !!

A problem for install drupal8

when I install drupal8, apache report a serious problem,

PHP Fatal error:  Call to a member function get() on a non-object in /var/www/drupal8/core/includes/bootstrap.inc on line 893, referer: http://xxxx.com/drupal8/core/install.php?langcode=zh-hans&profile=standard

how can i avoid it?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 8.x