PostNuke Community

Support at your fingertips

httpheaders - v0.1

Author: RaZ

Zikula Version:

Type: Xanthia

Description:

This plugin sends HTTP-headers to override some default settings that might be an issue on multilingual postnuke setups.

 

The idea was based on this thread in the forums: http://community.postnuke.com/index.php?module=Forum&func=viewtopic&topic=50656

 

When Apache uses AddDefaultCharset, the browser will render the page in that charset, and doesn't use the charset in the meta-tags. Using this plugin in your Xanthia templates, the AddDefaultCharset set by Apache are overriden by this plugin, which makes you websites work in other charset encoding then as set as default by the hosting provider.

 

I've also added the document language. This plugin will send 2 http-headers:

- Content-Language

- Content-Type

 

Now it doesn't matter how the provider has confgurated Apache, since this plugin overrides the default settings.

 

Just add the plugin on the first line of your templates.




Support Information:




Change Log: