× Here you can get community support related to CSLookup.

Plugin displays form incorrectly

  • Trister
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 months ago #215 by Trister
Plugin displays form incorrectly was created by Trister
Love the plugin but it's not displaying my form correctly.

On the form I have Country and Region

The code:
option=com_fabrik;member_application___country

It says I don't have to use State, so I'm not.

Displaying the form, the Country works. But the Region is suppose to be on the next line with a label. Now it's on the same line as Country with no label.

Here is the form
dev.bffaceoff.com/member-application-fabrik

I have version 2.2 and Joomla 2.5.6

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #216 by admin
Replied by admin on topic Re: Plugin displays form incorrectly
Hi,
CSLookup supports only Countries and States (so CS...Lookup). No region support.

Is this your problem? Please, advise.

Please Log in or Create an account to join the conversation.

  • Trister
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 months ago #217 by Trister
Replied by Trister on topic Re: Plugin displays form incorrectly

It says I don't have to use State, so I'm not.

I know that. I'm only using it for Country!


The problem is, the plugin is messing up the form.

The Region is suppose to be on the next line with a label "Region". Now it's on the same line as Country with no label.


If I disable to plugin, the forms displays as it should with each element under the next with a label. Turn on the plugin and the "Region" element shifts up to the same row as Country.

If you look at the form, you would see what I'm talking about.

dev.bffaceoff.com/member-application-fabrik

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago - 12 years 3 months ago #218 by admin
Replied by admin on topic Re: Plugin displays form incorrectly
Now the problem is clear,
could you please send me the HTML code of the page with and without the plugin?

I need to check if the problem is related to a problem with HTML replace, or just something related to page CSS.

You can send me an email at info(at)selfget.com. Please, be patient if I delay my answers. I'm on holidays... :)

Kind regards,
Luigi
Last edit: 12 years 3 months ago by admin.

Please Log in or Create an account to join the conversation.

  • Trister
  • Topic Author
  • Offline
  • New Member
  • New Member
More
12 years 3 months ago #219 by Trister
Replied by Trister on topic Re: Plugin displays form incorrectly
Oh, don't worry no rush. I'm actually surprised you check the forums during your holidays. You don't see that happen often and I appreciate it.

I'll send you the email as soon as I can.

Thanks!

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #222 by admin
Replied by admin on topic Re: Plugin displays form incorrectly
Hi,
thanks for sending me the HTML code.

Looking at your code I've found I forgot to close the select tag in the select replace (while is present in the input replace). I don't know if this causes your problem, but for sure I will fix in the next release. So. try to replace this line (213):
$replacement = '<select ' . $name . ' ' . $id . ' ' . $class . ' ' . $style . ' ' . $this->_countrywidthstr . ' ' . $this->_countrysizestr . ' ' . $onchange . '>';

With this:
$replacement = '<select ' . $name . ' ' . $id . ' ' . $class . ' ' . $style . ' ' . $this->_countrywidthstr . ' ' . $this->_countrysizestr . ' ' . $onchange . '></select>';

Please, advise.

Luigi

Please Log in or Create an account to join the conversation.

Time to create page: 0.177 seconds