Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: [Solved] Dynamic txp:site_url dynamic via trusted FQDNs?
neptho wrote #307904:
I was thinking of possibly abusing one of the custom1-3 fields …
I think your suggestion with a config variable in config.php, or alternatively a prefs field set up by the plugin, would be better as custom fields are attached to articles and, apart from the fact that the custom field(s) would then show up unused in each article, the article containing the relevant saved data could also be deleted.
TXP Builders – finely-crafted code, design and txp
Online
Re: [Solved] Dynamic txp:site_url dynamic via trusted FQDNs?
neptho wrote #307898:
No worries! I meant that in jest, and took it as fun as possible. :)
Me too ;-)
If you only use local references over HTTPS, browsers will complain like no tomorrow, and IE will fail to load every single resource, even with a “Yes” override, the last I checked.
Thanks for the info. I hadn’t observed that before, so I should definitely check that!
TXP Builders – finely-crafted code, design and txp
Online
#18 2017-11-20 18:04:48
- neptho
- Member

- From: A cold, dark place.
- Registered: 2006-02-01
- Posts: 51
Re: [Solved] Dynamic txp:site_url dynamic via trusted FQDNs?
jakob wrote #307906:
I think your suggestion with a config variable in config.php, or alternatively a prefs field set up by the plugin, would be better as custom fields are attached to articles and, apart from the fact that the custom field(s) would then show up unused in each article, the article containing the relevant saved data could also be deleted.
That’s simple enough. I just didn’t want to add any globals for fear that it may be a bad idea. :)
Offline