login Issues: Drupal 6

I've been through older posts (most 2 years or older) and haven't found a solution yet. When I try to login, after about 20 seconds, I get a weird pop-up screen that shows my front page within it. I close the window, not logged in. However, if I click on any navigation link, it takes me to that page and I'm logged in.

I've tried adding this to my index.php: $global['tempUser'] = $user; per node/6696 but nothing different.

Theme .info file's code is being erased! [SOLVED]

After editing the code via ftp (after all my css files stopped working) all the code in the theme_name.info file is being erased!! Can anyone help me understand what is going on? Help!!

SOLVED: Apparently the disc space quota on the server was changed causing any file I tried to save to become blank.

View from two contents (one referenced) , computed field and its impossibile SUM

Hi all
I need a help ' cause i' m going to be mad with this issues:

I have a view that depends from 2 content
The first are images (content type Images ) with some categorizations fields and one "node referenze field" that "calls"
some numeric fields from (content type Inventory ) the Inventory content. Of these, the more important field is the " On Sales"
field that is a "computed fields " which calculate income/outcome fields.

How do you VersionControl your drupal sites during developement?

Hello there,
i'm interested in some good pattern to version control my Drupal sites. I am not saying that i don't know how to do it, i am actually asking if anyone knows a well-known structured approach to this question.

To complete my request i'll try explain what i am actually doing, and why i consider this approach inappropriate.

When approaching new sites, you usually have to deal with

  • A theme (or subtheme) developement
  • Zero, one or more custom modules to handle your needs. When talking about custom modules, in this context, i mean private project modules that are not releasable/released as contrib

So, what steps?

  1. Download the latest drupal release
  2. Download and enable required modules
  3. Do development stuff, like said

(mostly done using drush).

While developing themes and modules, i use to keep them in a GIT repo, so i create a new one adding

  • root/sites/all/themes/mytheme directory
  • root/sites/all/modules/{custom_modules}

or, in some case, i just add the whole sites/all directory. Anyway, i keep out of my repo
drupal core and drupal contrib modules.

That said, i have
1. A developement server
2. A staging/test server (optional - depends on project complexity)

How to set lifetime to contents?

In my case I need to delete several contents by schedule, for example left on DB only the contents with 3 months old. thanks

Saving and Displaying GMT in views

Hi everyone,
Im currently coding a module that handles invoices, i have created a views definition which enables my custom database to integrate with views.

In the invoice table is an issued date field, this field is an absolute date which does not need to be adjusted to the current time zone, for example, if an invoice is issued for 10th of march 2012 then it doesnt need to be adjusted as this is an absolute date.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 6.x