Hi I am successfully using reptags through cck. No problems with the functionality, however, I keep making mistakes as I keep adding tags in lowercase. I know this is not a bug and might be even by design however it is a bit tedious having to always keep reptags in uppercase all the time. Is there a way to make reptags parse both uppercase and lowercase tags together? Thanks.

Comments

profix898’s picture

Sorry for my late response. I was away from home for a few days. As site-wide and user-tags are already case-insensitive, I assume, you are talking about the module tags, i.e. {NID} or {DATE}. To make these case-independent you simply need to add 'i' at the end of each regexp. For example change "#{DATE}#" => strftime('%x') to #{DATE}#i" => strftime('%x'). I decided to use upper-case tags to better distinguish them from surrounding text, but maybe I should think about making them case-insensitive ...

Fajan’s picture

Status: Active » Closed (fixed)