Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] Atahualpa's CSS Form settings have no apparent effect


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Aug 9, 2009, 06:18 PM
RAMilewski's Avatar
RAMilewski
 
16 posts · Aug 2009
San Jose, California
[SOLVED] Atahualpa's CSS Form settings have no apparent effect

Let me preface this by admitting that I'm both a Wordpress NOOB, and....
being a bear of very little brain, I'm easily befuddled and pretty sure that most of the time I've missed something painfully obvious.

I'm running WP 2.8.3 themed with Atahualpa 3.4.2.

Currently that configuration is running two sites. The first is a blog, and everything is running swimmingly there. The second is a site where I'm using WP as a CMS, using mostly pages and widgets.

The problem is that I cannot manage to build a simple form on a page. The Atahualpa>Various Content Items>Style FORMS settings have no visible effect on form fields or submit buttons.

But I'm not altogether sure that it's really a problem with the theme. How are forms supposed to be added to content? I'm trying (as the administrator) to make a simple form on a page (not a post) with a label, a textbox and a submit button. I would like it to look roughly like this:


Wordpress, or Atahualpa, or the HTML editor (sic) in WP or something insists on mangling the half dozen lines of HTML or PHP or whatever I try to write the form in. For no obvious reason, it is adamant about adding <br> tags between the label and the textfield, and taking them out between the textfield and the submit button.

I've come to terms with the apparent fact that the HTML editor in Wordpress isn't really an HTML editor. It's a funny bb-code like editor that adds and deletes <br>, <p> and </p> tags according to a set of secret rules I can't find anywhere in the Wordpress Codex.

I've tried solutions like PHP plugins (runPHP, PHP Execution, etc) to no avail. Even form definitions added as PHP includes get mangled by the Wordpress daemons (daemons in the demonic entity sense, not the computer science sense).

All the form plugins I've tried are designed either to write information to the database, or to email the contents of the form. None will appear to let me set the "action" attribute and pass information to a system outside Wordpress, which I what I'm trying to accomplish.

So my question for this forum is: What are the styles set by Atahualpa>Various Content Items>Style FORMS intended to control if there's no way to put a form into a page?

...and if anyone can point me at a plugin or a tutorial that shows how to put a simple form on a page. I'd be grateful.

One final thought: Have I missed a magic tag (or pseudotag) that turns off the content-mangling in WP? ...something like <span style='no-mangle'> </span>

<sigh></rant>
  #2  
Old Aug 9, 2009, 06:36 PM
BradBrown's Avatar
BradBrown
 
54 posts · Mar 2009
Wordpress tries to be helpful and make posts and pages "pretty." Most of the time, this is a OK, but sometimes, it makes it impossible to enter code the way you need it. There are plugins that allow you to turn of the functionality that is causing you trouble. I use one called Raw HTML. You can search for it in the wordpress plugin directory.
  #3  
Old Aug 9, 2009, 11:27 PM
RAMilewski's Avatar
RAMilewski
 
16 posts · Aug 2009
San Jose, California
Brad,

Many, many thanks! The Raw HTML plug-in completely flattened the problem of Wordpress messing with my html and php code!

This is a HUGE improvement over the previous situation and makes Wordpress a world-class CMS system. (This is especially useful in that it lets me use Wordpress for both CMS and blogging tasks. Since my brain gets full rather easily these days, being able to use a single tool for both let's me save precious "organic memory" resources for things like remembering the location of my local pub! Critically important stuff, I'm sure you'll agree).

Alas... the Atalhualpa CSS setting for forms still have no effect on the form elements. I'm hoping that someone will chime in with a solution to that problem that is as elegant as yours was.

Thanks again!
  #4  
Old Aug 10, 2009, 01:21 PM
Flynn's Avatar
Flynn
 
3,763 posts · Oct 2008
Munich, Germany
Give the input field and the button CSS classes. Atahualpa does not style all form elements, only elements with certain classes

<input class="text" type="text" ...... />
<input class="button" type="submit" ...... />
  #5  
Old Aug 10, 2009, 02:11 PM
RAMilewski's Avatar
RAMilewski
 
16 posts · Aug 2009
San Jose, California
Thanks! That was the bit I was missing. Works perfectly!

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
TIP: how to copy settings of Atahualpa from one site to another gesman New Versions, & Updating 41 Apr 18, 2010 09:15 AM
reCAPTCHA Form & Atahualpa desean Plugins & Atahualpa 3 Nov 28, 2009 07:32 PM
Keeping Atahualpa settings Thorvald New Versions, & Updating 8 Jul 30, 2009 08:09 PM
Using Atahualpa Theme Options settings as a template thetravelchronicle Forum How-To 2 May 31, 2009 08:04 AM
[SOLVED] How to move old CSS settings to new blog location WebWeaver New Versions, & Updating 4 May 30, 2009 04:59 PM


All times are GMT -6. The time now is 12:37 PM.


Powered by vBulletin® Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.