DevHeads.net

Postings by Alexander Arul

multiple domains at same site

Hello Drupal!

I've been working with Drupal for some time now and but I haven't used the
multi site capabilities till now. Please guide me with the best approach
towards this scenario:

- Multiple "brochure" sites (up to 10)
- Each having it's own unique domain "greentomato.com", "redchilli.com" etc
- Each site will have dual language English/Local
- Each website should have a different look and feel
- There has to be no links between each brochure (they cannot know of each
other’s existence for sensitive reasons) – i.e.

Gmap + location marker error

Hi,

I've enabled gmap+location modules and created a bunch of nodes with
location defined for them. I'm using views to generate a map on which these
nodes are shown as markers. However, the fields I want to show up inside the
marker popups are empty. Only the label for each field comes through. For
example, if I want the title of a node, only "Title:" shows up on the marker
popups. Please see the dev site below for clearer understanding.

<a href="http://studiomhotel.adwright.com.sg/location" title="http://studiomhotel.adwright.com.sg/location">http://studiomhotel.adwright.com.sg/location</a>

Any ideas?

Cheers
Alex

imagecache create presets on file upload

Hi,

I have two imagecache questions:

*1.*
How do I set imagecache to create preset caches as soon as an image is
uploaded?

Eg.

I have 3 presets:

- Main
- Small Thumbnail
- Teaser Thumbnail

As soon as *any* image is uploaded, I want these 3 presets to be created for
that image... how?

*2.*
One confusing thing I read is, the "file upload field" might not work, since
"imagecache" works with "image upload" field only ... is this valid for only
older versions or still true?

Thanks
Alex

Node gallery mysterious file upload limit

Hi All,

Summary:
1) I'm using Node Gallery module to set up albums and photos. For the photo
content type, I'm enabling 7 file upload fields. However, when I try to
upload a couple of files or a single file which together total *more than
1MB*, a javascript alert pops up, saying "*An HTTP error 0 occurred.
/node_gallery/upload/js*".

How do I load a user's profile image

Hi all,

I want to generate the user's picture path using code. I thought there might
be an API function like *function user_image_path($uid)*, but nothing like
that so far .. please point me in the right direction, thanks :)

Cheers
Arul* *