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.

Using a plugin inside a tag?

June 23, 2007 1:48am

Subscribe [1]
  • #1 / Jun 23, 2007 1:48am

    BlackHelix

    226 posts

    I have a question… can you create a plugin that works inside a tag?  Like, say, the weblog:entries tag? 

    To be more accurate, I’ve seen that you can, but can you add parameters to that plugin inside a tag?

    Like so:

    {exp:weblog:entries weblog="news" category="{exp:new_plugin data="New_data"}" parse="inwards"}
    ....
    {/exp:weblog:entries}

    I’ve tried it, but it doesn’t seem to work.  If you can’t use parameters in the plugin… it seems rather crippled somehow.

    Anyone know?  I appreciate it!

  • #2 / Jun 23, 2007 1:32pm

    Lisa Wess

    20502 posts

    You might want to look through this thread.

  • #3 / Jun 24, 2007 5:51am

    BlackHelix

    226 posts

    Thanks, Lisa, that thread is helpful.  However, it doesn’t exactly clear up my question—that thread dealt with plugins inside a weblog entries tag.  Or a pair tag.  I was more interested in a plugin that returns a parameter to another tag—I know it’s possible, but I’m not sure if the plugin can have parameters.  I hope that makes sense. 

    Thanks for your help so far!

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

ExpressionEngine News!

#eecms, #events, #releases