WordPress.org

Ready to get started?Download WordPress

Forums

church_admin
[resolved] Edit Small Groups (2 posts)

  1. Gustavo Viegas
    Member
    Posted 9 months ago #

    First I want to congratulate the great work ...

    I'm having trouble editing the leaders of small groups.

    I only get when I'm adding members, put him as leader of a new group.

    But to go in managing small groups I visualize the leaders, but when I edit the group the field does not appear ..

    I tried to check in the file small_groups.php and could not the solution ...

    The problem seems to be in line ..

    if($leaders)
    	    {//leaders available
    		$curr_leaders=unserialize($data->leader);
    		echo'<p><label>'.__('Leader','church-admin').'</label>';
    		echo'<select name="leader1">';
    		foreach($leaders AS $leader)
    		{
    		    echo'<option value="'.$leader->people_id.'" ';
    		    selected($curr_leaders[1],$leader->people_id);
    		    echo' >'.$leader->leader.'</option>';
    		}
    		echo'</select></p>';
    		echo'<p><label>Leader</label>';
    		echo'<select name="leader2">';
    		echo'<option value="">'.__('Second Leader','church-admin').'</option>';
    		foreach($leaders AS $leader)
    		{
    		    echo'<option value="'.$leader->people_id.'" ';
    		    selected($curr_leaders[2],$leader->people_id);
    		    echo' >'.$leader->leader.'</option>';
    		}
    		echo'</select></p>';
    	    }//leaders available

    Grateful for a solution ...

    hug

    http://wordpress.org/extend/plugins/church-admin/

  2. andy_moyle
    Member
    Plugin Author

    Posted 6 months ago #

    Thanks for pointing out a bug - which is now fixed
    It was also pointed out on
    http://www.themoyles.co.uk/web-development/plugin-support/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.