Drupal

Cannot create CCK items with date fields

I just upgraded to dev versions of the calendar and date api in drupal.  Of course I get burned...   But we needed a bugfix, fix one bug, get one free seems to be the case here.
Somebody else reported it first:  http://drupal.org/node/409476
I use the handy-dandy "drupal_set_message" to add some debugging to the date_api_ical.inc file.  I want to see the value of the $ical_date
Added this:
  drupal_set_message ("" . print_r ($ical_date));

Drupal with friendly URLs Gotcha

The following is a Quick Summary of what I did do get Drupal Friendly URL's running correctly when on a Mac Leopard and running drupal out of a user Sites folder.
I am currently developing a relatively complicated drupal site that is running on a remote server.  Because we have some data-entry for content going on, I don't want my development to impact the users, so did an SCP of the whole site down to my local Mac Leopard machine.
I put the drupal directory into my local "Sites" directory, that is, /Users/prhodes/Sites/myproject

Create a start date and end date search form in drupal

Awesome list of drupal mods

Sometimes the list of modules available is a bit overwhelming.  I really like it when folks put together there top lists of modules, A, it helps me learn what's out there, B, it helps me understand how other drupalers are using drupal and for what.
This is my favorite list today.  Check out the simplenews, that's a new one for me

Drupal and Higher Education

It took me a while to find this information, so that's why I am posting the following links and information.
Here is a listing that is maintained at drupal.org of Drupal-based Education Sites
And trellon wrote a nice list of tips
Another good link of tips from trellon

Using drupal calendar module

This is a definitely good screencast to get started  http://www.drupaltherapy.com/node/76
 
One thing that tripped me up for a while was that although I had a drupal custom content type with a Date field, and I had instances of these content types in the CMS, I could not get them to display in the calendar.
I finally got the content to display in the calendar after I added the date field to Fields in the view.  I thought that Fields for the view only where used to control the display of views, however this was not the case.

How do I get rid of BODY and TITLE in a CCK form?

The following was found on the drupal site....

VeryMisunderstood - December 5, 2008 - 17:15

The body field can be removed by omitting (removing) the body label just as it states under the body field during creation of the content type.
Edit the content type, find teh body label, and read the instructions under the body text block.

Nodes seem to need a title, however you can investigate the auto node title module which allows you to remove it from the form even though drupal will still issue a title for it.

Sortable views in drupal 6

Thank you for writing such an obvious thing...

I am using views module... The views module is to drupal what lucene is to java. Just awesome! If you want to enable users to sort their view by columns, you need to use the table means to display your view. I had difficulty finding the way to change my view to render as a table. Do NOT click on the gear next to the Display in your basic settings, you need to click on the "None" value next to display.

Thanks for this post to at least get me there! Sortable views in drupal 6

Should I use views or write my own module?

I just spent a good 8 hours attempting to write a custom drupal module that provides search functionality over a content type. It was a keyword and category restrictors.

Taking a break from coding, I did a 2nd pass at the views module. 5 minutes later, I had completed the functionality of my module!

Totally newbie

You would think I would know this already. I was trying to display some drupal custom content types that contained some fields that are maintained using a wysiwyg editor and the html that the editor was using was being escaped by drupal.

This was a simple matter to fix, I went into the admin/content types and configured the content type field to be "Filtered text (user selects input format) "

When I first saw this option, I thought that this would allow the user to choice between using html/plain/php code. I was mistaken.

Syndicate content