Comments (13)
I can correct multilines comments but can't see where your caching files come from.
Need to do some tests ;)
from pat_speeder.
It comes from the temporary directory (usually /textpattern/tmp).
from pat_speeder.
1°. I just testing your multiline comment example into a page template without any troubles (this comment is removed and replaced with a space as expected).
2°. /textpattern/tmp
is the default temporary directory for Textpattern CMS. Nobody did not report such an annoying behavior with pat_speeder before.
from pat_speeder.
Ok, on sera probablement plus efficaces en français, qu'en penses-tu ?
Pour commencer je suis en local sur Mamp; quelle version devrais-je utiliser avec Txp 4.6 ? Textpattern.org dit que la version courante est 0.5.0, ton site sert la version 0.7 et 3 autres versions 0.7.1, 0.7.2 et 0.7.3 sont disponibles sur ton GitHub. Les versions 0.7, 0.7.1 et 0.7.2 fonctionnent avec les soucis énoncés ci-dessus mais la version 0.7.3 ne semble pas fonctionner du tout. Si tu as une version corrigeant le problème des commentaires, la tester me permettrait d'y voir plus clair et de mieux localiser où le fichier en cache pose problème.
from pat_speeder.
Je viens de voir que les retours à la ligne indésirables ne concernent pas seulement ce fameux fichier en cache. Rien d'évident pourtant… je pense rester avec aks_header mais si je finis par y comprendre quelque-chose, je ferai signe.
from pat_speeder.
Ça y est, je tiens le bon bout: la version 0.7.3 (GitHub) fonctionne très bien une fois activée. Le pb c'est que pour l'activée je dois remplacer 'enable' => NULL
par 'enable' => 1
. Sans ça, aucun résultat, même avec l'attribut enable = "1"
.
from pat_speeder.
<txp:pat_speeder enable="1" gzip="1" />
works perfectly.
Upcoming new 0.7.4 version will provide these attributes (with radio buttons) into the preferences page.
from pat_speeder.
My mistake; you are right, the enable
attribute works but it is not set to 1 by default as told in the help file, right?
It will be great to use the prefs, in my mind gzip
could also be a radio button and code
is a good candidate for the upcoming multiselects prefs.
from pat_speeder.
Yep. See this new version here (in development): 8ce18e3
from pat_speeder.
This issue is closed: https://github.com/cara-tm/pat-speeder/blob/master/pat_speeder_v0.7_zip.txt
from pat_speeder.
Thanks for your replies Patrick; pat_speeder adopted!
from pat_speeder.
In fact the link took me back to 0.7 with the previous persistent line breaks (comments).
0.7.4 works fine but the prefs are in the core Administration prefs.
Here is how Stef Dawson shew to set plugin prefs for 4.5 and 4.6:
if (get_pref('pat_speeder_enable', null) === null) {
if (defined('PREF_PLUGIN')) {
// For 4.6+
set_pref('pat_speeder_enable', '0', 'pat_speeder', PREF_PLUGIN, 'yesnoradio', 10);
} else {
// For 4.5
set_pref('pat_speeder_enable', '0', 'pat_speeder', PREF_ADVANCED, 'yesnoradio', 10);
}
}
It is easier than safe_insert
and helps to keep core things tidy.
from pat_speeder.
Thanks ;)
from pat_speeder.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pat_speeder.