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

$user->uid

Anonymous is using $user-uid of 0

Normally the global $user-uid should be empty (ie, I am guessing the $user variable just shouldn't exist!), at least it is on my test server.

But for some stupid reason on my main server it exists and is causing all sorts of havoc, as can be seen by visiting this link http://madivad.com/node/101

The preformmated box on that page contains the code:

Upcoming Birthday reminders - year rollover issue

Hi,

I am working on the new birthday reminder module. I am storing all users date of births in a database table and now I am trying to create a script to list upcoming birthdays. I want to do it in SQL for performance reasons, as if a site has hundreds/thousands of users it would be better for the database to search and list the results in order and not with PHP.

Insert data from array in database

Hi,

I'm totaly new to Drupal and PHP. I'm trying to follow and expand the example_node code just to get to know PHP and Drupal. I've struggled a few day to figure out how to insert data from the new multidimensional form array into my database. Here's what I've got.

Can't clean log file!

Any help? It seems I could get the 'cron' to run, so I got a lot of update records of the news aggregator (every hour). I try to make the log file to be cleaned every 6 hour, but apparently it is not working. What's wrong? Thanks!

Drupal - I'm lost!

Hi,

I am really lost with Drupal. I have been trying to setup a website for two months using Drupal and it seems easier just to use a simple program like MS Word to do it instead!

The following line is extracted from the 'Rolling your own system vs. using Drupal - The Drupal path is fun and educational' section on the Drupal site:

"With Drupal, the framework is in place and you can focus on the 'meat' of your project."

I know that Drupal is much more functional but I am yet to realise it's potential for managing web-content :(

Node breadcrumbs, based on menu structure

How do I make, that breadcrumbs were shown on all pages, including nodes, and its structure was based on the menu?

taxonomy.context module adds breadcrums to the nodes. But it make breadcrumbs based on taxonomy and it is not necessary for me.

I cannot use taxonomy-based structure due to I want to make nested newslines.

Pages

Subscribe with RSS Subscribe to RSS - Post installation