Support » Plugin: Genesis eNews Extended » Zoho Campaign support

  • Resolved Fawad Tiemoerie



    Is Zoho Campaign something you are considering? Its similar to mailchimp.


    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brandon Kraft


    Code Wrangler

    I’m not aware of Zoho Campaign. If you could provide a sample form code from them on how to embed into your own site, I can provide suggested set of install instructions.

    <!-- Start Zoho Campaign --> 
     if( isset($_POST['zc_domain_url'])) {
        update_option('zc_domain_url', $_POST['zc_domain_url']);
    update_option('zc4wp_a_apikey', $_POST['zc4wp_a_apikey']);
    $dbKey = get_option('zc4wp_a_apikey');
    $zc_domain_url = get_option('zc_domain_url');
    //$zc_domain_url = '';
    <script type="text/javascript">
    var zc_domain_url = "<?php echo get_option('zc_domain_url'); ?>";
    //zc_pluginDir = "<?php echo plugins_url("",__FILE__); ?>";
    zc_pluginDir = "<?php echo plugins_url('holler-box'); ?>";
    const zc_on_load_api_val = "<?php if($dbKey != '') { echo $dbKey['api_key']; } else { echo ''; } ?>";
    const zc_on_load_account_id = "<?php if($dbKey != '') {  echo $dbKey['accountId']; } else { echo ''; } ?>";
     <form action="" method="post" id="api_key_form" autocomplete="off">			
     <h3><?php _e('Zoho Campaigns Account Details', 'holler-box'); ?></h3>
    				 <p><?php _e('If you are using Zoho Campaign, enter your zoho email and  API key. <a class="zcsmallink" href="" id="help_link" target="_blank">Learn how to generate the API key.</a>', 'holler-box'); ?></p>
    				<input type="text" class="zcctmzfldpan_1" onkeyup="if (event.keyCode == 13) { zc_accountVerfication();}else{zc_emailIdValidator();}" id="zc_emailId" name="zc4wp_a_apikey[emailId]" size="50" autocomplete="on" onfocus="zc_fieldFocused('1');" placeholder="" value="<?php if($dbKey != ''){echo  $dbKey['emailId'];}else{echo "";}?>" onblur="zc_emailIdValidator();">&nbsp;
                                            <span id="zc_email_error">
                                                <img width="20" height="20" src="<?php echo plugins_url('assets/img/zc_success.png',__FILE__); ?>" align="absmiddle" style="display:none;" />
                   <input type="text" class="zcctmzfldpan_1" onkeyup="if (event.keyCode == 13) { zc_accountVerfication();}else{zc_apiKeyValidator();}" id="zc_api_key" name="zc4wp_a_apikey[api_key]" value="<?php if($dbKey != ''){echo  $dbKey['api_key'];}else{echo "";}?>" size="50" autocomplete="on" onfocus="zc_fieldFocused('0');" placeholder="Api Key" onblur="zc_apiKeyValidator();"> &nbsp;
                                            <span id="zc_api_key_error">
                                                <img width="20" height="20" src="<?php echo plugins_url('assets/img/zc_success.png',__FILE__); ?>" align="absmiddle" style="display:none;" />
    				<input type="text" name="zc_domain_url"  size="50" id="zc_domain_url" value ="<?php if($zc_domain_url != ''){echo  $zc_domain_url; }else{echo "";}?>" />
    			   <input type="hidden" name="zc4wp_a_apikey[ageIndicator]" id="ageIndicator" value="new">
    				<input type="hidden" name="zc4wp_a_apikey[accountId]" id="accountId" value="<?php if($dbKey != ''){echo  $dbKey['accountId'];}else{echo "-1";}?>">
    				<input type="hidden" name="zc4wp_a_apikey[orgName]" id="orgName" value="<?php if($dbKey != ''){echo  $dbKey['orgName'];}else{echo "-1";}?>">
    				<input type="hidden" name="zc4wp_a_apikey[active]" id="active" value="<?php if($dbKey != ''){echo  $dbKey['active'];}else{echo "-1";}?>">
    				<input type="hidden" name="zc4wp_a_apikey[emailId]" id="emailId" value="<?php if($dbKey != ''){echo  $dbKey['emailId'];}else{echo "-1";}?>">
    				<input type="hidden" name="zc4wp_a_apikey[integratedDate]" id="integratedDate" value="<?php if($dbKey != ''){echo  $dbKey['integratedDate'];}else{echo "-1";}?>">
    				 <div class="zcmt20"><br/>
    					<div id="save_account" onclick="return zc_accountVerfication('1')" class="button button-primary" style="box-shadow:none;margin-right:15px;">
    					<input type="button" value="Cancel" id="cancel_account_changes" onclick="zc_cancelChanges()" style="display:none;" class="button">
    <!-- End Zoho Campaign -->


    Was a solution found for this, I too am running Zoho Campaigns with Genesis and would prefer to use the genesis newsletter extended plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Zoho Campaign support’ is closed to new replies.