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

www in Sitemaps and search issue

Hello guys,

I post this even though i finally solved the issue, because i couldn´t find any help on this topic when i was searching for this.

My problem was related to: Search (after i clicked on search, nothing appeared. Only going through the complete path i was able to reach the search form) and Sitemaps (my gsitemap was being created without WWW prefix, being that i wanted it WITH this prefix, and there is no option in the settings page about it).

The problem was that i had setup my .htaccess file so that every time someone entered http://emprender-online.com.ar, was automatically redirected to http://www.emprender-online.com.ar. The problem was that this wasn´t stated in the SETTINGS.PHP file, where my site was supposedly at http://emprender-online.com.ar. This is why the sitemap was being created without the prefix i wanted.

The search issue was related to this, because when you search, you are using a form and passing through POST variables to the next page. If the server transforms the destination URL in the form, adding a www prefix, it destroys the variables that were sent. That´s why every time i tried to search using the form, i bet the form was being sent to a url without the www prefix and thus, when it was converted, lost my particular search string.

Well, obviously, the solutions lies in the settings.php file.

Separately setting number of nodes for each node type page

You can set the global amount of posts per page (for all node types) but there is no option to set that number specifically for each content type separately. For instance, I have set up a content type 'changelog' (under example.com/changelog) while I use the node type 'blog' on the front page for blogging. I want the front page to display the latest 5 posts, while I want the changelog to display the latest 10+.
(Filed a feature request here)

Is there a way to achieve this through a phptemplate snipplet or a patch?

Another Log in issue

I am having a log in problem that seems different than anything else that I have come across searching the forums. I have a site that I have developed in MAMP on the Mac. I have recently moved it to a host server that has a slightly different configuration (See Below). I uploaded it to the host server so that I could trouble shoot any CSS issues on the PC and since then I have started to have an issue when I attempt to log in under my Admin log in... Whenever I bring up the site initially, as an anonymous user, I can navigate the site without any issues or problems. When I attempt to log in to the site as Admin, I get the following screen message.

Direct datbase editing

Would setting a modules status to 0 in the DB without going thu drupal cause any harm to drupal? Namely does Drupal parse the module and edit files when enabling/dissabling modules or does it parse it each time a page is requested or ....

Email alerts on critical errors

Is there a function in Drupal of alerting me by email when errors are reported in the watchdog?
I recently build a Drupal-based home security website, but I cannot monitor the watchdog 24/7.
I'd like to be emailed when critical errors occur.

How to get rid of "date" ?

OK, I am testing drupal on my site http://www.coders2020.com and when I created a page, its also showing "Submitted by Anonymous on Sun, 2007-01-07 17:03." Now I don't want it as I don't want the site to look like a blog. Unfortunatley I can not find any option of not showing author and date thing. Any idea guys ?

Regards

Pages

Subscribe with RSS Subscribe to RSS - Post installation