ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

tell_a_friend outside of channel entries loop?

January 27, 2014 10:22am

Subscribe [2]
  • #1 / Jan 27, 2014 10:22am

    biblio

    9 posts

    Question:  Is there a way to call the tell_a_friend form outside of a channel entries loop?

    Background: I’ve got a design I’m implementing where the designer wants the user to be able to “tell a friend” about the channel as well as being able to “tell a friend” about each channel entry.  I’ve got the feature working just fine on the entry level, but on the channel index templates (you are in the blog, or recipes, etc…) the only way I can get it to work is to put the tell_a_friend form in a non-dynamic loop with a limit of 1, and then not include any of the data from that article in the form.  If I try to put the tell_a_friend form outside of an entry loop, it always comes up blank.

  • #2 / Jan 27, 2014 10:50am

    Rob Allen

    3105 posts

    You could always use the standard contact form - http://ellislab.com/expressionengine/user-guide/modules/email/contact_form.html - outside of a channel entry.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases