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

Get taxonomy access from taxonomy_access

I am using taxonomy_access to restrict access to certain nodes depending on their access. However I am attempting to retrofit a PHP application into Drupal and I am hoping to find a way to be able to pull access levels through taxonomy_access.

For example I want to add a taxonomy vocab for something like, "Edit calendar items."

I would like to get the current user ID logged in, check if they are given access to properly edit caledar items and then give them access or deny them.

Pros & Cons of "Public" and "Private" File Download Methods

A major decision I'm facing is whether to use Drupal's "public" or "private" file download method. Does anyone have some insights into the pros and cons of each?

In my fairly common use case, most of my generic files (such as images or user-submitted files) could be public, but there are a few files I'd like to keep private (such as proprietary PDF documents or electronic products).

Here are the pros and cons of "private" file access as I see it:

PRO:

1. Easy to control files automatically

CONS:

Newbie: For a Private site should I use Pages or Stories or Books?

Hi,

I am new to Drupal, and am wondering how the different types of content like pages, stories or blogs are best used. Can you suggest the best ones for these sorts of examples:

1) Simple Journal or Diary writing like a holiday
2) For holding related information, like manuals of instructions
3) Items like film or music reviews
4) To do type items for me to remember

I would only rarely require other user input, maybe on a working project. I guess that the categories are key to classifying too. It just seems that there is a lot of choice.

php for teaser of specific node?

Hello,

Does anyone know what the php would be to print the teaser of a specific node?

Thanks.

Please Help- How can I create a variable number of CCK fields in a content type?

I hope someone can help me with this. I'm trying to create a CCK content type that has a variable number of a set of fields- very similar to creating a custom product for the e-commerce module. The e-commerce module itself is not an option, as this does not allow for a tax deductible amounts as part of the price, nor is there an available module to integrate with our credit card processor, USA Epay.

Views filters with checkboxes

Hello All,

Could somebody point me to a working example of a Views filter using checkboxes ?

Or maybe put me on the right tracks to solve my problem :

My custom node has a 'color' attribute (enum((blue, red, yellow)).

I'd like to expose a filter with 3 checkboxes, resulting in a query with the checked value ORed.

As a bonus (am I dreaming ?) an error message displayed (instead of an empty list) when no box is checked.

And while dreaming, why not an AJAX snippet to force the check of at least one box ?

TIA for any help.

Pages

Subscribe with RSS Subscribe to RSS - Post installation