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

Node administrative rights allow users to edit others content ?!!?!

Granting node administration rights allow users to edit others content, but it isn't what I am looking for. Users can revise their own blog entries, but I would like them to be able to revise and publish their stories when they are ready and edit the stories later if they want to.

I have a feeling this has been brought up before and probably fixed. Can anyone point me in the right direction?

Search is not working

Whenever I try to search for at article, nothing comes up.
Is there a fault with the search, or do is there something else I must configure to get the search to return results?

Static PHP pages

Hi, I would like to keep some pages outside of drupal, the main reason is that these pages shall not be considered as "content", and also because i want to keep some pages on disk instead of DB (may sound weird.. but i prefer this way..).

Another reason is that i don't want the "Submitted by... " line on static pages.

I've written this test php script that seems to work fine:

<pre>
&lt;?php
include_once "includes/bootstrap.inc";
include_once "includes/common.inc";
menu_build("system");

$out = &lt;&lt;&lt;&lt;EOT

&lt;h1&gt; Title &lt;/h1&gt;

&lt;p&gt; This is the body of the page...
&lt;/p&gt;

EOT;

print theme('page', $out );
?&gt;
</pre>

There's a better way to do this? Should I create a module for every page?

Is there a flaw with revisioning and publishing?

I want users to be able to able to edit and revise( ie saving the work, closing the browser, coming to continue later) articles to their satisfactoin before publishing them. But it seems this is not possible. Articles seem to get posted as soon as they finish them.

When I grant the right to administer nodes, they are able to access any node, whereas I want them to edit theirs only.

Is there a fix for these issues?

Menu Module

Is anyone sucessfully using the menus module?

I am struggling a bit with menu behavior.

If the main menu item has a URL associated, it will not expand to reveal it's sub-items. The page associated with the menu comes up but the menu does not open up.

Separately, if an item (or sub-item) does have a URL associated, when it is clicked the whole menu structure collapses instead of staying open.

php in block

I am having trouble in writing php in creating a new block.
When I click on create a new block, my body has the following code:

&lt?php
   $ip = $_SERVER['REMOTE_ADDR'];
   $fullhost = gethostbyaddr($ip);
   $host = preg_replace("/^[^.]+./", "*.", $fullhost);
?&gt

IP address &lt?=$ip?&gt | Host: &lt?=$host?&gt

So that It shows the IP and host of the client browser. But I am getting the following error

Parse error: parse error in /var/www/drupal/modules/block.module(81) : eval()'d code on line 1

What am I doing wrong?

Thanks in advance

Pages

Subscribe with RSS Subscribe to RSS - Post installation