Install Acquia Drupal 7... MySQL password

Windows xp desktop...
I tried installing re: through Web PF installer 4.0 from the 'how to install windows' link.
1st time, I got errors for dependencies not installed... Web pages 1 and Web matrix 2 release candidate..
2nd time started over... this time everything installed
Got to screen Default root amin acct. for 'root', 'localhost' and its asking for password
Won't advance w/o one... anyone have any ideas...

Merging into one single list nodes from different databases and different drupal sites


I´m loading multiple nodes in a list themed with a pager, after retrieving its NIDs from the database A.
I was wondering how can I add to that list nodes from database B of a sub-domain.

I would like to find first a solution that avoids the using of modules, such as Domain Access. If I don´t find anything of use, I´ll consider it.

Linking image field to URL

I have a content type with an image field and a link field being outputted in a view. I've rewritten image output to a link. The problem is that the link is the same for all image fields. I have a grid of 6 images and each of them needs to point to a individual link. Any solution?

Setting the teaser when creating a new node programmaticaly

I am writing a module were I create a new node in the code. I want there to be a teaser when I list the content later with views. But I haven't been able to set the teaser. Does anybody know how to do this?

Like what am I supposed to put after:

$node->teaser =

Why is the Bartik theme right sidebar positioned over my content?

Hey, I made a very simple subtheme of Bartik. I copied over the layout.css file to my subtheme to tweak the position and size of the right sidebar, but now the sidebar has shifted left into my content.

I even tried deleting my new css file and removed the line stylesheets[all][] = css/layout.css from the .info file of the subtheme, so my website should now by default use the layout.css file from Bartik right? But it doesn't. My website is if you want to see the problem.

The section of code in bold below is what I edited. Anyone have any idea why this is happening?

/* ---------- Basic Layout Styles ----------- */

#page {
height: 100%;
#page-wrapper {
min-height: 100%;
min-width: 960px;
#header div.section,
#featured div.section,
#messages div.section,
#footer {
width: 960px;
margin-left: auto;
margin-right: auto;
#header div.section {
position: relative;
.region-header {
float: right; /* LTR */
margin: 0 5px 10px;
.with-secondary-menu .region-header {
margin-top: 3em;
.without-secondary-menu .region-header {
margin-top: 15px;
#secondary-menu {
position: absolute;
right: 0; /* LTR */
top: 0;
width: 480px;

Accessing local file from module.enable()


I am creating nodes programmatically when my module is enabled. This works fine.

Now I would like to read the content of a file embedded in the module package and use this content to create my node

So far I have managed to read it using the absolute path in the file system:


Subscribe with RSS Subscribe to RSS - Drupal 7.x