Welcome to Geeklog Friday, November 15 2019 @ 10:13 am EST

Geeklog Forums

plugins as vendor module


Status: offline

remy

Forum User
Full Member
Registered: 09/06/03
Posts: 150
Location:Rotterdam & Bonn
I see that Geeklog is using system/vendor as the location for third-party scripts. This is good.

What is the policy for third-party plugins? Same for third-party themes? Same for php_blocks?

What if a plugin is bought from an external vendor? F.i. geeklog.fr sells plugins, which are installed following current policies (in the gl filesystem).

Is this a feature-request, or is this coming in some future release anyway?

Background: I'm using a plugin that can be extended (with some configuration, or add-on, or plug-in, or whatever one names it). In fact, it allows being extended with web-apps (config + sql + templates). The 'vendor' issue exists here on various levels: the plugin itself, the app and the database component. Possibly also the middleware like cloud or protocol. Usage of google firebase is a similar thought experiment.

Status: offline

Laugh

Site Admin
Admin
Registered: 27/09/05
Posts: 1383
Right now plugins should only keep their files in the following directories:

/plugins/plugin_name/
/public_html/plugin_name/
/public_html/admin/plugin_name/

I have seen some plugins which include 3rd party libraries use:

/plugins/plugin_name/vendor/

Currently there is not a way for plugins to add and remove libraries from system/vendor so the library can be shared by all. Nothing has been planned at the moment either so you would need to make a feature request.

One of the Geeklog Core Developers.

All times are EST. The time is now 10:13 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content