Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
itch.in::. v0.95
I’ve been flirting with textpattern for well over a year, and this is the most I’ve ever done with it: http://v1.itch.in/
The code is such a wild soup, I don’t even know where to begin – I’ve a bazillion article forms, several page templates and a lot of sections – public and otherwise. I do believe that I’ve used <code><txp:php></txp:php></code> quite a bit more than all other txp tags combined. Every bit of visible content is managed by textpattern – from section/article based meta description tags to the adverts to the navigation – as a result of which there’s an average of 80+ queries per page of which I’ve some concerns about.
I’d be happy to explain or show my templates if anyone’s curious – as a hint, if anything at all, most section pages are served like this: mysql/txp > php > xml > flash > js > xhtml/css.
Everything should validate xhtml 1.1, css doesn’t because of some hacks (this needs fixing). I still need to do a logo/favicon – believe it or not, I consider that to be the hardest part of whole adventure.
I’d love it if you’d share thoughts, comments as well as critique about your impressions.
Arif.
ps. Recently, itch.in got a lot of publicity over coldplay’s drm thing and textpattern held up beautifully with an influx of about 50k page views a day. I’m so proud.
Last edited by mr.riff (2006-02-07 14:10:16)
I’ve PIZZA.
Offline
Re: itch.in::. v0.95
Wow. Just wow. I’m at a loss for words. Really. It’s like a well-designed flash site, without that much flash. It’s also one of the most original designs I’ve seen. I also love the photos.
How’d you do the flash-replacement?
Last edited by Hans (2006-01-30 13:02:51)
Lumilux – A Photoblog
Offline
Re: itch.in::. v0.95
that’s so good it’s sick, super slick and easy to navigate though confusing at times for me. brilliant though. well done
Offline
Re: itch.in::. v0.95
Thanks! The design isn’t really quite all that – just some very simple css’ing around. :)
As for the flash-replacement – I’m assuming you meant the flash interaction? It’s a little different for some pages:
On the journal page, the script I’m using is a modified version of Voetsjoeba’s. Here’s what’s being done:- Textpattern generates an xml page of entry excerpts, their links and thumbnails at itch.in/journal-xml/
- Flash doesn’t really like to use /journal-xml/ as a source, it needs the extension for some reason, so there’s a simple php include in itch.in/scripts/entries.php
- I use a bit actionscript to parse the xml document and send it in an array
- Whenever there is a rollover/rollout event, <code>getURL(‘javascript:rffswish(“’ + this.desc + ‘”);’, ‘_self’);</code> is sent out, sending the entry’s description to javascript.
- Javascript does a rather simple DOMish .innerhtml replace.
- The xml file is a lot more simpler, with just a div id per entry.
- There’s a UL list of entries that’s hidden by css.
- On load, Flash sends a few variables to javascript: number of entries and what entries to unhide.
- Javascripts does a simple loop on load, as well when the buttons are pressed: <code>
function rfftogglethis(allt,onet,twot,threet){
var rffx=document.getElementById(‘elist’).firstChild.childNodes;
var i=0;
while(i<allt){ //hide all entries before unhiding the ones that we want
rffx[i].style.display=“none”;
i++;
}
document.getElementById(onet).style.display=“block”;
if(twot!=‘skip’){
document.getElementById(twot).style.display=“block”;
}
if(threet!=‘skip’){
document.getElementById(threet).style.display=“block”;
}
}</code>
I’ve PIZZA.
Offline
Re: itch.in::. v0.95
Sekhu, if you don’t mind me asking, what part seemed confusing?
The arrows thing is a bit fuzzy because I’ve chosen to load two entries at a time, while three are visible (one from the previous page) – it’d look a bit more intuitive if I’d animated the changes, I guess.
I’ve PIZZA.
Offline
Re: itch.in::. v0.95
no it was just the gallery bit, it was very different to what i’ve seen so that baffled me was scrolling super quick, navigation is perfectly fine
Offline
Pages: 1