BitDesigns

Latest entries

:)
13 July 2008, 01:06 ·
Time for another change
1 December 2006, 04:22 · Design Personal
Javascript - Objects and Variable Scope
22 September 2006, 23:55 · Geek
Missed the Boat Again
11 September 2006, 02:33 · Design
My tribute to weekday afternoons in the mid-90s
31 August 2006, 17:29 · Geek WTF
A little fun with Friendster and CSS
20 August 2006, 01:59 · Geek Design
The experience of testing on IE
15 August 2006, 16:11 · Geek Design
TxP plugin: bit_counting_article
30 July 2006, 01:17 · Geek
Browse

RSS / Atom

:)

13 July 2008, 01:06

Margot makes me happy. I’m happy.

Here’s the smiley to prove it—:).

Time for another change

1 December 2006, 04:22

If you came here from a link that pointed directly to http://bitdesigns.net/blog/, you probably missed my new main website index.

Bitdesigns needs to be repurposed, redesigned.
Wait for it. :-)

Javascript - Objects and Variable Scope

22 September 2006, 23:55

The Digital Web online magazine has two pretty good articles about two things that Javascript is very unique in when it comes to programming languages:

Must-read for front-end developers who have yet to learn the finer points of Javascript. :-)

Missed the Boat Again

11 September 2006, 02:33

Since about two years ago, I’ve been planning on joining the Philippine Web Awards. The problem is that I’ve never had the time to create my very own website (or even participate in making a website) made for public consumption that had quality content and excellent design.

Last year, I told myself that I’d remake this site and join the PWA 2006 with it. Seems I missed the boat once again.

My tribute to weekday afternoons in the mid-90s

31 August 2006, 17:29

Before anything, you should really visit IsItFriday.net – really friendly online public service.

Here’s my tribute to IsItFriday.net and weekday afternoons in the mid-90s:
4:30 na ba? (based on Philippine time)

It’ll be displaying a “positive answer” for the entire thirty minutes of the former timeslot of the original show.

A little fun with Friendster and CSS

20 August 2006, 01:59

Ever since Friendster gave the option to design profile pages with CSS, I’ve wanted to play around with it and try to come up with a beautiful profile page design just for the challenge. I’ve always thought that Friendster probably wouldn’t have nice HTML code and the CSS allowed would probably be very limited… I was wrong.

Check out my awesomeness here:
http://friendster.com/bitdesigns

Just so you guys know, the following CSS attributes are stripped out from your submitted CSS:

  • display
  • visibility
  • position

I’m pretty sure they’d strip out attributes like expression too, but I don’t really care to check.

The experience of testing on IE

15 August 2006, 16:11

Finish page design.

Oh shit. I have to check this in IE.

Open IE.

This POS better work right.

Enter the URL in the address bar.

Oh shit…

Wait for it to load.

C’mon, c’mon… oh shit, oh shit oh shit… c’mon, c’mon…

Page loads.

OH THANK GOD. Fate smiles upon me today.

when you’re lucky… but it’s usually more like…

THIS IS M!@#$%F&CKIN BULLSH!T.

TxP plugin: bit_counting_article

30 July 2006, 01:17

(Another TxP plugin! Wee!)

While the jas_popular_articles plugin actually does the basic task of listing the most popular pages, it didn’t seem like the best solution. I looked through the plugin source and apparently, it uses the Textpattern visitor logs to count the visits. Unfortunately, these logs only record the requested URLs within the TxP site and not the actual content that visitors go to. I could enumerate several situations in which this would be less than ideal, but you’re probably smart enough to think of a few.

bit_counting_article uses a custom field to count the visits to the individual article, and provides a tag to replace <txp:article /> to do the hit count incrementing.

Also included is another tag to output an article list of the most (or least) visited articles. It’s built on the code of ort_article_psort by Lucas Gueñol.

For a detailed look at the plugin, visit the forum thread.

Download bit_counting_article.

TxP plugin: bit_article_category

16 July 2006, 18:50

Wee! Another TxP plugin. Not as exciting this time, though.

I’ve found that for such a simple functionality as generating the category titles of an article outside of the article form in the context of an individual article page, there doesn’t seem to be a ready-made way to do it.

Well, until I find that ready-made way or until TxP adopts this functionality, here’s bit_article_category.

It provides two tags:
<txp:bit_category1 />
<txp:bit_category2 />

And either tag accepts one optional attribute:
link – whether the tag outputs a link or just the title; ‘1’ or ‘0’
default: ‘1’

Download bit_article_category

Multi-level Sites in Txp

2 July 2006, 02:19

Multi-level sites in Txp have always been somewhat of a pain. There are many ways to do it, but unfortunately all of them require some mish-mashing of multiple plugins and conditional tags and a lot of confusion in between.

I’ll try to document how I did once I get this cleared. I think I’ve come up with a pretty nice way of doing it too. Stay tuned, my TxP-using friends.