New Parenting Site -- Drupal 4.7

I'd like to present a new(ish) Drupal powered site: Marin Mommies. It's actually been live since the end of February, sort of a "soft launch" situation while we tinkered, added modules, and saw how beta testers reacted to it. Current modules include: banners, adsense, views, service links, FCKEditor, Amazon tools, logintoboggan, taxonomymenu, and a bunch of others. We're planning to roll out a few more features, including the forum (with flatforum), pretty soon.

Chat room specs (speed)

Hey all,

I'm, putting together a small drupal site for my HS 40 year reunion (forum, photo gallery, etc). I thought a

nice touch would be to add a chat module so those who couldn't make it could talk to those who were actually

at he reunion. I've NEVER used a chatroom and am wondering the bandwidth needed. The place we contracted for

the reunion is located in a "remote" area on a lake wihin a few miles of a major city with plenty of dialup

services, but they have no broadband themselves.

Adding menu items - http:// is fine... file://... not so much

Heya folks,

I'm making an internal website and I'd like to add menu items that link to files on shared drives here. Normal http:// links work like a champ of course, but if I try to link to a file ala file://blahblah/shared/foo.xls or \\blahblah\shared\foo.xls special characters are replaced with html equivalents.

bug reporting?

How to report bugs in drupal.

Naveen

Correct syntax in drupal for pivoting profile_values table?

Hi all,

This great forum has provided me with most of my questions; I wish all sites had such great search functionalities. I couldn't however find an answer to this question though: How to pivot the profile_values tables?

Short version: How to pivot the profile_values table so that it's laid out horizontally like this: [ uid | value1 | value2 | ... | valueX ] instead of vertically as it is now?

Long version: I have to build up a table containg information about a user, and only one record should be used pr. user. I need the values in the profile_values table as part of this as it contains demographic information. Therefore I believe I need to pivot the table and have settled for an approach I've used before: "put null in a value field unless it equals an indexing number and finally group by id" (which might not be a good way of doing it, and I welcome suggestions of doing it another way). However, when I put this SQL into a .inc file it just doesn't work and the MySQL error message is of little help saying "refer to the manual". So I was wondering if anyone have already done this (pivoting the profile_values table that is) and would like to share the SQL? This is the SQL statement I think would work:


SELECT uid, group_concat(if(fid = 1, value, null)) AS Birthday,
group_concat(if(fid = 2, value, null)) AS Gender,

Access Levels not working!

The Access Levels are not working.

We are setting the access level permissions in the admin panel.

But the permissions are not working and not showing access denied message if the user does not have privileges.

What may be issue? How to solve this issue?

Thanks in advance!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x