JoomlaFAQs.org

JoomlaFAQsBanner
How To Groom Your Dog At Home

Favourites Create PDF Email Print

ArtForms Layout Broken After Submitting Form

Author:
technojoom
Hits:
3465
Rating:
 
Vote for this:
Good - Bad
favoured:
0 Favour

Answer

Component : ArtForms v. 2.1b7.1 [RC1 For Joomla 1.5]

ArtForms is a Forms Component for Joomla. If you choose to put in 'Text After Sending' message after the form is sent, your site layout may be broken. This is due to a missing < /div > tag in the code.

  1. Go to components/com_artforms/artforms.html.php
  2. Go to Line 511 - add the close div tag from this >
$confirm = '< div id="artforms-text" >'.$row->danktext.'< br / >
'.$copyconfirm.'< /div >'; } else { $confirm = '< div class="artforms-error" >'.JText::_
( 'ARTF_MAILSENDERERROR' ).'< br / >'.$confirm.'< /div >'; }
To this >
$confirm = '< div id="artforms-text" >'.$row->danktext.'< br / >
'.$copyconfirm.'< /div >< /div >';
//added close div tag here by technojoom } else { $confirm = '< div class="artforms-error" >'.JText::_
( 'ARTF_MAILSENDERERROR' ).'< br / >'.$confirm.'< /div >< /div >';
//added close div tag here by technojoom }

Had a tip-off from here but the code there wasn't working for me.


SITE NOTE: To display the HTML tags on JoomlaFAQs, there is a space between the name of the tags and the enclosing "less than" (<) and "more than" (>) brackets. If you copy the code, make sure you delete the spaces to make it work!

If you have found this site to be useful and has helped you, kindly consider to donate. Your donation will encourage me and help to upkeep JoomlaFAQs.org! Cheers!





Category

Tags for this item

Add comment


Security code
Refresh

JoomlaFAQs Categories