Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: zem_ir problems
BREAKTHROUGH
After some digging, I learned that $pfr has been replaced with $hu. I replaced throughout and I no longer get errors. However, instead of always going to the website/images/zir to cache, the url being built to server them includes the subdirectory. I didn’t explain that well…
For example:
Images should be always located at https://localtreasureinternational.com/images/zir/xxxxxxxxx
But, if I’m a level deep in a section called fishing, it tries to pull it from https://localtreasureinternational.com/fishing/images/zir/xxxxxx
My guess is $hu does not quite work the same as $pfr, and that’s now my problem. But it works great on the home page…
Offline
Re: zem_ir problems
And done. I had to use hu
instead of $hu
in a section and that seemed to clear everything up. So, in summary, replace all of the $pfr
references with either $hu
or, just hu
.
Thanks for everyone’s help!
Offline
Re: zem_ir problems
Glad you got it sorted. $pfr
hasn’t been in core for, well, before my time here (2006) so that shows the age of the plugin. The fact it can be patched with the constant hu
(hence no dollar sign, sorry – I should have made that clearer!) and still work after all this time is pretty awesome.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Offline