This forum is for less technical discussions about the Drupal project, not for support questions.

front page pager

drupal-4.6.4
http://www.shreemaa.org

I'm trying to only have one page for the front page pager instead of pages and pages.
has anyone done this? I don't find a procedure in the forum archives.
can someone give me an idea of how to do this?
I don't know php and wouldn't know how to put a module together.

please help.
thank you.
Susan

Looking for module to restrict some content

So, I'm setting up a Drupal, and I'm wondering if there is a module that will allow me to tag and restrict certain nodes to certain user roles. For example, I want super users who will be able to view ALL nodes. Then, I want normal users who will only be able to see SOME nodes. For instance, I want contributors to be able to restrict whether or not nodes they create will be viewable by all or some. I would like this to happen based on user role.

I dont want users to register

Hi everybody... How do I do to have just a site where users can´t login? i don´t wont to have the login block shown.
Is this possible?

Best regards,
AiZ

"email this page" links broken

For some reason my "email this page" links are broken. When you rollover it the browser reports a link to:
http://retailmob.com/?q=emailpage&nid=82

which works. But when you click on it the link goes to:
http://retailmob.com/?q=emailpage%26nid%3D82

Which doesn't. Does anyone know if I have a screwed up setting or how to fix this.

Thanks in advance.

Drupal tab for netvibes

For those of you who are netvibes users, I've created a Tab containing feeds from many of the Drupal forums, as well as Planet Drupal, Drupal Talk, and the Technocrati Drupal tag results - all on one page.

Here's the link to subscribe: http://www.netvibes.com/subscribe.php?url=http://eco.netvibes.com/opml/7...

drupal_conf_init() function in conf.php in PHPList

In the latest CivicSpace release (0.8.5) and attempting to use the massmailer module, I am getting the same old error:

"The database configuration information could not be loaded from the drupal configuration file: default/settings.php"

I have read dozens of postings where others have had this problem, too and have attempted various fixes. None have worked for me. Most fixes seem to center around the idea that the module cannot find the conf.php file. However, the error displayed in the browser comes directly from a die command in that file. So, the file must be running. A little investigation and it seems the problem may actually be in this function:

function drupal_conf_init() {
  $args = parseCline();
  $uri = $args['d'];

  $site = strtolower(strtr($args['h'] . substr($uri, 0, strrpos($uri, '/')), '/:', '..'));

  while (strlen($site) > 4) {
    if (file_exists('../../../../../../sites/'. $site .'/settings.php')) {
      return $site;
    }
    else {
      $site = substr($site, strpos($site, '.') + 1);
    }
  }
  return 'default';
}

Now, I haven't done any coding since back in my college days, so it's been quite a while, but what is the point of calling the else{} statement if it is going to return 'default' when it fails the if{}? Shouldn't it return the site name converted into the dot delineated folder name where the current site's settings.php file is located. That is, after all, the file it is looking for. Is it not? I.e., the function should be returning something like, 'www.mysite.com.subdirectory' and the calling function will then prepend that onto the file name it is trying to find. So, 'sites/www.mysite.com.subdirectory/settings.php'.

Pages

Subscribe with RSS Subscribe to RSS - General discussion