opencaching / opencaching-pl

The source code of Opencaching.PL (and some other domains)
https://opencaching.pl/
GNU General Public License v3.0
22 stars 33 forks source link

Edit pages under ADMIN MENU - feature #299

Open andrixnet opened 8 years ago

andrixnet commented 8 years ago

There are several informative pages, contact page, links page, and potentially others that are extremly hard to maintain. They are a combination of strings from translation files and arrays written in settings.inc.php. To be honest, this is horrible to maintain.

One more important characteristic for these pages is the fact that the contents is specific to each node in every language. That is english contact page on OCPL is specific to OCPL. The english contact page of OCNL is specific to OCNL and not valid on OCPL. And the same would be for the polish language contact page on OCNL.

All the items on the top menu (where such pages are located) are defined in the code and activated / deactivated using configuration variables in settings.inc.php.

What I propose is this:

I stress again the point that this feature request does not break the site strings translation rule since it refers specifically to multilanguage content on a per node basis (much as cache descriptions).

It is about strings that are specific to a certain node, across all languages. Mostly making up a page or sections of a page (like contact, about, intro on main page).

Steps to implement this:

In Super Admin menu:

In website (page display)

Note: this is not a feature for editing arbitrary articles/pages. There are many platforms for that and it is not the purpose of opencaching-pl to do that. This is only for the OC specific informational pages that have content specific to a certain node, for all languages. This is meant to replace and enhance what currently exists in settings.inc.php for the contact page and more.

deg-pl commented 7 years ago

Partially fixed by commit 4aff83b1b937f3e101f81a124671208f09a94eb4 (see #196)