Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2021-06-30 20:08:38

kaline
Member
From: Plymouth, MN
Registered: 2005-07-18
Posts: 38
Website

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

#14 2021-06-30 20:48:06

kaline
Member
From: Plymouth, MN
Registered: 2005-07-18
Posts: 38
Website

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

#15 2021-06-30 20:53:42

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,269
Website GitHub

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

Board footer

Powered by FluxBB