DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

EXT: Domain check

Author:Kasper Skårhøj
Created:2002-11-01T00:32:00
Changed:2003-07-30T10:52:42
Author:Robert Lemke
Email:rl@robertlemke.de
Info 3:
Info 4:

EXT: Domain check

Extension Key: rlmp_domaincheck

Copyright 2000-2002, Robert Lemke, <rl@robertlemke.de>

This document is published under the Open Content License

available from http://www.opencontent.org/opl.shtml

The content of this document is related to TYPO3

- a GNU/GPL CMS/Framework available from www.typo3.com

Table of Contents

EXT: Domain check 1

Introduction 1

What does it do? 1

Screenshots 1

Adminstration 2

Layout 2

Known problems 2

To-Do list 2

Changelog 2

Introduction

What does it do?

This extension provides a small frontend plugin with a form. The visitor may choose from a predefined list of top level domains, type in a domain name and will get a message if the domain is still available for registration.

The layout of the form can be changed by stylesheet definitions. All messages support TYPO3's language model. The whois servers as well as the top level domains which are available for the query may be defined in an external file.

Screenshots

Is your domain still available?

img-1 Click the check button and you will know:

img-2

Adminstration

Just install the extension like any other. You will be asked if you want to use a different whois server definition file. That file contains an array defining the toplevel domains you want to make available for the queries. Additionally it contains information about the whois servers and the messages they return if a domain was not found in the database.

See the file whois_servers.php in the extension's pi1/ directory for a working example. You may copy that file to a different location and set the whoisServerFile property accordingly.

img-3

Layout

You may take influence on the layout by defining your own stylesheet definitions. This extension does not yet support TYPO3's css editor.

See the following HTML code this extension creates. You'll find all the CSS classes you need:

((generated))

((generated))
Code snippet
<div class="tx-rlmpdomaincheck-pi1">
        <form action="yourURL.html" method="POST" />
                <input type="text" class="tx-rlmpdomaincheck-pi1-form-text-field" name="tx_rlmpdomaincheck_pi1[query_domain]" value="robertlemke" /><select class="tx-rlmpdomaincheck-pi1-form-tld-select" name="tx_rlmpdomaincheck_pi1[tld]"><option value="de">de</option> ... more options ...</select>
                <input type="submit" class="tx-rlmpdomaincheck-pi1-form-submit-button" name="tx_rlmpdomaincheck_pi1[submit_button]" value="check domain" />
                <input type="hidden" name="tx_rlmpdomaincheck_pi1[mode]" value="2" />
                <input type="hidden" name="no_cache" value="1" />
        </form>
</div>
CSS example

The following CSS code was used to create the layout shown in the screenshots:

p {
        font: 11px/18px verdana, arial, helvetica, sans-serif;
        margin-top: 5px;
}

div.tx-rlmpdomaincheck-pi1 {
        width: 150px;
        padding: 0px 4px 0px 4px;
}
input.tx-rlmpdomaincheck-pi1-form-text-field {
        width: 86px;
        margin-right: 4px;
}
select.tx-rlmpdomaincheck-pi1-form-tld-select {
        width: 50px;
}

input.tx-rlmpdomaincheck-pi1-form-submit-button {
        width: 100%;
}

Known problems

- CSS editor is not supported

- only basic functions

To-Do list

Feel free to come up with your special needs. I might integrate some for free, others might need sponsoring.

Changelog

2.0.1b There was some space after the closing ?php> tag causing header error messages.Must have been the space adding monster ...Manual now includes sample code for the CSS properties used in the screenshot.

2.0.0b First public release. (1.0.0 never existed ;-)

img-4 EXT: Domain check - 3