Tuesday, February 25, 2014

Add fundraising committee




Add fundraising and sponsorship  committee at Canhealth. In cesei_committee table
add committee_id: 2, committee_name: Fundraising and Sporsorship; committee_description: fundraising.php
modify /_lib/edit_webcontent.php, line 20 change
  if (preg_match("/membership_committee.php/i",$_SERVER['PHP_SELF']))  $content_id=9;  
to
  if (preg_match("/fundraising.php/i",$_SERVER['PHP_SELF']))  $content_id=9;   
line 61 change
    $sql_11="INSERT INTO web_content(content_id, revision, title, text) VALUES (9,0, '/committee/membership_committee.php', 'TBD')";
to
    $sql_11="INSERT INTO web_content(content_id, revision, title, text) VALUES (9,0, '/committee/fundraising.php', 'TBD')";

line 131 change
header('Location: /committee/membership_committee.php');
to
header('Location: /committee/fundraising.php'); 

C:\Users\jiansen\Desktop\CAS\jiansen_dir\www_canhealth\canhealth\_templates\cesei_nav0.tmpl.php, line 143 change
   <li><a href="/committee/membership_committee.php?edit=1&content_id=9">   Membership Committee</a></li>
to
   <li><a href="/committee/fundraising.php?edit=1&content_id=9">Fundraising Committee</a></li> 


line 184 change
 <li  class="tier0"><a href="/committee/">Committees</a>       
to
 <li  class="tier0"><a href=" ">Committees</a>

line 209 change
<li id="nav-logged-in-research" class="tier0-sub"><a href="/committee/"><?php  echo(INSTITUTION_SHORT_NAME); ?> Collaboratives</a>
to
<li id="nav-logged-in-research" class="tier0-sub"><a href=""><?php  echo(INSTITUTION_SHORT_NAME); ?> Collaboratives</a>

C:\Users\jiansen\Desktop\CAS\jiansen_dir\www_canhealth\canhealth\_templates\cesei_nav_lang.tmpl.php, line 189, change
           elseif(htmlspecialchars($committee['committee_name']) =='Membership'){
                    echo "<li><a href='/committee/".$committee['committee_description']."'>".$map['Memberships']."</a></li>";        

to
               elseif(htmlspecialchars($committee['committee_name']) =='Fundraising and Sponsorship'){
                    echo "<li><a href='/committee/".$committee['committee_description']."'>".$map['Fundraising']."</a></li>";    

line 243 change
    echo "<li id='nav-logged-in-research' class='tier0-sub'><a href='/committee/'>".htmlspecialchars($committee['committee_name'])."</a><ul>";
to
    echo "<li id='nav-logged-in-research' class='tier0-sub'><a href=' '>".htmlspecialchars($committee['committee_name'])."</a><ul>";
C:\Users\jiansen\Desktop\CAS\jiansen_dir\www_canhealth\canhealth\languages\trans_to_french\CanHealth_nav.french.php, 
line 142 add
$map['Fundraising']='collecte de fonds et commandites';      

No comments:

Post a Comment