Which is the best way of putting a code on all the pages ??? [something like google analytics]

I am not using analytics but it's a different script. I need to put the code on all the pages. Right now I am using a BLOCK but I feels it's not a good solution as it creates a blank block(the code is just javascript code) which looks ugly. I don't want to put the code directly into any .inf or .tpl files as well. Any other better way ?

How to use the submitted values of webform.moule ?

OK, I am exploring webform.module to implement a 10 questions radio button quiz. The page name is first-quiz and I have created a quiz of 10 questions. Now when user fill the quiz, he will go to page - Results.

So far fine. But How do I pass the results to answers page ? I mean I want in Results page, I want to show the user, Out of 10, you have 7 correct answers. Here are the Correct answers ... In short, I need to know how to process the information before showing on target page.

Want blocks' headers to be links

With views module I've set blocks to the front page.
These blocks show number of arcticles filtered by taxonomy term.
And one block imports rss feed.
How do I make block's header to be link on page with nodes specified by taxonomy term?

i have a question with themin

Hi there!

ok check this out...

in theme.inc

around line 869 we 've something like this:


function theme_item_list($items = array(), $title = NULL, $type = 'ul') {
  $output = '<div class="item-list" id="***NODE-ID***">';
  
  if (isset($title)) {
    $output .= '<h3>'. $title .'</h3>';
  }

  if (!empty($items)) {
    $output .= '<$type>';
    foreach ($items as $item) {
      $output .= '<div>'. $item .'</div>';
    }
    $output .= "</$type>";
  }
  
  $output .= '</div>';
  return $output;
}

can i get the parent block-id containing this items?

***BLOCK ID*** is the block id. ex: "block-user-2" (new users) !!!

Ex (note: block-user-2):

Only local images are allowed.

New users

How to get this php snippet to show thumbnails if available?

I got this snippet from the handbook but no one is answering my question. I suspect the title of the article might be the issue so I'm posting this here hoping someone will respond.

How can I get this to show with thumbnails (if available) or maybe even a teaser instead?

TinyMCE lists

Hey everyone,

I'm really struggling here... I'm trying to figure out where the CSS definitions are that cause TinyMCE lists to be bulleted with a diamond-like image, as seen here. I've been through all my own CSS files as well as TinyMCE's and this issue is absolutely driving me crazy here. I simply want the lists to be bulleted like normal/unstyled lists.

Thanks!

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.7.x