Results 1 to 1 of 1

Thread: Search by listingID

  1. #1
    Join Date
    Jul 2005
    Posts
    30

    Default Search by listingID

    Just created this today. Simply upload the addon to your site and include: {addon_findbylistingID_link} to your main page in the left or right column. Sorry, I didn't use the language template, and there is no error message when a match is not found.

    Mark

    edit: for xhtml 1.0 strict, we need to make a simple change to the code at line 124. We need to add <p> and </p> to conform. You could place everything on 1 line as well.

    change this:
    $display = '<form method="post" action="">
    <strong>Listing ID:</strong>
    <br />
    <input type="text" size="10" name="listingID" value="" />
    <input type="submit" name="submit" value="Search" />
    </form>';

    to this:
    $display = '<form method="post" action="">
    <p><strong>Listing ID:</strong>
    <br />
    <input type="text" size="10" name="listingID" value="" />
    <input type="submit" name="submit" value="Search" /></p>
    </form>';
    Attached Files
    Last edited by mschiltz; 08-01-2005 at 05:03 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts