cformsII Support Forum
Current User: Guest *Frequently Asked Questions*
Search 
Search Forums:


 




Updating does not keep style CSS

Add a New Topic Reply to Post
Post

nat - Guest

9:57 pm - March 16, 2008

1

Please replace the ??? with your data!


Oliver,

Superb plugin!!!!!!

I have already fixed this problem, but I would like to know what I did wrong for future updatings.

I followed the direction written in the FAQ and updated the plugin, but the changes I made with the style CSS (dark-rounded.css) were not kept. It went back to the original CSS. I thought all the changes should have been kept. I updated from 7.51 to 7.53 this time, but this was acutaly the second time. The same thing happended to me when I updated from an older version to 7.51.

Here is how I updated:

1. Deactivated the old cforms II version

2. Deleted old version contactforms directory from the plugin dir

3. Uploaded new version contactforms folder to the plugin dir

4. Activated the new cforms II

Did I do wrong? Or am I supposed to keep the changed style css file when updating?


Oliver - Admin

10:04 pm - March 16, 2008

posts 3909

2

Hi!

In principle, you have done everything right, except one step. If you've made custom changes to the CSS theme file, you'd had to copy it from the old plugin dir, otherwise it will get replaced by the new one.

If I remember correctly the dark-rounded one, actually had a little bug (see previous, recent forum entries) that would prevent correct rendering in IE6/7.

PS: Before deleting the old plugin dir, I always recommend keeping it in a backup spot - just in case.

nat - Guest

11:55 pm - March 16, 2008

3

Thank you, Oliver, for your quick reply!

This time, I made sure not to delete the custom changed CSS. So I just put the old one back and everything looked fine.

Then I read your reply and tested my form with IE 7. Sure thing, it was not working (i.e., CAPTCHA image not changing, hanging after submit).

It turned out the form was not working with Firefox as well.

I had to change  

var sajax_uri = '/';    to    var sajax_uri = '/blog/'; 

in the cforms.js  because it had been replaced with the new one.

I also added the followings at the end of the dark-rounded.css as you said in another forum topic:

*+html ol.cf-ol,
*+html ol.cf-ol li,
*+html span.reqtxt,
*+html span.emailreqtxt {
    display: inline-block;  /*for ie7*/
}

The form finally began to work properly after I clicked on "Update Changes" of the Basic CSS editor and "Update Settings" of the CAPTCHA Image Settings (a few times).

Thank you for your help!!!!!

(I thought these detailed descriptions might help others, but please feel free not to post this one if you feel these would confuse others.)


Oliver - Admin

7:33 am - March 17, 2008

posts 3909

4

Thanks for the write-up!

Right, any custom change needs to be saved for a future update of cforms. The CSS bug of course willl be remedied in the next version (8.0).

Reply to Post


Reply to Topic: Updating does not keep style CSS
PLEASE READ THE FAQs FIRST! THANK YOU.

NOTE: New Posts are subject to administrator approval before being displayed

Guest Name (Required):

Guest EMail (Required):

Topic Reply:

Save New PostSmileysOptions

Guest URL (required)

Math Required!
What is the sum of:
10 + 9
   

 
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell

Search