PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Text widget ( as notification ) in the single entry view area hook?

  1. I am trying to add a notification above the admin entry view area ( just like the ones you get on wordpress ex : post updated)

    i have this code working but it is fired 4 times and i get 4 notifications

    add_filter("gform_get_field_value", "get_field_value", 10, 3);

    function get_field_value($value, $lead, $field){

    if (is_admin() && $_GET["id"] == 7 && $_GET["view"] == 'entry' && $field["id"] == 100)
    {
    echo "<div style='padding:6px; text-align:center; font-size:22px; background:#96ee84; border: 1px solid #52ca3a;border-color: #52ca3a;padding:15px;' class='updated fade'>Some text goes here</div>";
    }
    //

    return $value;

    }

    Posted 12 years ago on Tuesday March 27, 2012 | Permalink