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

php snippet to show if a block has content

Hi,
I would like to find a php snippet so I can display a block only if the list has 1 or more lines in it. so, to not display empty blocks.

My block is a view block.

Anybody knows how?

Thanks

Can "roles" be sorted with the Members module?

Hello,

I am having some issues with the members module correctly sorting the "Roles" column on http://jcihelsinki.com/dnx/?q=en/members&sort=asc&order=Roles

Can anyone tell me if the roles column can or can not be sorted??? it seems like it is listing the users according to the order that they were entered into Drupal.

Thanks,

Jason

How to bring the body at center ?

Hi,

This is my site www.applicblue.com and I am exploring drupal. I am still building my site and I am not able to customize it.I have two problems at present.

How to modify the "Member for" value for users?

Hello,

I'd like to change the "member for" value for users I have entered. Has anyone done this before? If so, how?

Seemes like it would be a quite important feature since many organizations have had members join years before having a website.

Thanks,

Jason

How to modify the "Member for" value for users?

Hello,

I'd like to change the "member for" value for users I have entered. Has anyone done this before? If so, how?

Seemes like it would be a quite important feature since many organizations have had members join years before having a website.

Thanks,

Jason

Right sidebar block gets rendered in a HTML table in the content area!!!

I have a very strange problem occuring with the rendering of a block. Please bear with me while I explain the structure I've got.
I have two pages. Page1 lists items from a table in a db. Page2 lists all the sub-items for an item in page1, also obtained from a table in the same db, a one-to-many relationship. The lists are displayed as html tables. I also have two blocks. Block1 only appears when page1 appears and you've probably guessed that block2 only appears when page2 appears. The blocks are both set to be displayed in the right sidebar. Page1, and hence block1, is attached to a menu item in a block in the left sidebar. Page2, and hence block2, is attached to another menu item which is a child menu item of the former, mirroring the one-to-many relationship if you like.
Now, accessing page2 from the menu does you no good at all because the page needs to know which item from page1 is to be expanded. I've set it up so that the user gets a message telling him/her to go back to page1 and use the link provided. These links are just the item names in page1. The user clicks one and is taken to page2 where he/she can see the expanded details for the item in question.
Now, the rendering problem. If you go to page2 via the menu there's no problem. Everything looks as it should, except of course that that's the wrong way to page2. If instead, you use the item-as-link on page1 to go to page2, block2 is rendered in the table on the page rather than in the right sidebar!!!!

Pages

Subscribe with RSS Subscribe to RSS - Post installation