We've been pushing Drupal to our clients for the past few years already, but I'm a bit ashamed to admit that we've only found the time to put our own site on it just now. While we could've done it earlier, we're quite sure that now we have a few Drupal sites under our belts, we know we did this site the right way.
I could probably go through a quick overview of how we made the entire site in one entry but that would just make it seem like we're bragging about it. Instead, I'll go through two of the more interesting parts of the site: the portfolio and the blog. (Aside: The rest of the site is core Drupal and boring anyway.) Hopefully that way, you guys might learn something from what we did, and maybe we can learn something from you too (leave a comment, people!).
For Part I, I'll go into the Portfolio - a must have for any web developer/designer's website.
First step, we make a new content type. For our portfolio, we named it Project.
With the help of CCK, we add three custom fields: Thumbnail, Preview, and URL. Thumbnail is an image field. We are certain that it will always be an image. Preview is a file field. Why a file field? Although currently all we have in our portfolio are websites with just screenshots attached, we anticipate the need to include Flash presentations and videos, so we'll need the ability to attach SWF files to Projects. Finally, the URL field is just an optional text field. Some entries in our portfolio are no longer in active use, and hence no longer have an active URL.

Next, we create a taxonomy vocabulary to indicate the different project categories. I named it Project Type. We set it to allow multiple selections because every now and then you have a project that falls under more than one category. Of course, we assign it to the Project content type. Then we go through adding each of the Project categories.

A quick run-down of our settings:
The tricky part came when I needed to make the secondary menu. I wanted to be able to have a dynamic menu that would be updated every time I updated our taxonomy terms. Enter, the Taxonomy Menu module. Out of the box, the Taxonomy Menu module puts all the terms of a vocabulary in the root of the selected parent menu. To put the terms under the Project Type vocabulary to go under the Portfolio menu item in the Primary Menu, I found this: http://drupal.org/node/408288. The patch allows you to select a parent menu item instead of just a parent menu.

