I am trying to call inline html content within chronoforms with ari sexy lightbox. my code is simple.
I had them go into my site and check it out for themselves. They advised that chronoforms v4 is removing the {/arisexylightbox} at the end. so you end up with the table showing on the form and then a blank lightbox. You can see here the result
http://test.kellertcreations.com/index.php?option=com_chronoforms&chronoform=Party_Quotation
is there any fix?
{arisexylightbox activeType="icontent" width="500" height="500" link="Click me" title="Hidden text"}
<table border=1>
<tbody>
<tr>
<th>Size of Tent </th>
<th>Seated Guests </th>
<th>Area Required </th>
<th>Square Footage</th>
<th>Color </th>
</tr>
<tr>
<td>20’x 20’ </td>
<td>Up to 32 </td>
<td>30’ x 30</td>
<td>400 </td>
<td>White </td>
</tr>
<tr>
<td>20’x 30’ </td>
<td>48 - 64</td>
<td>30’ x 50’ </td>
<td>600 </td>
<td>White </td>
</tr>
<tr>
<td>20’x 40’ </td>
<td>48 - 64</td>
<td>30’ x 50’ </td>
<td>800</td>
<td>Yellow/White Stripe </td>
</tr>
</tbody>
</table>
{/arisexylightbox}
I had them go into my site and check it out for themselves. They advised that chronoforms v4 is removing the {/arisexylightbox} at the end. so you end up with the table showing on the form and then a blank lightbox. You can see here the result
http://test.kellertcreations.com/index.php?option=com_chronoforms&chronoform=Party_Quotation
is there any fix?
Just checked another form maker no issues.
I dont wanna use another form builder.....so please give me some help!!!
I dont wanna use another form builder.....so please give me some help!!!
Hi nkellert,
This may be happening because the RePublisher tries to replace strings in curly brackets. Please try turning RePublish off in the Show HTML action and see if this fixes the problem. That will help know where to look.
Bob
This may be happening because the RePublisher tries to replace strings in curly brackets. Please try turning RePublish off in the Show HTML action and see if this fixes the problem. That will help know where to look.
Bob
Hi nkellert,
I'll add this to the 'bug list'. I've found a fix in case you need it.
In components/com_chronoforms/chronoform.php around line 378 replace this line:
Bob
I'll add this to the 'bug list'. I've found a fix in case you need it.
In components/com_chronoforms/chronoform.php around line 378 replace this line:
if ( $replace_null === true ) {
$content = str_replace("{".$match."}", '', $content);
}
with if ( $replace_null === true && substr($match, 0, 1) != '/' ) {
$content = str_replace("{".$match."}", '', $content);
}
Bob
This topic is locked and no more replies can be posted.