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

CCK/date field/views/timezones - I'm close to shooting myself

hi.

We're creating a news site about our city (krakownews.pl) and are using Drupal 5 (RC 1

at the moment). One of the more imporant features of this site is an overview of cultural/sports events that are about to

happen. I used CCK to create a "wydarzenia" ("events" in Polish) content type which, among other things (like ticket price,

for example) has a date field. Then I used views module to create a page that lists todays events and several blocks (like

"upcoming important events", "tomorrow...", etc.). I simply created a "date: day = now" (for today) and "date: day = now -

86400" (why minus works, not plus, is beyond me).

Everything works very nice... except the way time is handled. Views/CCK/Drupal core (it's not always clear which one) give

us irritating bugs all the time. I don't even know where to start, so I'll just list several things that I noticed.
* if I set up CCK's date field to "no time zone conversion", date is being "pulled back" one day in a form every time I load

a "edit node" page. Example: I create an even titled "massive attack concert" with a date 15.01.2007. I save it, click on

edit and there's 14.01.2007 in an edit form. Also, if I use this setting, views show select incorrect nodes after midnight

Moving modules to sites/all/modules

Greetings folks,

So, in my haste to get a 5.0 RC site up and running, I put my contributed modules in the /modules directory rather than in sites/all/modules (why the old directory even exists to tempt me I'm not quite sure).

Can I move my modules into sites/all/modules without reinstalling them? Will I lose module-specific data if I move my modules? What would be the best way to do this?

Drupal forum module: show a sum of new posts instead of new topics?

I have forum module on my site - having classic "forum->topic->comments" hierarchy. I would like to force drupal show the count of new posts (the sum of new posts in all topics in that forum) instead of count of new topics. Best said by example:

Current behavior:
Forum (2 new) - after clicking on this forum, shows:
* Old topic (14 new)
* New topic (2 new)
* New flamewar topic (50 new)

session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent

Hello there,

I'm having a problem with my Drupal installation :(
Here's exactly what happened and what I did.

My drupal installation was under an addon domain in a cpanel account.
I've decided to transfer this addon domain to it's own account so as to be visible with whm.

I've done:
1) deleted the addon domain with cpanel
2) exported the database with phpmyadmin
3) created the new account with whm
4) created a new mysql database and imported the previously done backup
5) with ssh copied the drupal folder to the /public_html folder of the new account
6) chown'ed -R newuser *
6) edited line 87 of /sites/default/settings.php with the new mysql database and user information

Opened up my browser and was greeted by my drupal site. So far so good.

However I tried to login and upon pressing submit I was greeted by an empty white page.
Refreshing the page, It loaded the page but with a message in read:

* warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /home/poetry/public_html/modules/user.module on line 966.

* warning: Cannot modify header information - headers already sent by (output started at /home/poetry/public_html/themes/arcmateria/template.php:49) in /home/poetry/public_html/includes/common.inc on line 269.

Create a Feed URL for a View

Drupalers,

I want to have the capability of having users subscribe to a particular view I've created.

A syndicate icon is added automatically for pages that are created with a taxonomy term.

Does this functionality exist for views as well?

Shai

Theming Data from outside of Drupal DB

Hi,

I'm trying to create a module which will allow me to query a table outside of a Drupal installation, return the results and display them in a themed Drupal page.

I can successfully access the other database, run the query and return the results into a block using a straightforward _block function.

But when I try to generate a page of output (using a _all function) I get an error of: Warning: Table 'alternate.system' doesn't exist query: SELECT * FROM system WHERE type = 'theme' in /var/www/includes/database.mysql.inc on line 167

Pages

Subscribe with RSS Subscribe to RSS - Post installation