If you’re developing for a legacy CMS or an absolute POS in-house built platform, you’ll most likely need to change the way dates are formatted on the page. Using jQuery UI this is possible and here’s how to do it!
If you're like me, and have tasted all or most of the Content Management Systems (CMS) the world (Internet) has to offer, you know how difficult it can be developing for legacy systems. A while back I was building a custom "Web App" for Business Catalyst that my client could easily update on the back-end to update a gallery of images. If you're familiar with Business Catalyst and it's "Web App" module, you know that if a data field is blank, it won't drop the data. The problem was that these images all needed to open in a lightbox once clicked. Looking back, I could have used jQuery's
.wrap()
or similar to wrap each image, but at the time I wasn't as smooth with jQuery as I am today. So at the time, with the limitations of the CMS (Business Catalyst) and the limitation of jQuery (HA!) I choose to hide/remove all images that didn't load. This had to be done to give the client enough spots on the back-end to upload images for each gallery set they wanted. At the time I used
.hide()
, but later changed it to
.remove()
.
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur viverra, enim at laoreet mollis, tellus tellus aliquet mi, quis tristique augue neque a enim. Praesent sed urna justo. Vivamus a augue diam, vitae volutpat ipsum. In et euismod sem. Aenean id sagittis nisi. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Pellentesque magna diam, lacinia ac adipiscing sit amet, faucibus eget dolor. Morbi at urna justo.