Forum Support

Shape 5
March 29, 2024, 08:05:59 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Make results do something  (Read 1025 times)
2020media
Jr. Member
**
Offline Offline

Posts: 1



« on: 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"
Code:
function showDomainResult($domain,$server,$findText)

as an example, edit this line

Code:
echo "<div style='margin-bottom:4px'>$domain Available</div>";
to this
Code:
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
Logged
mikac
Jr. Member
**
Offline Offline

Posts: 2



« Reply #1 on: 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
« Last Edit: February 26, 2012, 12:45:47 PM by mikac » Logged
gstock
Jr. Member
**
Offline Offline

Posts: 2



« Reply #2 on: 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
Logged
gstock
Jr. Member
**
Offline Offline

Posts: 2



« Reply #3 on: March 06, 2013, 08:08:00 AM »

can anyone help me with the problem?
Logged
jason7
Jr. Member
**
Offline Offline

Posts: 38



« Reply #4 on: 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.