I'm not fluent with PHP, what would I edit in this PHP file to have it display just a list of node cotent and not the letters? Output is this:
* f
* g
f
* First Date Tips. Things To Do On First Date.
g
* Getting Ones Phone Number Aint That Hard
I just want:
* First Date Tips. Things To Do On First Date.
* Getting Ones Phone Number Aint That Hard
It's the node list module. Any help is very much appreciated!
<?php
/**
* File: nodelist.module
* Version: $Id: nodelist.module,v 1.3.2.4 2005/05/02 16:12:48 njivy Exp $
* Author: Nic Ivy (nji@njivy.org)
* Description:
*
* This module provides a page listing nodes by their titles, linking to
* the nodes directly. The list is sorted alphabetically.
*/
/**
* Implementation of hook_help()
*/
function nodelist_help($section = 'admin/help#nodelist') {
switch ($section) {
case 'admin/modules#description':
return t('List all nodes by title');
}
}
/**
* Implementation of hook_menu()
*/
function nodelist_menu($may_cache) {
$items = array();
if ($may_cache) {
$items[] = array('title' => t('node list'),
'access' => user_access('access content'),
'path' => 'node/list',
'callback' => 'nodelist_page',
'type' => MENU_SUGGESTED_ITEM);
}
else {