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.

EE channel tag within Randomizer plugin?

September 09, 2010 10:06am

Subscribe [3]
  • #1 / Sep 09, 2010 10:06am

    webvox

    25 posts

    I’m building an EE 2.1 site and am hoping to use the first party Randomizer plugin to display some company trivia. The trivia content is managed with a channel so I’d like to bring entries into the plugin instead of hard-coding the content within the plugin itself.

    I’ve looked at using the random fields tag but keeping my content in multiple fields rather than as entries just doesn’t seem very elegant. I did try using the channels tag within the plugin but received a randomizer plugin error.

    Anyone know if it’s possible to use EE code within the plugin array?

  • #2 / Sep 09, 2010 4:42pm

    Ingmar

    29245 posts

    Why not use use a regular channel:entries tag with

    ... orderby="random" limit="1" ...

    ?

    Here are some other options as well.

  • #3 / Sep 12, 2010 4:25pm

    webvox

    25 posts

    Because that would make sense.  : )

    I had a sudden need for random content and came across the Randomizer plugin. Didn’t even occur to me to look for a native random option. The content is now as random as my brain.

    Thank you!

  • #4 / Sep 12, 2010 7:28pm

    Brandon Jones

    5500 posts

    Glad Ingmar helped, galadan!

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

ExpressionEngine News!

#eecms, #events, #releases