i've already tried a bunch of stuff to get it working, including looking into the core's garland's template.php for guidance and browsing through the Drupal 6 API-documentation.
My problem is: i would like to customize the way Drupal 6 outputs the attachments of a given node. I've changed the theme_upload_attachments function to my liking, put it in my theme's template.php - just as i was used to for Drupal 5 - but it doesn't change a thing. Am I missing something? I feel like i haven't fully grasped the potentially new concept of overriding functions in Drupal 6, despite reading the "Converting 5.x themes to 6.x" / http://drupal.org/node/132442 and "Overriding theme functions" / http://drupal.org/node/173880 pages in the handbook. So now I'm hoping one of you can help me get this working.
As reference, my template.php containing only the customized function is as follows:
<?php
function phptemplate_upload_attachments($files) {
$header = '
In the near future, installation profiles will be packaged with all of core, and whatever contributed projects they depend on. In designing exactly how this system will work, there are some unanswered questions that I'd like to get feedback from the community about. I've posted each one as a poll in the installation profile group (http://groups.drupal.org/distributions) so that people can both comment and vote on the various alternatives.
I'm on hostgator (a shared server), and set up the cron through cPanel, although I can't get cron to run without a:
"We were unable to use the MySQLi database because the MySQLi extension for PHP is not installed."
My command line is: cd /home/username/public_html/ ; php cron.php
Is MySQLi something I need to enable with my host, or through Drupal, or is it even really needed? Everything else seems to be working fine except for cron.
We are looking for another full or part time Drupal developer, PHP programmer.
Must have
20-40+ hours of weekly availability
Proven experience working with Ubercart and Drupal
Extensive, proven knowledge of PHP and MySQL
Ability to hand code HTML and PHP
Ability to work within the command line
Ability to work on several projects concurrently
Ability to accurately estimate the time required to complete the work
Working knowledge of JavaScript, Ajax, jQuery, XML, Flash, CSS
I need to add some data to the node object when loaded, but that data is based off a CCK field value, which is not present at the load op, should I just use another op or do I need to manually load this information?