Wednesday, December 12, 2018

Overriding CSS in Chronoforms 5

I needed to override the standard CSS in Chronoforms. I was using the GCoreUI styling. When the screen size was less than 700px wide the input boxes went below the label, but the label text was still right aligned. I wanted the text to switch to left align.

I quickly found my answer here.

https://www.chronoengine.com/forums/posts/f5/t100824.html

In the “Setup” tab I added “load CSS” after the “Render HTML” in the load area. It worked great. I was even able to use a media query to when using the “Load CSS”

I wanted to use an external CSS file because it is easier to for me to read. I had to use the following path to link the external CSS file.

../../path to the css file.

I hope this helps someone else out there…

 

ICEcoder – Reset password – Could be the reason for attack and blacklisting.

We had a static HTML site get attacked and blacklisted. I never thought a static HTML site could get attacked.

Capture_blurred

Upon further investigation I found a file called “kmhtwefn.php”.  A google search returned nothing … something must be wrong.

There was also a file called “ingenuity-insulator.php”. I googled it and came back with nothing related to this file. Again this made me question things.

I opened a “.htaccess” file and found the following:

htaccess_attack

Bingo!

It appears all leads from the major search engines lead to the ingenuity-insulator.php file. This is why the site go listed as hacked.

How did it get hacked?

Turns out this site had ICEcoder in it. I needed to reset the password and the following article helped me figure it out.

https://groups.google.com/forum/#!topic/icecoder/0KPKZZLcB58

Due to the lack of time I reached out to Sucuri to help get this site cleaned up and remove the blacklisting.

Sucuri’s Website

I hope this helps someone else out there…

 

List of States for a drop down menu in Chronoforms 5

Alabama=Alabama
Alaska=Alaska
Arizona=Arizona
Arkansas=Arkansas
California=California
Colorado=Colorado
Connecticut=Connecticut
Delaware=Delaware
District Of Columbia=District Of Columbia
Florida=Florida
Georgia=Georgia
Hawaii=Hawaii
Idaho=Idaho
Illinois=Illinois
Indiana=Indiana
Iowa=Iowa
Kansas=Kansas
Kentucky=Kentucky
Louisiana=Louisiana
Maine=Maine
Maryland=Maryland
Massachusetts=Massachusetts
Michigan=Michigan
Minnesota=Minnesota
Mississippi=Mississippi
Missouri=Missouri
Montana=Montana
Nebraska=Nebraska
Nevada=Nevada
New Hampshire=New Hampshire
New Jersey=New Jersey
New Mexico=New Mexico
New York=New York
North Carolina=North Carolina
North Dakota=North Dakota
Ohio=Ohio
Oklahoma=Oklahoma
Oregon=Oregon
Pennsylvania=Pennsylvania
Rhode Island=Rhode Island
South Carolina=South Carolina
South Dakota=South Dakota
Tennessee=Tennessee
Texas=Texas
Utah=Utah
Vermont=Vermont
Virginia=Virginia
Washington=Washington
West Virginia=West Virginia
Wisconsin=Wisconsin
Wyoming=Wyoming