Shape 5

Joomla Free Extensions => Domain Checker - Free => : 2020media March 01, 2011, 08:31:42 AM



: Make results do something
: 2020media March 01, 2011, 08:31:42 AM
this is such a nice little module, it's a dream to modify to your own purposes.

In case you wanted the domains that are available to link to somewhere else - a shopping cart or contact form, you can easily modify the plugin file

Open mod_s5_domain_check.php and look for the section which displays the result "Available"
:
function showDomainResult($domain,$server,$findText)

as an example, edit this line

:
echo "<div style='margin-bottom:4px'>$domain Available</div>";
to this
:
echo "<div style='margin-bottom:4px'>$domain <a href=\"form1.php?$domain\">available</a></div>";

If you are using RSForms for instance, they support variables being posted in to the form, so you could use this as a the basis for a domain enquiry form

Hope this helps

Rex
Joomla Hosting: http://www.2020media.com/joomla (http://www.2020media.com/joomla)


: Re: Make results do something
: mikac February 26, 2012, 12:37:50 PM
UPDATE* External Link works as described.

Just if you can answer if it is possible to set 2 languages on the results page?


Sorry, but how do you add external link, as I have tried but I'm getting an error on the front page.

Please describe. Using Joomla 2.5.1 and current S5

Also, is it possible to make it work with 2 languages? *The results page


: Re: Make results do something
: gstock March 03, 2013, 03:47:49 AM
How do i take the result of the search ($domain) into a wrapper, including my external domain order form

if i click on the link available (http://www.domainname.dot/form/?cart1=$domainname) it takes me out of my joomla 3.0 website to my external domain order form, the domain result already filled in to the form.

The problem is that i want the form to show up in my joomla website. I think i have to use wrapper somehow but don't know how to target it with the result.


hope some one can help me out


: Re: Make results do something
: gstock March 06, 2013, 08:08:00 AM
can anyone help me with the problem?


: Re: Make results do something
: jason7 June 20, 2013, 08:24:35 AM
Well you can try to change the footer and header and see if you can start working it from there.