Tag plugin

Wordpress NextGEN gallery and "Not a valid template"

If you encounter the output [Not a valid template] on your gallery pages after you updated to NextGEN gallery 2.x and you probably moved your blog location on the server, then you should check the plugin settings. In my case, under NextGEN Basic Thumbnails the Template value pointed to a wrong path. After I fixed that, everything worked again:

NextGEN settings

FE-Plugin with multilingual TYPO3

I always forget how to force a frontend plugin to display the texts localized through $this->pi_getLL($key).

This is how it works:

class tx_extkey_piX extends tslib_pibase {
   function main() {
      $this->sys_language_uid = (int) t3lib_div::_GP('L');