How to use a joomla plugin - plugins

I have a plugin that i have installed & I am able to view it on the plugin manager , however i have no idea how to use it on the template i.e is it possible to assign plugins to positions? I am new to joomla assistance would be appreciated.

Plugins respond to (are triggered by) events. They are not meant to be attached to an specific position (like modules are). What you should do is to enable it, then it'll start listening for some event(s). Did you build this plugin yourself? If it's someone else's it's commonplace to use {myplugin} parameters {/myplugin} syntaxis, so that you can call it from any editor field. In that case you could have a module with an editor field, place it in any position you want and then call your plugin from it.
For more information about plugins, see http://docs.joomla.org/Plugin

Related

Roblox plugin: How do I redirect the plugin user to a certain website?

I am currently making a Roblox plugin and I have created a help button. However, I want to redirect users to a webpage (let's say, example.com). Through all of the API pages that I browsed through, I could not find anything. Is it possible to do so? And if so, how do I do it?
As of January 2023, this is not a supported use case for developers.
There are a number of adjacent features that are close but really don't work for what you're going for :
The plugin object has a function to OpenWikiPage() but this is only for internal documentation.
HttpService
is unable to launch any non-http protocols, so you cannot use it to
launch an external program either.
GuiService has a deprecated, internal function OpenBrowserWindow(), but only CoreScripts can use that.
There's now a BrowserService with the function OpenBrowserWindow(), but similar to GuiService, this is only for internal use.
The only workaround I could imagine would be to fetch the contents of the page and display it in a TextLabel, which supports Rich Text.

How to put multiple forms in the same page using joomla?

I'm using CKForms to create 3 forms, so far, they are independent components, I would like to put them in the same page.
This manual could help :
http://joomlacode.org/gf/download/frsrelease/12021/48586/manual_ckforms-EN-1.3.4.pdf
In order to use multiple instances of the same component in a joomla page, you have to check if there is a module or a plugin available.
If there is an option for a module you could publish each instance in a module position.
If there is a plugin, you could create an article (or a module in some cases) and add plugin code to load plugin instance.
Checking CKForms site I could see that there are both options.
Hope this helps

Can NPAPI plugins execute on every page?

I wanted to build an extension but realized a plugin would give me more control to do the things I want. Can you build NPAPI plugins that are called on every page the user loads like an extension is, or are they limit to the MIME type to you specify in the plugins manifest file?
Plugins are only instantiated to handle their defined MIME types. If you wanted a plugin to run on every page, you'd have to make an extension that injected an instance of your plugin into the DOM of every page.

How to show a joomla component as a module?

I'm just trying to find a simple way to show a joomla component as a module, do u guys know how to get this done?
BTW, I am using Joomla 1.5.
Thanks!
The Joomla API defines Components and Modules as two different things. You can't plug a component into a place where a module goes.
You can create a module plug-in that displays information from the component. For example, most calendaring components also ship with a module so you can display a small calender in the side-bar.
There are a bunch of extensions that do this already. Take your pick -
http://extensions.joomla.org/extensions/core-enhancements/embed-a-include

Jira plugin development - Is it possible to customize the 'Add project' page from a plugin?

I am developing a JIRA plugin and I'm trying to add a custom field to the Add project page. As far as I know, a custom field can be added only for an issue. Is it possible to add a custom field (a text field or a select list) at a project level?
I have found an plugin, which is able to add metadata on Project level.
Please take a glimpse at this link
Short answer: doable but not particularly easily
The way you do this is to write a WebWork plugin that changes the Java class that handles that webpage. The process is that the actions.xml file contains the AddProjects.jspa, e.g.
<action name="project.AddProject" alias="AddProject" roles-required="admin">
<view name="error">/secure/admin/views/addproject.jsp</view>
<view name="input">/secure/admin/views/addproject.jsp</view>
</action>
which tells you that the class name is AddProject, which you can extend to handle the user setting a value in this new field. Then you also need to decide how you're going to store values for each project (more info in the Practical JIRA Plugins or JIRA Development Cookbook books). The hardest part here is that the template files are .jsp files which you can't change directly with a plugin. What I usually do is write a ServletFilter to inject JavaScript to change the AddProjects page that way.
There is no elegant way, but you possibly can use Custom Project Properties for JIRA plugin.
This plugin allows to:
define list of custom fields for projects
define custom fields per project
fill custom fields on project administration page