Include most recent article on a home page

I'm just diving into Drupal and I'm trying to rebuild one of my existing sites for practice. I've gotten the content loaded and figured out more or less how to markup the pages the way I want, but I'm having trouble with one crucial bit. On the home page, which is largely a static page with an introduction, I want to include a section that fetches particular data from the most recently published portfolio_piece (set up similar to an article, but with 2 separate content fields for description and thumbnail(s).

Remove book outline from Add Child Page form

Hi,
I would appreciate any help with this as I am new to Drupal and still getting my head around how it all works!
I have created a book and want registered users to add book pages but only to the book page they are currently viewing rather than having a drop down list of all book pages to choose from. Is this possible at all?
Thanks in advance!

PHP block visibility settings

I am fairly new at this whole Drupal thing. Anyways, I'll try and keep it short;

"use PHP for block visibility" admin role in Drupal 6.0 is turned on, and now I can add some php code to a block to toggle visibility in "Show if the following PHP code returns TRUE"

This worked fine.

Now I'm in a, fairly basic, Drupal 7.0 website and there's nothing of the kind to find anywhere.

Is it something stupid I'm overlooking? Has php support in textboxes been removed from the core? Do I need a module for it?

I'm stumped.

Regards,

Maarten van Leunen

New Column in Content List (Admin)

Drupal is new to me. I've searched the forums but there isn't a clear explanation anywhere.

What I am trying to accomplish is add a new column in the admin content list that will display a field in the content type. I have already created the field in the content type. I've attempted to override "node_admin_nodes" by simply inserting it into template.php (theme_ before) but that didn't do anything.

Can someone point me in the correct direction? Do I need to create a module? What functions are needed?

Thanks

Using the t() function

As the API states, the t() function amongst others should always be used in basic text output, the t() function enabling best language management for translating content. However, it should contain English text. What if my site use English but as a secondary language or even no English at all and I want to translate between other languages?

Drupal versions and shared hosting

I am a Drupal newbie. I have installed Drupal 7 locally and I am learning it with a view to building a couple of quite small websites for educational/charitable organisations here in the UK.

Sadly I am finding that very few UK web hosts seem currently (March 2011) to be able to offer Drupal 7 hosting on their shared servers, due to its dependence on PHP 5.3. When I ask when this situation might change, they are unable to tell me. This is a big problem, because a dedicated server would be beyond the means (and also the needs ...) of either of the projects I am engaged in.

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x