WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Analyzer II] Adding support for level 2 tracking (1 post)

  1. goulvench
    Member
    Posted 4 years ago #

    The plugin lacks a xtn2 setting, here is how to add it through the interface.

    In lib/config_analyzerII.php, add the following code after line 33:

    echo "<tr valign='top'>\n";
    echo "<th scope='row'>xtn2</th>\n";
    echo "<td><input name='xtn2_value' type='text' value='".get_option('xtn2_value')."' class='regular-text code' /> <i>1</i> for example</td>\n";
    echo "</tr>\n";

    Line 50 (after you've made the previous edit), add ,xtn2_value between xtdmc_value, and homepage_ergo, so that the new line looks like:
    echo "<input type='hidden' name='page_options' value='xtsd_value,xtsite_value,xtdmc_value,xtn2_value,homepage_ergo,posts_ergo,pages_ergo' />\n";

    In lib/functions.inc.php, replace line 65 (which reads $xtn2=''; with $xtn2=get_option('xtn2_value');.

    Don't forget to add the xtn2 value in the plugin settings page when you're done.

    http://wordpress.org/extend/plugins/at-internet-analyzer-ii/

Topic Closed

This topic has been closed to new replies.

About this Topic