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.

How to grab both label & value from a Dropdown LIst?

April 10, 2009 4:54pm

Subscribe [2]
  • #16 / Apr 17, 2009 6:48am

    Mark Bowen

    12637 posts

    I have the Sarge plugin and that may be the kicker, it’s not working.  It’s me that is running on 0 sleep so if any body is confusing the issue, then I take the blame:)

    Ah okay, sorry missed you saying you were using that extension above. I’ve never used that myself. If I get the time I will have to take a look to see what that one does and see where they are conflicting if they are doing that.

    Best wishes,

    Mark

  • #17 / Apr 17, 2009 6:52am

    leadsuccess

    408 posts

    Also I can hard code it into the plugin as before, that is probably the quick fix.

  • #18 / Apr 17, 2009 6:56am

    Mark Bowen

    12637 posts

    I just took a look at the sarge extension and I see what you mean now.

    I don’t think that I would be able to add support for that in my plugin as it would mean catering for both the standard use of the plugin and the usage of the plugin with the extension. The extension is really meant so that you show groups in the Publish Area so if you wanted labels it might be best to contact Brandon to see about him adding that functionality in on his end instead, keep it all in the family as it were 😉

    Sorry about that. Please do feel free to hack away at my plugin though if you need to. Would be interested in anything you come up with on this one although I think it is going to be a more custom plugin as it might be more difficult getting it to work in all three ways.

    Best wishes,

    Mark

  • #19 / Apr 17, 2009 7:04am

    leadsuccess

    408 posts

    You’re totally right, there is really no way they will play together.  When I do the original hack everything works just fine.  Your plugin must process after Sarge and it’s not a big big deal.  I like your plug-in and in fact I think it goes in my standard installs from now on.  Thanks again Mark!

    As for that cheque I just sent it out and followed your instructions.  This is what the cheque ended up looking like.

    Amount: 0000000000000000000.00

  • #20 / Apr 17, 2009 7:20am

    Mark Bowen

    12637 posts

    You’re totally right, there is really no way they will play together.  When I do the original hack everything works just fine.  Your plugin must process after Sarge and it’s not a big big deal.  I like your plug-in and in fact I think it goes in my standard installs from now on.  Thanks again Mark!

    No problem, thanks for the kind words. As a note my plugin is just for use on the template side of things, the extension modifies what happens in the Publish page so a slightly different kettle of fish 😉

    As for that cheque I just sent it out and followed your instructions.  This is what the cheque ended up looking like.

    Amount: 0000000000000000000.00

    Hmm two things come to mind here :

    1 - How do you know my postal address with which to send the cheque to?

    and

    2 - I think you’ve missed the 1 off the front of that cheque 😉

    Best wishes,

    Mark

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

ExpressionEngine News!

#eecms, #events, #releases