Tips and Tricks
How to list the latest 11-20 nodes in Drupal (2)
According to the question and my snippets, the same one asked me again to extend the previous codes to show the author's name besides the node title. In addition, it would be nice to display node title and its author in a table form. Fortunately, this is Drupal. It is very easy.
- sugree's blog
- Add new comment
- Read more
- 1892 reads
How to list the latest 11-20 nodes in Drupal
I found an interesting question regarding Drupal at Codenone. One would like to list the latest 11-20 nodes in a block. He tried to use Views module with no luck. I think so. Listing the latest nodes in a block using Views is very easy but I don't see any clue to get the next 10 nodes. Anyway, it is possible to write a snippet code to fulfill this requirement.
- sugree's blog
- Add new comment
- Read more
- 2481 reads
How to generate combinations in Python
I was asked to help implement a kind of reusable combination generator in Python given the maximum number and the group size. Combination is widely used in high performance computing especially for searching in state space. Note that it means solving problem by brute force technique. So I wrote several codes.
- sugree's blog
- 1 comment
- Read more
- 5159 reads
How to show author's full name in Drupal
I found a good question at Codenone regarding author's full name in Drupal. This is a good question because it clearly shows the power of Drupal. If you notice, all contents in Drupal will show their authors somewhere in the page. An author is identified by his/her username. And there is no full name stored in the database by default. Other CMSs usually store user's full name in its database so you might think Drupal is worse. In fact, you are allowed to add additional metadata using profile module which is included in the core modules. So showing author's full name in each node is very easy.
- sugree's blog
- Add new comment
- Read more
- 2180 reads
Building academic conference site using Drupal
I have just assigned to find a solution for building an academic conference site as quick as possible. I used to be authors and also reviewer assistant but I have never been an organizer. This is my first time in this area. Anyway, it seems there are many softwares available right now. Below are just a list I found in Google.
- BYU Paper Review System - This one is very old and maybe obsolete for so long. The most interesting thing I found is that it was written in C as external PHP module.
- MyReview - It has just released the latest feature-rich version last month.
I don't have much time to find more but it seems MyReview is one of the most popular player. Anyway, my favorite CMS is Drupal and most of our sites are Drupalized. It would be nice if we can build an academic conference site using Drupal. And I found Conference module for Drupal.
- sugree's blog
- Add new comment
- Read more
- 3155 reads
How to verify your DNS setting and its TTL
If you were unable to access this site since last weekend, please be patience. I have just moved howforge.com to the new server located at other ISP which offers higher international bandwidth because most visitors are outside Thailand. In fact, I don't like to move around too often since it might take long time for DNS to completely propagate to all ISPs around the world. That's why I post this topic. I would like to verify that my settings are correct and how long it takes to update.
- sugree's blog
- 2 comments
- Read more
- 1669 reads
Recent comments
3 years 4 weeks ago
3 years 9 weeks ago
3 years 9 weeks ago
3 years 10 weeks ago
3 years 10 weeks ago
3 years 12 weeks ago
3 years 12 weeks ago
3 years 12 weeks ago
3 years 12 weeks ago
3 years 13 weeks ago