Slash "/" before the DocType declaration [my bad]

I have a demo site you can't see here anymore:

If you view the source, before the <doctype> there is this additional slash "/" prepended causing obvious html invalidation and breaks my css layout. Before you tell me to clear my cache and/or try a different theme to see if it's one of my customizations (which i've done already), the very same thing happens on the D7 backend using a clean "Seven" theme install there. Even bringing the site back to a clean "Bartik" on the frontend keeps the "/".

Solution: Automatically fade out system messages

To automatically fade system messages out (like error messages and page updated messages), after a specific amount of time do the following:

In html.tpl.php add the following code in the head section:

Where to change databasename, username and password in settings.php

Hello.
Im trying to move my site from local to live, and im about to change the information in the settings.php file.
But i dont exactly know where to change, i dit it in this section:

*/
$databases = array (
'default' =>
array (
'default' =>
array (
'database' => '',
'username' => '',
'password' => '',
'host' => '',
'port' => '',
'driver' => 'mysql',
'prefix' => '',
),
),
);

Return a form in hook_block_view

Thanks for looking at this question....

I want to be able to display and form in a block when it's viewed. Is is possible to do this from a render array? If so, how can this be done.

Here's the function: -

Change Block Content on Form Submit?

Hello!

I currently have a module that creates a drop form where the user will select an image to appear and click submit. I want to put the image in a block, but I'm not sure how.

My main problems are how to call hook_block_view from the hook_submit for the form and how to pass the appropriate file location to the hook_block_view.

how to add text to a panel?

I'm pretty new to Drupal and have been tasked with updating our new site.

There is a panel on a page. Part of the panel includes a search box. I want to add a link to the right of the search box that goes to another page for "advanced" options. But I'm not sure where I can add this text. I can't seem to do it via the Administrative controls.

Any suggestions?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x