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

Make Fieldsets Collapsed By Default

Hi,

Is it possible to make the fieldsets that show up when I create a new node collapsed by default? When creating say a new page or story, some of the fieldsets seem to be collapsed by default while others need to be opened first. If there is any module for easier management of such fieldsets, you can suggest it to me as well.

Thanks in advance

$node->nid not working in a block?

I'm trying to set up a block to display an image of my choosing in a node just about the node title. As I really can't figure out any other way to do it, I settled on a custom block region and a php coded block to do it. Here's what I did so far...

Created a custom block region in template.php:
'abovecontent' => t('abovecontent'),

Added this region where I want it in page.tpl.php:
print $abovecontent;

Created a php block and assigned it to display in the abovecontent region:
<img src="files/node<?php print $node->nid ?>.jpg">

What I want to do there is have it spit out an image link that corresponds to the node name. That way I can create a new node and if there's a corresponding image named the same it will display it. I'll just be uploading the image through the Image Module and naming it to the node that I want it to display on.

The content shows up right where I want to if I insert some text to test it. The img code also shows up right where I want it, but it echoes:
<img src="files/node.jpg">

The $node->nid doesn't spit out the node id.

If I put this same code right onto the node page, say create a new book page and put that line at the top of the content section, it displays correctly with the node id.

Linking Organic Groups

Hi,
I've been playing around with Organic Groups, and they appear to do part of what we require. However, what we really need is the ability to link groups in some way.

The way the requirements have been described to me, it looks like subgroups. However, flexible linking between groups is perhaps more what we need.

We want groups for regions and groups for organisations, with the ability to link the two. So anybody looking at the New York group would be encouraged to join groups for organisations based in New York. And anybody looking at an organisation's group in New York would be encouraged to join the New York group.

As far as I can tell, we could use the CCK module to add a link from one group to another. But it doesn't look like it will let us link to multiple groups easily, or easily add two-way links (ie. linking an organisational group to a regional group should also add a link in the other direction).

I guess we could do something with vocabularies, tagging groups with regions. However, that's not going to link to a regional group and I'm not sure how I'd implement that.

I guess we could create a page for each region and have groups add their listing to that page, but that would get very messy very quickly and there really should be a better way.

advanced photo gallery creation with views and panels...(need help please!)

Hi,

I'd like to have some help for the setup I'd like to do on the project I'm working on. The project need a really good integration of pictures, and the client would like to have a page where:

On one side you have image teasers, and on the other side you have a preview view on the images. (sorta like frames).

So what he wants is that when you click on an image on the side, the image loads in the preview section of the same page.

Furthermore, the teaser that are displayed on the page, are the teasers of the pictures that are related to the original picture that was clicked on.

So what I understand about it now is:

1) I have to override node-image.tpl.php to display a custom page when a users clicks on a pic.
2) I probably need panels to insert two views on the same page

What I don,t understand is how I can relate the two views together. That is, when a user clicks on a image, the right side shows the image in preview side, and the left side loads teasers of images in the same taxonomy as the previewed image.

Question 1)

So the view for the left panel would be a teaser view... with the argument of taxonomy coming from where? I guess I could pass the TID in the URL of the panel itself??

Help with changing the pages in Drupal

Hi, new to Drupal and i love it so far. Question: How can i change the themes to make them look like my site. Essentially we spent a lot of time on the graphic layout of the website and now would like to incorporate graphics, etc. into the Drupal environment to have a consistent look. Thank you in advanced.

Best theme to customise for CSS-only layout

I'm looking for a theme that I can modify to match a mock-up that I have been given by a designer. I want it to be table-less - i.e. a CSS only layout.

From looking through the themes page I've found a couple that look as if they might be suitable: sympal & foundation. Does anyone have any other suggestions or thoughts about which theme would be the best base to build on?

Pages

Subscribe with RSS Subscribe to RSS - Post installation