PDA

View Full Version : More extradivs in between each Home Page div


darryl
Jul-23-2008, 01:39 PM
So, it'd be nice for hacks that write HTML into the body of the home page (like "Recent Galleries" or "Home Page Slideshow") to not have to give up an existing home page element (like "Featured Galleries" or "Bio") just because they want to add some customization.

Instead, it would be nice if for every "official" element on the home page, there was a <div id="extrabody1"> after it, so we could say, put a "Recent Photos" widget in between the Bio and Galleries without having to sacrifice "Popular Photos".

Also, it would save us from having to clear out whatever is already in the box. Not a big deal for an empty Bio, but I forsee it sucking when I have to clear out my already full "Popular Photos" div and replace them "Recent Photos" or whatever I grab from an RSS feed.

Of course better still would be if SmugMug just wrote "Slideshow", "Recent Galleries" or "Recent Photos" widgets that we could simply add to our Home Page without hacking.

Andy
Jul-23-2008, 01:57 PM
Of course better still would be if SmugMug just wrote "Slideshow", "Recent Galleries" or "Recent Photos" widgets that we could simply add to our Home Page without hacking.
Slideshow and recent photos are in the plans, for sure. Still some other things ahead of those but they are something we want to do.

darryl
Jul-24-2008, 01:00 PM
Nevermind the original request. I just discovered the insertBefore method, so now I can pretty much stick <divs> anywhere on the page.