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.
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
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
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.
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.