Blank Space in Form I cannot remove

oculusmm 28 Jun, 2011
Hi,

Joomla 1.6 & Chronoforms v4. I have created a number of Modal forms using the Cookbook but amended for v4. What I have noticed is that the link in the Modal Form (ie the first form you make to use as a module link) leaves a blank line prior to the link.

On looking in Firebug there is no class to amend and this also shows up as a blank line in Firebug. By back spacing in Firebug it resolves the problem and the links line up. However there is no way to do this in the form being used as a modal link.

This seems to be a php issue as have come across this before so my question is what php file is causing this issue and how can i resolve.
francosdad 30 Jun, 2011
I had the same Issue ... I investigated a bit, in my case
this was happening when displaying a form as a module and had moduletitle displayed.

I solved it by removing "?" - quesitonsmark ... right before "<?php" in mod_chronoforms.php and helper.php.

No idea if this was a custom problem or if it is in the download.

Hope this may helps.

Greetings,

Daniel
oculusmm 30 Jun, 2011
Hi,

Excellent I'll give that a try.

I have experienced the same problem with ghost lines in Smarty/PHP templates and Magento's built in editor. With Smarty it's caused by leaving blank lines in the template as easily resolved. Magento usually down to the editor as resolved again by removing line breaks.

I'll have a look at both files and see if removing line breaks in BBedit will work on these files and if not try your solution.

Thanks again... Will keep you posted on how i get on...
GreyHead 30 Jun, 2011
Hi Daniel,

Well found!!

These aren't visible in Dreamweaver but in a binary viewer I can see 'EF BB BF' (or '') at the beginning of the file. These definitely shouldn't be there - they are UTF Byte Order Markers that have crept in to Max's files in error.

Bob

I've attached a copy of the mod_chronoforms folder with the BOMs removed. Note: unzip and FTP the files to the modules folder on your site to replace the existing files - this is *not* a full installer package.
oculusmm 30 Jun, 2011
Yahooo my links line up again.

Thank you both....
This topic is locked and no more replies can be posted.