Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    Thread Starter Pastor Walt Mayhew

    (@wmayhewwalnuthillccorg)

    Angelo,

    This is actually taking place inside a PHP program. I am using the echo command to format the output as specified in your documentation. See below.

    I thought I would use a PHP IF command to interrogate the data, create a PHP field with the output data named $childcare and then simply add the field to the output stream appropriately. I am just not sure how to reference the custom field in the IF statement. Would this approach work?

    Thanks for the assistance.

    echo EM_EVENTS::output (array('campus' => 'All Church', 'format' => '
    <tr><td>
    #_EVENTIMAGE{200,200}</td>
     <td colspan="2">#_EVENTLINK<p>#_EVENTEXCERPT{25, ...}
    <table><tbody>
    <tr><td><p>
    <span class="el-icon-flag" style="font-size: 120%; padding-right: 5px"></span>
    #_LOCATIONNAME</p>
    <p><span class="el-icon-calendar" style="font-size: 135%; padding-right: 5px"></span>
    #_{D - M. j, Y}</p>
    <p><span class="icon-baby133 custom-pack-icon" style="font-size: 140%; padding-right: 5px"></span>
                                  #_ATT{Child Care}</p></td>
    <td>
    <p><span class="el-icon-map-marker" style="font-size: 133%; padding-right: 5px"></span>
    #_LOCATIONADDRESS</P>
    <p style="margin-left: 28px; line-height: 1.6">#_LOCATIONTOWN, #_LOCATIONSTATE #_LOCATIONPOSTCODE</P>
                                  <p><span class="icon-clock96 custom-pack-icon" style="font-size: 135%; padding-right: 5px;"></span>
    #_EVENTTIMES</p>
    </td>
    </tr></tbody></table></td></tr>'));?>
    </table>
    Plugin Support angelo_nwl

    (@angelo_nwl)

    hi,

    yes, I think that would work unfortunately we cannot help you with coding as per the support policy.

    https://eventsmanagerpro.com/support-policy/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional Processing User Defined Field’ is closed to new replies.