cforms II User Forum

Registration is currently disabled.
Guest

FAQs

Login form protected by Login LockDown.


Lost password?
Advanced Search

— Forum Scope —

  

— Match —

   

— Forum Options —

    

Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Link Breaks After Text Label
December 6, 2007
5:36 am
Chris
Guest

Please replace the ??? with your data!


I think this is an old issue however I don't see a solution for this.  On my form the PHP is inserting a line break <br /> between the label and input field.

http://www.siolon.com/contact/&nbsp;

How do I remove it? 

December 6, 2007
7:27 am
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Very strange, have you tried commenting out your WP default filters?

wp-includes/default-filters.php :

add_filter('the_content', 'wpautop');

may be the culprit, but it could also be some other plugin or feature you've enabled.

December 6, 2007
11:44 pm
Oliver
Munich, Germany
Admin
Forum Posts: 6400
Member Since:
March 6, 2005
Offline

Resolved.

Here is the solution ("SyntaxHighlighter" caused the trouble):

To fool the overly active "SyntaxHighlighter" plugin cforms needs to
run *after* "SyntaxHighlighter", which can only be done by setting
the plugins (cforms') priority to 10 and, now this is really funny
renaming it to something starting with a "z", e.g. : zcforms (both in the plugin header and the filename)

This makes it go last and now stay clear of any "SyntaxHighlighter"
influence.

December 15, 2007
7:41 pm
Bill
Guest

For me, it was the "Text Control 2.0b3mod" plugin causing the extra linebreaks. I cant even remember why I installed it!

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
23 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3741

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5341

Posts: 18708

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)