User picture doesn't appear on all postings...

I was just playing with the user picture that appears beside each posting and noticed that it didn't appear at all for my first post on my page. Instead the full text path is shown there instead (/files/pictures/user1.jpg.) (Syntax may not be 100% correct.)

Anyway, the first post is a blog and is stickied. I don't know if this has anything to do with it. This is also using the Pushbutton theme.

Any ideas on how to fix this issue? How can I disable user pictures on certain nodes/blocks?

Thanks!

Revisions for Attachments -- How Can I Do This?

Hi everyone, I would like to be able to track revisions to attachments on a node. Is this possible? Not diff's, but the ability to download previous versions of the files if desired. Thanks :)

Kevin
Citrus Heights, CA

Post data not showing for anonymous users

Using Drupal 4.7 with the story module. On the main page, the post (submitted by) info and the categories does not show up on the front page for users that are not logged in. This is the only node that behaves like this, and the information is missing ONLY on the front page. If an anonymous user views the individual node, all the information is there.

The story node-type behaves as normal for registered users.

Any ideas where I can find that setting?

How do I get TinyMCE to work with theme's css file for styles?

How can I get TinyMCE to work with my theme's css file for styles?

I am using the Pushbutton theme and for the values under "CSS" in TINYMCE I have:
Editor CSS: Define CSS.
CSS Path: %tstyle.css.
CSS Classes: (blank)

I get nothing in my styles dropdown.

I imagine its in the path and I have tried "%t/style.css", "%t style.css" and "%tstyle.css" and none of these work.

Any ideas?

Thanks!

How do I apply different filters to form textareas?

In drupal 4.7, I have multiple text areas on a single node form. How do I let the user choose different filters for the two (or more) text areas?

Thanks. -Dave

hook_user problem / perhaps bug in 4.7-beta3

Hi

I didn't really want to post to the core forum but I am 99% sure that Drupal isn't doing what its supposed to. I modified block_example by
removing all the comments and adding a call to _user. I tried to add something to $user so I can use it later. The wording in the API leads me to believe this is possible. I try to display the thing I add in the block but it doesn't show up. All the code is here:

<?php
function block_example_help($section) {
switch ($section) {
case 'admin/modules#description':
// This description is shown in the listing at admin/modules.
return t('An example module showing how to define a block.');
}
}

function block_example_block($op = 'list', $delta = 0, $edit = array()) {
switch ($op) {
case 'list':
$blocks[0]['info'] = t('Example: configurable text string');
$blocks[1]['info'] = t('Example: empty block');
return $blocks;
case 'configure':
$form = array();
if ($delta == 0) {
$form['block_example_string'] = array(
'#type' => 'textfield',
'#title' => t('Block contents'),
'#size' => 60,
'#description' => t('This string will appear in the example block.'),
'#default_value' =>
variable_get('block_example_string', t('Some example content.')),
);
}
return $form;
case 'save':
if ($delta == 0) {
variable_set('block_example_string', $edit['block_example_string']);
}
return;
case 'view': default:
switch ($delta) {
case 0:
$block['subject'] = t('Title of block #1');
$block['content'] = block_example_contents(1);
break;
case 1:
$block['subject'] = t('Title of block #2');
$block['content'] = block_example_contents(2);
break;
}
return $block;
}
}
function block_example_contents($which_block) {
global $user;
if ($which_block == 1) {
$output = variable_get('block_example_string', t('A default value.'));
$output .="

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x