Here you should find information for each Moslate parameter (if you edit a Moslate). They are sorted by occurrence.
Moslate Parameters |
TOCmain fieldscategoryThe category helps you organizing the Moslate. It can also be used for exporting Moslates of a certain category. The publishing of categories or in which cateogry a Moslate is does not have any influence of it's use though. linked to userThis optional parameter is also provided for organization purpose only. nameThe name identifies a Moslate. When the parameter "Activation" is set to "Normal" it will be called by its name. You should keep the name unique. templateThe template code is the actual content of the Moslate. Its meaning depends on what is set for the parameter "Mode". publishingpublishedLike everything on Joomla/Mambo, a Moslate need to be published if you want to use it. If you know you don't use a certain Moslate you may want to unpublish it so that no one else might be able to use it accidently. orderingThe ordering of Moslates is partly provided for your own organization. Since version 0.2b it will not be used for the order of activating Moslates when "Activation" is set to "Normal" anymore. It will however influence the order when executing Moslates using one of the other activation methods. access levelBy setting an access level other than "public" you could restrict the use of a Moslate to "special" users for example. Unlike the access level of a content item, not the logged in user is used to determine the rights, but the creator of that content item. includesAdding includes to a Moslate works a bit like adding images to a content item. The base folder is /components/com_moslate/includes. This way you could add shared include files to make them available to your Moslate. Those include files will be included once only. Usually you will use the mode "Eval as PHP" if you use any include file. argumentsAdding arguments to a Moslate works also a bit like adding images to a content item. Arguments can be used as predefined Moslate parameters when using the mode "Normal" or as the only parameters when using one of the other modes. optionsdata varThe default for "Data Var" is "data", which would mean that a parameter called that way would receive it's content.
In the following example, the data parameter would be set to "some content":
{samplemoslate}some content{/samplemoslate}If this field is empty, you cannot pass data to a Moslate. In that case the following two lines would be equal: {samplemoslate/} {samplemoslate} modeThe mode tells Moslate what to do with the template code. See the following table for the meaning of each.
activationBy using the activation parameter one could set in which case the Moslate should be activated. Usually this should be set to "Normal" but in certain cases - like maybe your own Email Cloaking Mambot - you might want to set it to something like "Every Content". See the following table for more details.
trim dataLeft and right white spaces will be removed before data is passed to the Moslate. eval parametersWhen setting this to "Yes", other Moslates can be passed within parameter values. (Though, a better solution would be to use logic and to pass variables using EL.) eval dataWhen setting this to "Yes", other Moslates can be embedded and will be evaluated before getting passed to this Moslate. The htmltext-Moslate is an example where this might be set to "No". eval outputThe output will be evaluated. You could call other Moslates this way. moslate contextThis will be used by the logic Moslate "tiles:getAsString". It usually makes sense for custom Moslates which will call other logic Moslates. use logicThis will include the logic include file once. Using this flag will save you from adding it to the includes manually and it will not export it. All logic Moslates are using this flag, but you usually do not need it for your own Moslates. logic scopeThis might be set to "Yes", if you want to have a new page scope created for this Moslate. This will prevent overwriting variables with the same name. eval parameters (EL)By setting this flag to "Yes" one could use the Expression Language (EL) within parameters. The logic include file will automatically be included if this is the case. eval data (EL)Same as "eval parameters (EL)" but for the data. This is for example used for sql:query. logic variablesUsing this option will automatically set logic variables for all parameters within the current page scope (if logic scope is set to "Yes" within the new page scope). as stringAn EL could possibly result in an object or array. But if your Moslate expects strings only you may use this option to have them automatically converted to strings. statusThe status panel is inserted in a few places to help you identify the status of the current configuration. They will update with each page load. If you see a warning sign it usually means that you should change something to make it work properly. |