Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#49 2012-10-24 04:21:33
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
How would you set “charset=UTF-8”?
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
nardo wrote:
How would you set “charset=UTF-8”?
<txp:aks_header name="Content-Type" value="text/html; charset=utf-8" />
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline
#51 2012-10-25 09:36:59
- nardo
- Member
- From: tuvalahiti
- Registered: 2004-04-22
- Posts: 743
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
Too easy. Thank you.
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
- Txp 4.6 beta
- mysql 5.7.13
- php 7.0.7
This error appears…
Tag error: <txp:aks_header strip="0" gzip="1" /> -> Textpattern Notice: unregistered_tag while parsing form tmpl-open on page articles
textpattern/lib/txplib_publish.php:518 trigger_error()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php:4330 parse()
textpattern/publish/taghandlers.php:487 parse_form()
output_form()
textpattern/vendors/Textpattern/Tag/Registry.php:83 call_user_func()
textpattern/lib/txplib_publish.php:514 Textpattern\Tag\Registry->process()
textpattern/lib/txplib_publish.php:463 processTags()
textpattern/lib/txplib_misc.php:4391 parse()
textpattern/publish.php:559 parse_page()
Cuttlefish.
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
Adding this to the top should clear at least some of that up.
// TXP 4.6 tag registration
if (class_exists('\Textpattern\Tag\Registry')) {
Txp::get('\Textpattern\Tag\Registry')
->register('aks_header')
;
}
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
Thanks, for looking out, Michael!
I’ve decided to axe it entirely. 4.6 brings spring cleaning. ;)
Offline
Re: aks_header : Compress your pages on the fly. Strip white spaces + gzip
michaelkpate wrote #299938:
Adding this to the top should clear at least some of that up.
Thanks, fixed.
aks_cron : Cron inside Textpattern | aks_article : extended article_custom tag
aks_cache : cache for TxP | aks_dragdrop : Drag&Drop categories (article, link, image, file)
Offline