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

How to display full nodes in search results?

iBasically I want to display full nodes when doing a search. no highlighting of keywords, or anything. just list the full nodes as if it were a view. I looked at the code on how to show teasers in search results

Which is this:

function foundation_search_item($item, $type)
{
    if (module_hook($type, 'search_item'))
    {
        $output = module_invoke($type, 'search_item', $item);
    }
    else
    {
        $info = array();
        if ($item['type']) $info[] = $item['type'];
        if ($item['user']) $info[] = $item['user'];
        if ($item['date']) $info[] = format_date($item['date'], 'small');
        if (is_array($item['extra'])) $info = array_merge($info, $item['extra']);

        $output  = '<div class="search-result">';
        $output .= '<dt class="title">';
        $output .= '<a href="/'.check_url($item['link']).'">';
        $output .= check_plain($item['title']).'</a>';
        $output .= '</dt><dd>';
        $output .= '<p class="search-info">'.implode(' - ', $info).'</p>';
        $output .= '<p>'.$item['snippet'].'</p>';
        $output .= '</dd>';
        $output .= '</div>';
    }
    return $output;
}

I can almost see how this is laid out in my search results, but am not sure of where to go to get the full node to show up. I also don't know how this would affect the fact that I used templates for a number of content types.

CiviCRM disappeared from admin/module list and site (stays in system database table)

My CiviCRM suddenly disappeared after I enabled the CiviNode module (but I'm not sure that this caused it - I was also playing around with user permissions but that was mostly to get CiviCRM to work at all). The module isn't listen on the admin/modules page, the CiviCRM menu item is gone as are all associated blocks. And going directly to the /civicrm link results in page not found. All the files are still on the server (as before).

"Access denied" after one-time login

I installed Drupal 4.7 on my website a few days ago and i've lost my password, however when I try to recieve a new password via the request new password function, i try to login using the one-time login link and i get an access denied error. Any clue what to do?

What is a theme engine?

Hi all,

Just a question, I'm not sure what theme engine means... Is it different from themes , as in theme engines generate themes ?

Which is better to install...a theme engine or just single themes that we like? If theme engines generate themes from a specific preloaded database, I think that's cool.

I hope this doesnt come across as entirely dumb.. (sorry)

Thanks for any quick input.

Where's chameleon's page.tpl.php?

I'm trying to change chameleon's primary links to tabs, and I'm following these instructions: http://drupal.org/node/31704 .

However, it mentions changing a "page.tpl.php" which I can't seem to find in the chameleon directory but I can in other theme directories.

What should I do?

Error with Smiletag?

Fatal error: Call to undefined function: message_access() in /homepages/4/d153502756/htdocs/forthewin/rawr/modules/smiletag/smiletag.module on line 55

I've been getting that error after I installed SmileTag for Drupal. it worked fine when I was logged on last night, but when I logged out, I got this error. Now I can't go to the admin center and at least disable it.

Anyone care to help?

Pages

Subscribe with RSS Subscribe to RSS - Post installation