deepsea887 / sigplus

Automatically exported from code.google.com/p/sigplus
0 stars 0 forks source link

plug-in activation tag templates #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Even while it is possible to have default settings for the sigplus plug-in 
globally, it is not possible to have plug-in templates with pre-defined 
settings that can be overridden locally in the activation tag parameter list. 
Templates can be seen as a combination of the plug-in usage syntax and the 
"Load module" syntax: the former allows overrides but limits reusability, while 
the latter does not support overrides (especially specifying a different image 
source folder) but caters for reusability (the same module can be referenced at 
multiple locations).

Original issue reported on code.google.com by huny...@gmail.com on 14 Apr 2012 at 8:57

GoogleCodeExporter commented 9 years ago
Maybe solution is to introduce other parameters dopisywanych tags for the 
template in the article and give them a higher priority than those in the 
template?

Or modification of the key measures to allow individual sigplus override the 
template for this case?

Original comment by ten.mari...@gmail.com on 16 Apr 2012 at 9:25

GoogleCodeExporter commented 9 years ago
key measures = sigplus button in article editor

Original comment by ten.mari...@gmail.com on 16 Apr 2012 at 9:26

GoogleCodeExporter commented 9 years ago
sigplus version 1.5.0.198 features a new plug-in activation tag parameter 
called "base-module". This parameter accepts a mod_sigplus module title, whose 
configuration parameters act as a base for plug-in parameters. In-line 
parameters specified in the activation tag override those parameters inherited 
from the base module. This lets users set some default parameter values on the 
configuration page of a module, and specify the module title in the plug-in 
activation tag as a single parameter or add some further overrides. The module 
must be accessible in the context where it is referenced, i.e. it must be 
enabled, assigned to the same menu item that the content is assigned to in 
which the activation tag is typed (or assigned to all pages), and the user must 
have the appropriate access rights.

Original comment by huny...@gmail.com on 15 Nov 2013 at 1:08