Hi .
I tried to install the category(cac) module on localhost for test it , but when i am going to the this part (http://mysite/?q=admin/access/cac_lite ) of admin area , I have an error with this topic (Fatal error: Cannot use string offset as an array in \modules\system\system.module on line 1076 )
( this problem is with dropal 5.1 )
Please help me to correct it .
tanks
I currenlty hard code each line and manually link the 'title line' to the .pdf.
I am sure there is a way in Drupal via a module that will automate this so that Drupal reads and displays the documents when the user accesses the ASX Announcements page.
Can anyone point me in teh right direction as to how to do this?
This loads my terms but also loads more stuff than I want .. I know I have some extra array elements but I don't know how to remove them (since I see the vid's name and some 0's etc...) .... is there something I should be using instead of taxonomy_info?
I have CCK, Contemplate, and views running in my Drupal 5 installation. I have a question.
I would like to remove the titles on some of my content pages, but not all of the others. For example, I want to remove the title from my podcast content page, but not my News, Blog, etc. pages.
I thought that I could create a node-content_podcast.tpl.php in the theme directory, and remove the title from it. It doesn't work. Is this what I should do? I have created a podcast template, but can't remove the title.
I'm trying to port the "Advanced User" module to Drupal 5.x and most things are working pretty good, but it's not possible for me to create a proper HTML table. I only get the content listet in a "normal" way, without any formating options, and after the content some checkboxes are shown. Here is my code:
<?php
$query = 'SELECT u.* FROM {users} u WHERE u.uid > 1';
$destination = drupal_get_destination();
while ($usr = db_fetch_object($result)) {
$users[$usr->uid] = '';
$form['name'][$usr->uid] = array('#type' => 'markup', '#value' => l($usr->name, 'user/'. $usr->uid));
$form['status'][$usr->uid] = array('#type' => 'markup', '#value' => ($usr->status ? t('active') : t('blocked')));
$form['access'][$usr->uid] = array('#type' => 'markup', '#value' => $usr->access ? t('%time ago', array('%time' => format_interval(time() - $usr->access))) : t('never'));
//$form['access'][$usr->access] = array('#value' => ($usr->access ? format_interval(time() - $usr->access)));
$form['operations'][$usr->uid] = array('#type' => 'markup', '#value' => l(t('edit'), 'user/'. $usr->uid .'/edit', array(), $destination));
$form['refcode'][$usr->uid] = array('#type' => 'markup', '#value' => $usr->uid);
}
I definitely prefer anonymous posting in the comment module, but is it possible to force the poster to type some kind of name (i.e. remove the 'anonymous' default entry in 'your name')?
Or does Drupal actually have a user called 'anonymous' which makes this impossible?