CMSimple - flatfile CMS - Documentation

Flatfile CMS Blog Shop - The Content Management System to take away

information  documentation  downloads  forum
You are here:   Home > Plugins in Subsites
German CMSimple Website English Danish

Plugins in Subsites

Plugins that do not generate their own data (for example TableSort) work fine even in subsites and their second languages.

In normal multilingual installations (without subsites), also data generating plugins work fine.

The problem in subsites

In subsites may be problems with data generating plugins, when they store their data in the plugin folder of the main installation, and support multilingualism by data files names like:

  • plugindata_de.txt
  • plugindata_en.txt
  • plugindata_fr.txt

etc.

Because the language files ​​are used multiple in the subsites and their second languages​​, this type of distinction is not suitable anymore.

The Solution

This problem can only be solved by the plugin developers reliable. The plugins should be programmed to store the data in the content folder of the respective subsite or second language.

If the data path is configurable, it should not be configurable from the CMSimpleRoot, but from the root of the respective subsite or second language.

Only in this way ensures, that different subsites and second languages not uses the same data files, and can change it.

Access protected plugin data

Access protection for folders via .htaccess is only effective on Apache Web servers. On different Web servers, the Administrator himself has to take care of the access rights of its folders.

The plugin data should be stored in a sub-folder of the "content" folder of each subsite or second language. This folder is protected by .htaccess from prying eyes, and that's also inherited to the subfolders.

But: this protection can also cause problems, for example in galleries. Suddenly the images or thumbnails are not visible, the reason is the access protection by htaccess.

Therefore, there is a folder

./content/plugins/

in which this protection is canceled by .htaccess. Also this is inherited for the subfolders.

If there are no sensitive or non-public data in the plugin, the data path can be a sub-folder of

./content/plugins/

 

« prev top next »

CMSimple News

CMSimple is ready for php 8.4
System Requirements »

CMSimple 5.15 published

2024-03-25

The drag&drop functionality of the pagemanager and the routine for switching to h1only pagesplitting have been significantly improved.

Download Area »

USBWebserver CMSimple

USBWebserver

Testen Sie CMSimple ganz einfach mit USBWebserver offline auf Ihrem PC.

OnlineShop für CMSimple

OnlineShop für CMSimple

Jetzt gibt es bei ge-webdesign.de den csvShop, ein OnlineShop Plugin für CMSimple. Selbstverständlich voll responsiv für Smartphones & Co.

Templates

Responsive templates are suitable for all visual output devices, from smartphones up to HD screen.

Test the responsive templates of ge-webdesign.de:

Demos & Downloads »

Plugins

With plugins you can extend the functionality of CMSimple. There are Blogs, Comments, Photo Galleries, MultiMedia, MembersArea and much more.

Here you can find demos for most of the available plugins:

Demos & Downloads »

Sponsors Area

This is the place for banners and links to sponsors of CMSimple or any kind of advertising.

Become a CMSimple Sponsor »

You also can support CMSimple by donation:

nach oben