Drupal is up and running but how do I ...?

Where is the $content variable in the page.tpl.php template created for the front page?

I am pretty new to Drupal, but I am pretty familiar with PHP.

I am looking for the place in the code where the $content varible is contructed before being passed into the template. I see it passed around all over the place, but I can't seem to find where it is created.

I know that the $content variable passed in from the function phptemplate_page() to the template and that function takes the $content variable as an argument. So I looked up the calling function of phptemplate_page() and it was call_user_func_array(), and that is where I got stuck.

How can I customize "primary links" so that it looks like ...

For a logged in user:

post a blog | my account | logout

for an annoymous user:

register | login

It is a simple requirement, but I just couldn't have it done.

There are two problems.

1. I changed "Menu containing primary links" to be navigation, and disable most navigation items. however, I just couldn't disable "Create content" item and enable "Create blog" in the menu list.

2. how can i show "my account | logout" for an authenticated user and "register | login" for an annoymous user?

Converting HTML with lots of images into book pages

We have a mostly plain text site that we're migrating to Drupal. As part of this task, we have to deal with a bunch of legacy documentation in the form of hierarchical directories that contain static HTML files plus images, which we want to convert to books. It's pretty easy to make the HTML into pages (we're doing some revisions of content at the same time), but getting the images to show up is a different matter. The images that correspond to each HTML file are in the same directory as that file, so the path for each image is always just ./ .

method schedule block to appear/disappear?

Does anyone know how to make a block to work with scheduler? If not with scheduler, possibly another module or work around that would accomplish that.

We have used scheduler to successfully time posting/unposting of a node, but we would like to find a method to do that with blocks.

Searched forums and can find plenty of info on scheduling nodes, but nothing on tying it to a block.

activeselect bug on Internet Explorer

Hi all,

I have installed category+activeselect module on my drupal5 website but I have noticed a bug on Internet Explorer visualization: the second menu elements that depend by the first one appear all white and are unreadable.

In FireFox it works fine.

Could someone help, please?

|strexy

"User Account" screen instead of "Access Denied"

When access is not allowed to certain areas of my site, rather than sending the user to the defined Access Denied page (defined in Settings > Error Handling > Default 403 (access denied) page), my system is presenting the user with a blank page that reads:

user account [i.e. page title]

3 [i.e. the only other content on the page]

When I look at the source of the page, it appears Drupal is indeed only reporting "3" back as the page content:

3

Pages

Subscribe with RSS Subscribe to RSS - Post installation