page caching gets in the way of token substitution

Submitted by Jitesh Doshi on Mon, 05/14/2012 - 14:35

Recently, I wrote a module that exposes my own custom tokens. They worked well, up to a point. But when I tried to use them in the middle of the content of an article, they were not reflecting the latest value. That's because of page caching. The page content is cached by Drupal, and the changing value of token is not reflected after the page get cached. I'll look into this further, and I hope I find a solution.

Please add a comment below if you have any suggestions.

Slideshow Creator

Submitted by Jitesh Doshi on Thu, 05/10/2012 - 12:36

 This is an example of the use of slideshow creator within articles. The slideshow creator input format has been enabled in the text-formats configuration. This allows users to simply write in the slideshow statement as a part of their article content, the statement then being transformed into a slideshow when the content is published. This is very handy for on the fly slideshow creation, within articles.

nginx+php-fpm+Drupal on Linux

Submitted by Jitesh Doshi on Wed, 04/25/2012 - 23:06

Nginx is a high performance lightweight web-server that is visibly faster than Apache and takes less memory. On my machine, Drupal's module list page (admin/modules) comes up within 2 seconds on Nginx, while on Apache 2.2 it takes over 4 seconds (as measured in Chrome's developer tools / network tab).

Setting it up for Drupal is also very easy. This is how I set it up on Ubuntu Linux 11.04 (should be same for most Linuxen).

SpinSpire Drupal Training is in full swing

Submitted by Jitesh Doshi on Fri, 04/06/2012 - 09:10

SpinSpire's current batch of Drupal training is at halfway point. We have completed 2 weeks of training and 2 weeks to go. The training teaches Drupal (content management, configuration & coding), jQuery, JavaScript, Linux, Git, HTML/CSS and much more.

The course content and discussion forum are publicly available. Check it out at http://training.spinspire.com/

Adding roles to users on account creation

Submitted by Priya Ganesan on Sat, 03/03/2012 - 15:31

On one of the Drupal 6 projects we had the need to assign a specific role to all users who create their own account (by visiting 'user/register'). Let's say the role is 'abc' and the role id (rid) is 3. So every new user should have the 'abc' role automatically. After much reseach I found the winning formula :-)

SpinSpire releases OpenID Helper module

Submitted by Jitesh Doshi on Wed, 02/29/2012 - 22:48

We are pleased to announce the beta release of our OpenID Helper Drupal module (see http://drupal.org/sandbox/jitesh_doshi/1460772). OpenID module, included in Drupal core, is very useful, but not very user-friendly. It expects users to know what their OpenID provider URL is. The OpenID Helper module makes it a little more user-friendly by giving the user a dropdown list well-known OpenID providers to choose from. 

SQE selects SpinSpire

Submitted by Jitesh Doshi on Wed, 02/29/2012 - 22:34

Software Quality Engineering (SQE), an industry leader in conferences, trainings and online communities has selected SpinSpire to design and develop their Drupal-based community web portals. SQE delivers training, support, research, and publications to software managers, developers, test professionals, and quality engineers worldwide. SpinSpire provides high-end Drupal development services for enterprises.

Under this deal, SpinSpire will migrate SQE's online properties to Drupal with features including content management, conference registration, groups & forums, revenue generation via advertising, targeted marketing, automated workflows triggered by system events, and extensive integration with social networks. Social login and social commenting will allow users with social network accounts to log into the SQE portals and to participate in conversations that also engage other people in their social network.

Stay tuned for site launch announcements in coming months.

Tags
Subscribe to