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

CCK -form checking and default values

Hello all,
Right now I am using CCK to create additional fields in the node creation form for the built in story node. I know I can create different nodes too, but I am wondering how I can write code to error check the forms, and insert default values without having to write my own custom node module?

For instance, I have a field that auto completes a link to the previous story in the story node. I would like to have it default to the last written story which is trivial in PHP, but I am uncertain how to add this functionality.

Set Block Visibility

How does one make a block visible to user 1 only?

Problem with forum vanishing after installing categories.module

Drupal 5.0
Configuration file Protected
Cron maintenance tasks Last run 1 day 11 hours ago
You can run cron manually.
Database schema Up to date
File system Writable (public download method)
GD library bundled (2.0.28 compatible)
MySQL database 5.0.27
PHP 5.2.0
Unicode library Standard PHP
Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support.
Web server Apache/2.2.3 (Win32) DAV/2 mod_ssl/2.2.3 OpenSSL/0.9.8d mod_autoindex_color PHP/5.2.0

Configured and set up forums.

Later installed categories when I came across it. Set up a couple categories.
Every category gave me an error
Location http://sheffielduncensored.ath.cx/?q=node/add/category-cat/parent/10
Referrer http://sheffielduncensored.ath.cx/?q=node/add/category-cat/parent/10
Message mysql_query() [http://www.mysql.com/doc]: Duplicate entry '24' for key 1 in C:\Web Server\xampp\htdocs\includes\database.mysql.inc on line 148.
Now the forums that I had set up completely disappeared.
Except that new forum posts still list in blocks and are still accessible.

Thought that maybe categories wiped them clean.
Tried to make a new container to start over and got this error

http://sheffielduncensored.ath.cx/?q=admin/content/forum/add/container

TinyMCE

Is it here the best place to post a question regarding TinyMCE?

It's the first time I'm trying to add a module to my installation.

I'm running Drupal 5 (fresh new install, no modification whatsoever so far) on IIS 5, MySQL 5, PhP 5

I just downloaded TinyMCE (for Drupal 5).

Installation is a two step process :
1) Extract the Drupal side of this project to : sites/all/modules/tinymce
2) Extract the Moxicode side of this project to : sites/all/modules/tinymce/includes

How can I exclude robot hits on sidebar links?

In addition to permanent links in my left & right sidebars, I recently placed blocks in both sidebars that include links to content that changes weekly (it's a collegiate newspaper site ... the blocks feature links to the weekly campus police blotter and the most recent sports headlines).

Here's the problem -- The content that these files link to is being viewed 5x as much as content that appears in the center column. And they are being viewed as much as 20x more often than they did when they were included in the center column.

Sorting fileshare list

Hi-

Can anyone tell me how to sort files I am sharing in a fileshare node by reverse chronological order of upload (ie. most recent uploads display at the top of the list) instead of alphabetical? I looked through the module file, but I don't have a programming background so I don't know what I need to change to make this work.

Pages

Subscribe with RSS Subscribe to RSS - Post installation