Akbarsait's Blog

Recent Blog Entries by Akbarsait

Adding Highslide JS to BlogCFC

This post is to show how simply we can add Highslide JS to your blogCFC blog in a 4 simple steps. Highslide JS is an open source JavaScript image, media and gallery viewer library and its free only for Non-commercial use more details are at Highslide site read it before you start using in your blog. Highslide will be very useful in placing full size images at your blog without worrying about your blog layout size or width. Here are the steps on how we can include Highslide to blogCFC blog.

Creating a Yearly Archives Pod in blogCFC

This post is to show how we can create a yearly archive pod in blogCFC. I have recently modified my blogCFC design and I'm really happy on that customization. So the first thing we need to do is adding a new function in the blog.cfc component which is under org > camden > blog folder in your blog root.

<cffunction name="getYearlyArchives" access="remote" returnType="query" output="false"
hint="Function to fetch the blogged years.">

   
<cfset var getYearlyArchives = "" />

<cfquery name="getYearlyArchives" datasource="#instance.dsn#" username="#instance.username#" password="#instance.password#">
   Select year(tblblogentries.posted) as bloggedyears
   From    tblblogentries
   Where    tblblogentries.blog = <cfqueryparam value="#instance.name#" cfsqltype="cf_sql_varchar">
   group by year(tblblogentries.posted)
   order by bloggedyears desc
</cfquery>

<cfreturn getYearlyArchives />

</cffunction>

BlogCFC Redesign

As part of my 2009 task list and to improve my knowledge in web design I have planned to change my blog look and feel. So I played with the BlogCFC code and want to say that it's really easy to change the entire theme and implement a new look and feel for your blog. All the credits go to ColdFusion Jedi for his brilliant BlogCFC project to CF community. I used styleshout template for the theme and modified the design according to my interest. Let me know what you think about this new design and thanks for stopping here to read my post.

Welcome to My New ColdFusion Web Log

Welcome to my new ColdFusion web log. I am using BlogCFC for my website and I would like to thank ColdFusion Jedi Master Raymond Camden for his BlogCFC one among the excellent open source software by him for the ColdFusion Community.If you're using BlogCFC and not entered your information please use this link Call to BlogCFC users to enter your website information. I was previously blogging at http://akbarn.wordpress.com.