This is a great module. Using Publish and Subscribe modules are the only way I have found to be able to have multisites that have common content from a main site plus their own unique, non-shared content.

I am publishing from a site that uses the noteteaser module and the subscribing sites also have the nodeteaser module. I have added two lines of code to my publisher.module to include the user-defined teaser in the published node. These were added in the _publish_publish function right after the node_load command:

    $node = _nodeteaser_load($node);
    if ($node->nodeteaser == TRUE) $node->nodeteaser = $node->teaser;

I don't have any code to detect if the nodeteaser module is included or not (or nodeteaser table is in the DB) since that isn't an issue for me. But you may want to add this to your module. Thanks!

Comments

voidberg’s picture

Status: Active » Closed (fixed)

Closing this since it relates to the 4.7 version.