May 22, 2009
May 21, 2009
Naruto is my loveliest TV programme
Wow I just say that people who create Naruto are very creative ,,,
May 20, 2009
May 19, 2009
Opening CakePHP Files in Dreamweaver
When starting out with CakePHP I quickly found out that Dreamweaver doesn’t open .THTML and .CTP files automatically and I had to do a bit of hunting on the web to get the problem solved. The solution is pretty easy so this is just a quick post to get Dreamweaver opening .THTML and .CTP files.
THTML and CTP Files
Although I’m using CakePHP 1.1 which uses .THTML files I’ll also add the latest .CTP files which CakePHP 1.2 use. This is just saving time and when I do cross over and start using version 1.2 I don’t have to fiddle around with Dreamweaver again.
Modifying the Necessary Dreamweaver files
There are ultimately 3 files that you need to edit. The first two are located in the folder that you installed Dreamweaver, in my case this is “C:\Program Files\Adobe\Adobe Dreamweaver CS3\configuration” although I’m using the latest version of Dreamweaver previous versions also have a “configuration” folder so go there.
Open up “Extensions.txt” and on the first line at the very end add THTML and CTP separated by commas, so the line should read:
- ,MASTER,THTML,CTP:All Documents
,MASTER,THTML,CTP:All Documents
Similarly add these two extensions to the “:PHP Files” line.
- PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files
PHP,PHP3,PHP4,PHP5,TPL,THTML,CTP:PHP Files
Next open the “DocumentTypes” folder and edit the “MMDocumentTypes.xml” file, just open it up using notepad or wordpad. Search for the line which has an id “PHP_MySQL” and add the THTML/CTP file extensions to both the “winfileextension” and “macfileextension” so the line should read:
- winfileextension="php,php3,php4,php5,thtml,ctp"
- macfileextension="php,php3,php4,php5,thtml,ctp"
winfileextension="php,php3,php4,php5,thtml,ctp" macfileextension="php,php3,php4,php5,thtml,ctp"
The final file is another version of the “Extensions.txt” which is located in your “Documents and Settings” Folder in my case this is “C:\Documents and Settings\James\Application Data\Adobe\Dreamweaver 9\Configuration” just add the very same things you inserted earlier.
Wrapping Up
Restart Dreamweaver and you should now be able to open up and edit .THTML and .CTP files with everything nicely colour coded. A short post but a needed one for those who use Dreamweaver.
May 9, 2009
Getting Started with illustrator 30 days
As I got a new job at Around-Design as a Web Design I still come across with some graphic design. actually I don't know much about Graphic design , and I know I do can not avoid it so I try to find some tutorials for Adobe illustrator, and here the quick good one I found
Please click the picture to go to illustrator tutorial 30days
Please click the picture to go to illustrator tutorial 30days
May 4, 2009
First day at around-design
What such a beautiful day ! Today is my first day at new office of my lovely new job as a web designer. Around Design is the name of my company that I will work for long time I think, Everybody seem to be very kind and creative. I wish that I could keep this job for long time and learn much for my career. Actuality the salary is also good.
Subscribe to:
Posts (Atom)