Author |
Message |
Topic: Plugin used in included subtemplate compiles incorrectly |
Synchro
Replies: 2
Views: 7096
|
Forum: Bugs Posted: Tue Apr 28, 2015 9:18 pm Subject: Plugin used in included subtemplate compiles incorrectly |
Thanks, that fixed it. |
Topic: Plugin used in included subtemplate compiles incorrectly |
Synchro
Replies: 2
Views: 7096
|
Forum: Bugs Posted: Tue Apr 28, 2015 8:43 am Subject: Plugin used in included subtemplate compiles incorrectly |
I've now run into another issue that might be related to {gravatar email=$emailaddress rating="pg" size=20 default="identicon"}
This resulting compiled template contains ... |
Topic: Plugins not loading from compiled template |
Synchro
Replies: 7
Views: 9912
|
Forum: General Posted: Tue Apr 28, 2015 6:48 am Subject: Plugins not loading from compiled template |
Yep, that fixes it for me, thanks very much. |
Topic: Plugins not loading from compiled template |
Synchro
Replies: 7
Views: 9912
|
Forum: General Posted: Mon Apr 27, 2015 10:07 pm Subject: Plugins not loading from compiled template |
Sorry, I thought I'd implied that - no, the compiled template does not try to require the date_format modifier.
The template structure is somewhat complex, but I've cut it back to a minimal example ... |
Topic: Plugins not loading from compiled template |
Synchro
Replies: 7
Views: 9912
|
Forum: General Posted: Mon Apr 27, 2015 7:44 pm Subject: Plugins not loading from compiled template |
I'm running dev-master for the compiled template clearing bug workaround.
I have structures similar to that, for example this one is clearly loading my custom plugin, and seems happy:
if (!is_ ... |
Topic: Plugins not loading from compiled template |
Synchro
Replies: 7
Views: 9912
|
Forum: General Posted: Mon Apr 27, 2015 2:57 pm Subject: Plugins not loading from compiled template |
I'm running into an odd problem since I switched to using smarty from composer instead of my own local copy. It all works fine on the first hit (i.e. when compiling after clearing compiled templates), ... |
Topic: clearCompiledTemplate pointing at /! |
Synchro
Replies: 13
Views: 19478
|
Forum: Bugs Posted: Fri Apr 24, 2015 7:45 am Subject: clearCompiledTemplate pointing at /! |
I figured out what was causing it. I needed to set:
"minimum-stability": "stable",
"prefer-stable": false, |
Topic: clearCompiledTemplate pointing at /! |
Synchro
Replies: 13
Views: 19478
|
Forum: Bugs Posted: Thu Apr 23, 2015 8:41 pm Subject: clearCompiledTemplate pointing at /! |
I was just trying to use dev from composer. The docs say to use this:
"smarty/smarty": "~3.1@dev"
however, that doesn't appear to match anything different, and it resolves to ... |
Topic: clearCompiledTemplate pointing at /! |
Synchro
Replies: 13
Views: 19478
|
Forum: Bugs Posted: Thu Apr 23, 2015 8:05 pm Subject: clearCompiledTemplate pointing at /! |
Ah - I see my patch is in github, but seems not to have been released. Any chance you could make a release? Alternatively, how stable do you consider dev-master? |
Topic: clearCompiledTemplate pointing at /! |
Synchro
Replies: 13
Views: 19478
|
Forum: Bugs Posted: Thu Apr 23, 2015 7:48 pm Subject: Still happening |
Eek! I've just run into the same problem in 3.1.21 loaded from composer. I had assumed that this had been fixed so I dropped my patched version in favour of that. I see that the results of the realpat ... |
Topic: Disable auto-escape per plugin? |
Synchro
Replies: 1
Views: 3534
|
Forum: General Posted: Thu Jan 22, 2015 6:27 pm Subject: Disable auto-escape per plugin? |
If I set auto-escape mode, it works very nicely, however, it means I have to include 'nofilter' on all plugins that generate HTML content. Is there some way I can mark a plugin as being exempt from ou ... |
Topic: clearCompiledTemplate pointing at /! |
Synchro
Replies: 13
Views: 19478
|
Forum: Bugs Posted: Wed Jan 21, 2015 11:03 am Subject: clearCompiledTemplate pointing at /! |
I see that the patch you did checks the value returned by realpath. The only problem with that is that if compiledir is set to / for any reason, it may possibly pass this test and still allow the dele ... |
Topic: clearCompiledTemplate pointing at /! |
Synchro
Replies: 13
Views: 19478
|
Forum: Bugs Posted: Tue Jan 20, 2015 4:21 pm Subject: clearCompiledTemplate pointing at /! |
OK, thanks. |
Topic: clearCompiledTemplate pointing at /! |
Synchro
Replies: 13
Views: 19478
|
Forum: Bugs Posted: Tue Jan 20, 2015 12:07 pm Subject: clearCompiledTemplate pointing at /! |
I didn't know about testInstall - thanks for that tip.
It was indeed that getCompileDir was returning the correct value, but realPath was making it fail. The reason it failed is that I'm using vari ... |
Topic: clearCompiledTemplate pointing at /! |
Synchro
Replies: 13
Views: 19478
|
Forum: Bugs Posted: Mon Jan 19, 2015 3:28 am Subject: clearCompiledTemplate pointing at /! |
I'm running 3.1.19, and I just ran into a case where clearCompiledTemplates ends up pointing at '/' as the compiled template path, and thus tries to delete everything!
For some reason, this line in ... |
|