
front and back-end web development, Leeds, UK
Richard's Blog - Design, coding and life in Japan
Blog Archive: June 2010
How to localize your main blog listing page using Drupal
Submitted by Richard on Sat, 06/26/2010 - 11:46I am just in the process of internationalizing this site into Japanese. In Drupal there is a path blog which has a list of all the teasers of the blog posts on your site. I looked into the source code of the Blog module and found the function 'blog_page_last' that feeds this list.
Tags:
Creating Rails like template helpers in Django
Submitted by Richard on Thu, 06/24/2010 - 22:01I wanted to make some easy link helpers so that I could have customized rounded corner links without needing JS and so that I could change them easily later if I needed to. This is so easy in Rails it is just crazy trivial. This was not the case in Django, and even though I believe it should be easier (and I believe it is easier with a little help with a method here and there).
Tags:
Error: No module named messagesdjango.contrib.contenttypes
Submitted by Richard on Tue, 06/22/2010 - 22:00I am not going to heavily blog about my experiences with Python and Django, but times that an error stumps me I will note it here briefly to help out with others who have similar problems.
When installing the new messages module in Django 1.2 I got the following error
Tags:
Creating multiple blocks easily in a Drupal module pt2
Submitted by Richard on Tue, 06/08/2010 - 14:12Actually my first post on this subject didn't have too much to do with creating multiple blocks like in the multi-blocks plugin.
Tags:
Recent Blog Posts
- Testing controllers in Lithium 2nd Feb 12, 18:19
- Practical Internationalization in Lithium 31st Dec 11, 02:06
- Using OAuth in Lithium 30th Dec 11, 23:47
- How to add your own Tokens from CCK fields in Druapl 7 17th Jun 11, 04:49
- Weaving Lithium #li3 into a legacy PHP application incrementally 5th Oct 10, 11:54