Himitsu journey to the web

  • Jul 13, 09:41 PM

Well, you could just ignore the First Post below; its just a default entry from a fresh copy Textpattern.

Anyway, Himitsu had finally launched online; been working on the whole site nearly one month using a local server on my computer. I think I purchased this domain at April but I’m pretty occupied with exams so I only start working on the layout last month. Not that bad huh?

Testing locally before bringing the whole site up was easy but NOT FUN. The installation of local server was very very very easy using wamp . Then textpattern was successfully installed on my machine as well; but disaster struck me right after 3 minutes I’m into the settings of textpattern. The default URL scheme was “messy”, which does not look good on the browser of visitors side. I change it to a nicer “/section/title” scheme and the whole site screwed up, except the front page. Luckily, Uncle Google saved me in just 5 minutes. It seems that I have to enable the mod_rewrite module on my Apache configurations in order for the clean URL scheme to work. So, the first problem was solved pretty quickly; I proceed to design the layout for my site.

One week later, the layout was finished so I need to put it into the textpattern to test the layout. Second disaster emerged. All my images on the layout are broken when I tried to use root-relative path . Not that the normal “relative path” was bad, but I fear problem will occurs when the hierarchy of my site getting bigger. Imagine the path like “../../../../images/spacer.gif” will certainly confusing and looks ugly as well. Spent around 30 minutes googling around and finally found the solution to it. It seems I need to tweak the mod_alias a bit so that I could point the root-relative path to the correct directory. So, second case was closed successfully.

The third problem came out when I add the the live search plugin on the front page. There is a border surrounding the search area and I could not make it disappear with CSS. I’m stucked for few days and finally I come across Jon Hicks lovely journal and saw he using the same plugin with no border surrounding the search area. I took a quick glance at the CSS and found that..

fieldset {
	border-width : 0;
	...
	...
}
…so it seems that I forgot to set the fieldset property which results the ugly border around the area. Thank you, Jon for saving my day. And, it was sweet when I read the comments inside your site coding.

At last, after a few hard battles, Himitsu finally managed to get to the web. Installing on Cynet Studio was much more easier, at least problem No. 1 and No. 2 were not encountered at all. I guess my host did all the configuration earlier, so it was hassle-free to just bring my layout from my machine to the web.

Anyway, thanks again for the power of learning and sharing!

Comments

No comment yet.

Commenting is closed for this article.