Tag: template

Some changes of blog

During past few days, I did some modification on my blog here to accomodate the social media changes. First, I removed Digg button code from templates. Not just because of the traffic from Digg is very limited, but the Digg API was not working any more. Digg has a big change on their own side.

How to Add Google +1 Button

Google announce to release Google +1 Button to third party. It is good tool for Blogger. To add it on site, or blog like my MovableType blog, just two script need to be added. 1) Add following tag code to your head or just before your close body tag 2)Place this tag where you want

How to change configuration of Awstats in Lxadmin

Lxadmin treat Awstats in different way. The individual configuration file of particular domain or site is located /etc/awstats/ These files are rebuild ever time the batch file update the Awstats report. Lxadmin uses a template file here. /usr/local/lxlabs/lxadmin/file/awstats.model.conf If you want to change config of the Awstats file, you have to change the template file.

How to add php script into .tpl file

tpl file are smarty template files. Sometimes I need to add php script, or php code into tpl file. That means I have to add php code into the smarty templates. If you add php code directly, there is error code. The right way is to add script like following way. That’s all.

Great lottery on TemplateMonster.com

TemplateMonster.com is one of the most famous Template resource site in the world. It is going to hold a lottery with give-away to any participant. TemplateMonster.com will expose two of TemplateMonster’s website designs. In order to take part in the lottery one should vote for one design or the other. The design which gets the