Healthcare Team Tech Resources
Form fields not vertically aligning with eachother
This happens in Chrome and some other browsers, it is a margin issue caused by the browser. To handle it, add this style to the stylesheet:
#NameofForm input, select, textarea {
margin: 0px !important;
}
Where the ID is the ID of the form.
Form Show/Hide
https://www.chinesehospital-sf.org/Ways-to-Give/Donate-Now.aspx
SJHS Files Locations
Design Files
W:\_MEDICAL\SJHS\Final Design
Banners
W:\_MEDICAL\SJHS\Final Design\ SUBpage-Banners-SJO2012-4.psd
Underscore Equals True
underscore after [ dynamic_="true" ] parsed on the server side
underscore before [ _dynamic="true" ] parsed on the client side
XML Site Map
sitename.com/XmlSiteMap.xml
Tokens
Tokens must be placed inside a module that is set to dynamic_="true" in the opening tag and must be set to read only.
If not set to read only, and it is edited in content view mode, the tokens will be parsed and their results will be saved when you save with the content editor. And if that content area is set to share site wide, when you save, it will save over the tokens for the whole site. Muy no bueno.
Token List
{CurrentPage:Path} |
Path to the current page, after the .com/ |
Link Submit Button
Links, or anchors, are easier to style and make look good than an input, so link submit buttons are simply better. Change your class to whatever you want for styling.
The code is commented out right below this text, grab it in HTML mode in the editor.
Test Credit Card
If you need to test a form which requires a credit card for a payment, you can use these fake numbers:
4444333322221111
Expiration: 12/14
Security Code: 123
Accordion Lists
Use these on healthcare sites for good looking content lists. Good alternative to borning bullet or numbered lists, great for FAQ pages.
Customize this page and copy the module code at the bottom. Make sure to also copy the CSS styles in the systems.css stylesheet, and tweak the colors/fonts etc as needed to fit the site you're using this on.