This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Simplenews -- relative urls

I have begun using Simplenews which appears to be just the thing I need.

However, I want to add dynamic content to the emails, like the "upcoming events" block. So I put in a php snippet. This works fine.

The problem I am having is that the urls are not absolute. The link is "node/17" because this is all the event module does with it. The full url is added later in the page construction process.

Any suggestions?

Mail recent added content to registered users

I'm using 4.6 and want to send an email every 2 weeks to all registered users on the site with links to the new content in the past 2 weeks. I was wondering what the best way to go about this was. Has anyone ever coded something to do this? I've been looking at the various mail modules on the site:

Seeking suggestions for setting up a development environment

I'd like to begin learning more about Drupal and PHP. I don't know PHP or any other programming really, although I've done some work with VBA to create some macros and user forms in Word. So, I'm seeking some suggestions about a recommended setup to learn PHP, specifically, how it's used to run Drupal modules and themes.

New module - Contact List

Announcing a new module: Contact List

This module expands the features of the site wide contact form. It eliminates the need for the drop down category menu by generating a contact form, and a unique path, for each of the contact form categories.

Could I get help editing this module. (Node List)

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 {

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions