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

Stories under Primary Links and tagging with multiple categories?

Hey there,

I am on day 2 of my Drupal experience so please excuse me for not knowing all the Drupalese yet. I have two, hopefully minor, issues that I could use some help with:

1.) I have figured out how to create Primary Links at the top of my site and then link them to Static Pages that I made. But, for one of the primary links I'd like to have stories get posted there instead of a static page. I'm missing something b/c I just can't see where/how to do that.

how do I limit the number of recent blog posts displayed?

I remember in 4.6 there was an easy way to set a limit, but 4.7 is displaying 10 and I cannot figure out how to limit it to a smaller number?

any help would be appreciated.

CCK & theme_table problem

I'm trying to get a table output using the theme_table functions. My node types are defined as CCK types.

This is what I have currently:

<?php
    //Set up the table Headings
    $header = array(
        array('data' => t('ID'), 'field' => 'nid'),
        array('data' => t('title'), 'field' => 'title'),
        array('data' => t('author'), 'field' => 'field_author[0][\'view\']'));
   
	$node_type = "content-publication";
	$list_no = 5;

	$sql = "SELECT * FROM node WHERE node.type = '$node_type'";

    $sql .= tablesort_sql($header);
    $result = pager_query($sql, $list_no);
    // Loop through all the records
    while ( $records = db_fetch_object($result) ) {
        // Build a row for the table from the data
        $rows[] = array($records->nid, $records->title, $records->author);
    }
    $pager = theme('pager', NULL, 50, 0);
    // Add the pager to the table if needed
    if ( count($rows) && !empty($pager)) {
        $rows[] = array(array('data' => $pager, 'colspan' => '3'));
    }
   
    // If we have rows for a table, theme the table
    //    otherwise set output to a message
    if ( count($rows) ) {
        $output = theme('table', $header, $rows);
    }
    else {
        $output = "There are currently no clients";
    }
   
    // And finally, produce the page
    print theme('page', $output);
?>

My problems are the lines:

How to remove 'request new password' from Login block

I'd like to remove the 'request new password' link from the login block, as I have used LDAP_integration to do the authentication and the link is not required. Can I do this without altering the code?

Which module does this?

There are lots of drupal sites that have urls of the form ../tags/tag-name. Is there a specific module that does this?

I haven't used free tagging so far...

Debugging PayPal IPN

Hi there,

I've read up lots of tips in other topics for getting PayPal IPN to function properly in conjunction with the paypal_subscription module. Unfortunately, even after trying these tips, I still haven't been able to get it to work properly after months of on-off effort.

Pages

Subscribe with RSS Subscribe to RSS - Post installation