• Resolved digigirl

    (@digigirl)


    I posted this on the author’s site, but then got an automatic email saying he’s no longer supporting the plugins.

    Can anyone help me with this?

    I’m no programmer, so I’m sure this is easy but I don’t know where to put it.

    I have the signup form in two places on my client’s site – sidebar widget and on a Newsletter page. Both work fine. Would like to make 2 small changes.

    1 – I’d like to add a “more info” link to the sidebar widget that would link to the Newsletter page.

    2 – I’d like to change the formatting on the Newsletter page a little so that the “enter your email address” label is above the input box instead of next to it.

    Where do I make those changes in the plugin code? You can see the page here, if it helps – http://chivalrytoday.com/wp/newsletter

    Thanks so much for any help.

    Valerie

    http://wordpress.org/extend/plugins/phplist-form-integration/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter digigirl

    (@digigirl)

    In case anybody else has this question, here is how I did it (I did this a while ago, so hopefully I’ve remembered everything).

    Valerie

    For the Learn More link on the widget:
    Look for (approx. line 1167):

    <input type="submit" name="Submit" value="' . __('Sign me up!', 'phplist') . '" id="contactsubmit" />

    After that line, add:

    <input type="hidden" name="phplist_submit" value="process" /> <div style="font-size:x-small"><a href="/wp/newsletter">Learn More...</a></div>

    Remembering, of course, to change the link target to whatever you choose.

    For the label above the input box instead of next to it:

    Change:

    `if($widget) {
    $labelBreak = ‘
    ‘;
    } else {
    $labelBreak = ”;
    }`

    To:

    `if($widget) {
    $labelBreak = ”;
    } else {
    $labelBreak = ‘
    ‘;
    }`

    I just tried this, and it really pissed the website off, lol. Got some syntax errors.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: WP PHPList] Customization questions’ is closed to new replies.