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

Disable block name display?!

Anyone know how I can get rid of the block names in my sidebars? Ideally I'd like to disable them on a block by block basis. Turning them off globally would be OK too as I can put them back in the individual block's code. Is there any easy way to do this or am I going to have to try a direct xtemplate hack? (...hopefully not, my php's rubbish!).

:0)

Rog.

Error when made my first page

I have installed my drupal 4.7 and when i did my first page where i changed the content i get this error

Fatal error: Call to undefined function: format_name() in /homepages/22/d122080877/htdocs/mkpitstop/main/themes/friendselectric/node.tpl.php on line 14

Please can some one help me?

how do i auto-link predefined keywords ?

hi

how do i get a text within a node to be linked based on a set of predefined keywords ?

for example i define 'brown' as a keyword and i define that whenever someone clicks on the word 'brown', drupal will do a search for the word 'brown'. so, whenever the word 'brown' appears in my story / page / feed nodes it gets linked to search for the word 'brown'.

Best way to show archived content?

I am trying to figure out a nice, automatic way to pull up old stories from the archives and have them appear on a page or a block.

Nodequeue is helpful, but I would have to manually set the up the queue, which I don't want to. This is somewhat like random images, except that it would come out of the archives (may be a month ago from the current date) and show up on the block or page automatically. I feel this would be a nice way to call attention to important stories that were previously posted and which new users to the site may not see until they really dig deep.

Is there anything to show that I am running drupal 4.6.6.?!

I've just upgraded my installation from 4.6 to 4.6.6, having followed instructions to the letter. My site though looks exactly the same, and I can find no differences anywhere! How can I be sure I didn't do anything wrong and that perhaps I'm still running the version with the bugs?? Sorry for sounding paranoid!

Maha

altering form attributes

I would like very much to change an attribute in a form tag that i am using in a theme function.
as a test i made this template:

<pre>
<?php $form['name']['#attributes'] = array('tabindex' => 1, 'class' => "inputfield")?>
<?php print_r($form['name']) ?>
</pre>
<?php print form_render($form['name']);?>

the output i got from the form was:

 <input type="text" maxlength="60" class="form-text required" name="edit[name]" id="edit-name"  size="30" value="" tabindex="1" class="inputfield" />

so clearly something is working right.. however i would like to actually get rid of the 'form-text required' class declaration... what am i doing wrong here?

Pages

Subscribe with RSS Subscribe to RSS - Post installation