With that done, any changes made to the taxonomy are immediately reflected in the Portfolio secondary menu.
We had already implemented Lightbox on our portfolio in a previous incarnation of our site, but its implementation was quite limited. To go through the entire portfolio, a user had to exit the lightbox and open it again for each Project.
After consulting with this comparison of Lightbox-type Drupal modules, I decided to go with Lightbox2. It was the most powerful and feature-packed Lightbox module. Most importantly, it supported Flash videos. With Lightbox2 we allowed the user to go through the projects just by going "next" and "previous". Although Lightbox2 integrates with Views, I chose to take the manual route and edited my node-project.tpl.php to insert the rel="lightbox[portfolio]" code that allowed Lightbox2 to create the Lightbox slideshow.
And there you go. With the help of a few modules, we have a completely user-manageable and user-friendly portfolio system made pretty with Lightbox2 Javascript-fu. It took us a bit of effort to figure it all out and put it all together for the first time, but once you know what you need, it's all pretty simple to put together.
Maybe you guys out there have other ways of implementing your own portfolio systems for your own sites. Let's hear about them in the comments!
Comments
Nice work. Congratulations on getting this site up!
红日子是一家专业<a href=http://www.hrzbq.com>深圳搬家公司</a>,车辆员工有统一着装,拥有专业的<a href=http://www.sz-hrzbj.cn>深圳搬家</a>队伍,一步到位的服务宗旨,用一流的服务质量和效率,伴您走进新的吉祥和谐之家<br />为您提供<a href=http://www.hrzbq.com/szbcgs.htm>深圳搬厂公司</a><a href=http://www.sz-hrzbj.cn/ktjxz.htm>深圳空调加雪种</a><a href=http://www.sz-hrzbj.cn/ftbjgs.htm>深圳福田搬家公司</a><a href=http://www.sz-hrzbj.cn/lhbjgs.htm>深圳罗湖搬家公司</a><a href=http://www.sz-hrzbj.cn/nsbjgs.htm>深圳南山搬家公司</a><a href=http://www.sz-hrzbj.cn/ytbjgs.htm>深圳盐田搬家公司</a><a href=http://www.sz-hrzbj.cn/babjgs.htm>深圳宝安搬家公司</a><a href=http://www.sz-hrzbj.cn/szlhbj.htm>深圳龙华搬家公司</a><a href=http://www.sz-hrzbj.cn/lgbjgs.htm>深圳龙岗搬家公司</a><a href=http://www.sz-hrzbj.cn/bjbjgs.htm>深圳布吉搬家公司</a><a href=http://www.sz-hrzbj.cn/szdcgs.htm>深圳吊车公司</a> <a href=http://www.sz-hrzbj.cn/szxgbj.htm>深圳搬家到香港</a><a href=http://www.sz-hrzbj.cn/szby.htm>深圳搬运公司</a><a href=http://www.sz-hrzbj.cn/hccz.htm>深圳货车出租公司</a><a href=http://www.sz-hrzbj.cn/ctbj.htm>深圳长途搬家公司</a><br /><a href=http://www.sz-hrzbj.cn/banchang.htm>深圳搬厂公司</a><a href=http://www.sz-hrzbj.cn/ktaz.htm>深圳空调安装</a><a href=http://www.sz-hrzbj.cn>搬家公司</a><br /><a href=http://www.sz-hrzbj.cn/kt.htm>深圳空调维修</a><a href=http://www.hrzbq.com/szdzgs.htm>深圳吊装公司</a><a href=http://www.sz-hrzbj.cn>深圳正规搬家公司</a><a href=http://www.sz-hrzbj.cn/ktcz.htm>深圳空调拆装</a><a href=http://www.sz-hrzbj.cn/hrktwx.htm>深圳海尔空调维修</a><a href=http://www.sz-hrzbj.cn/LGktwx.htm>深圳LG空调维修</a><br /><a href=http://www.sz-hrzbj.cn/xkktwx.htm>深圳新科空调维修</a><a href=http://www.sz-hrzbj.cn/zgktwx.htm>深圳志高空调维修</a><a href=http://www.sz-hrzbj.cn/slktwx.htm>深圳三菱空调维修</a><a href=http://www.sz-hrzbj.cn/dbxwx.htm>深圳澳柯玛空调维修</a><a href=http://www.sz-hrzbj.cn/glktwx.htm>深圳格力空调维修</a><a href=http://www.sz-hrzbj.cn/dsjwx.htm>深圳春兰空调维修</a><a href=http://www.sz-hrzbj.cn/ysqwx.htm>深圳大金空调维修</a><a href=http://www.sz-hrzbj.cn/wxfw.htm>深圳日立空调维修</a><a href=http://www.sz-hrzbj.cn/wxbj.htm>深圳松下空调维修</a><a href=http://www.sz-hrzbj.cn/ktcs.htm>深圳三星空调维修</a><a href=http://www.sz-hrzbj.cn/khyj.htm>深圳索尼空调维修</a><a href=http://www.sz-hrzbj.cn/xyjwx.htm>深圳奥克斯空调维修</a><a href=http://www.sz-hrzbj.cn/mdktwx.htm>深圳美的空调维修</a><a href=http://www.sz-hrzbj.cn/ktxd.htm>深圳空调清洗</a><a href=http://www.sz-hrzbj.cn/kt.htm>空调维修</a>服务<noscript>
genalinvv0202[url=http://www.honeyreplica.com][b]Replica Handbags[/b][/url][url=http://www.honeyreplica.com][b]Replica Louis Vuitton[/b][/url][url=http://www.iamreplica.com][b]Replica Watches[/b][/url][url=http://www.bags-replicas.com][b]replica handbags[/b][/url][url=http://www.bags-replicas.com][b]Louis vuitton handbags[/b][/url][url=http://www.bagsspace.com][b]Replica Handbags[/b][/url][url=http://www.watches9.com][b]replica watches[/b][/url][url=http://www.honeyreplica.com][b]Wholesale Replica Handbags[/b][/url]
genalinvv0202<a href="http://www.honeyreplica.com"><b>Replica Handbags</b></a><a href="http://www.honeyreplica.com"><b>Replica Louis Vuitton</b></a><a href="http://www.iamreplica.com"><b>Replica Watches</b></a><a href="http://www.bags-replicas.com">replica handbags</a><a href="http://www.bags-replicas.com">Louis vuitton handbags</a>
I could probably go through a quick overview of how we made the entire site in one entry but that would just make it seem like we're bragging about it. Instead, I'll go through two of the more interesting parts of the site: the portfolio and the blog.
I find this site is quite boring. I have some suggestion if you can make some flash animation this might improve and to make some more research in information to gathered on how the web designing goes.God Bless you All.
Post new comment