Over ride plugin value

Creating and modifying plugins.
Post Reply
Noelb
Regular
Posts: 59
Joined: Wed Jul 27, 2011 7:16 am

Over ride plugin value

Post by Noelb » Fri Apr 09, 2021 7:20 am

Hey all

The related links plugin shows Related Links:
I want to change this to Related Articles

I've set @define('PLUGIN_EVENT_RELATEDLINKS_LIST', 'Related Articles');
in /blogsrootpath/serendipity_config_local.inc.php
yet it does nothing, in fact changing that line in the en_ lang file, also does nothing, yet in the plugin directory thats the only found entry of that phrase.
(tested with a fresh unused-today browser as well)

Am I having a blond moment and doing something wrong?

(edited: typo)

Noelb
Regular
Posts: 59
Joined: Wed Jul 27, 2011 7:16 am

Re: Over ride plugin value

Post by Noelb » Fri Apr 09, 2021 1:16 pm

hrmmm, just updated a post and it now says correctly, Related Articles, but others don't, I gather this field is stuffed into the database, actually just loaded another article and clicked save and it too changed, so this is field can't be globally overriden by the custom define - unless you want to go through and re-save every post.

Strange, as other custom defines work.

Post Reply