Ticket #437 (closed enhancement: fixed)

Opened 2 years ago

Last modified 2 years ago

add information to rss.plugins.beforerender to tell plugin where data is being rendered

Reported by: mdodoo Owned by: mdodoo
Priority: low Milestone: Gregarius 0.6.1
Component: PLUGINS Version:
Severity: normal Keywords:
Cc:

Description

See http://forums.gregarius.net/comments.php?DiscussionID=373. This added information would help plugins that used the hook to customize their output depending on where information was being rendered.

Change History

Changed 2 years ago by mbonetti

  • status changed from new to closed
  • resolution set to fixed

Actually, there is a trivial solution:

<code> if (function_exists('getThemeMedia') && getThemeMedia() == 'web') {

// We're rendering for the web! rss_set_hook('rss.plugins.items.beforerender','indivdel_link');

} </code>

Note: See TracTickets for help on using tickets.