Adding jquery plugin to joomla 2 - jquery-plugins

I am trying to add a country selector to the front page of my site for the users to be able to select a country and land on a specific page. I have not been able to find a Joomla extension for this, but I found a jquery plugin that does this, but I am not sure how to or is there a way to add this to my Joomla site.
The jquery plugin

There are multiple ways to do that:
http://extensions.joomla.org/extension/jquery-easy
Install a plugin to include jQuery in
b. http://dabrook.org/blog/two-ways-to-include-jquery-in-your-document
Do that for joomla template file (don't forget jQuery.NoConflict())
And at the and modify article with that country picker (put JS code in).
OR
Develop a plugin to do all that. (for more experienced user)

Related

How do I create a custom page in Joomla 1.5

I have a website here that I need to create a custom page where in I can call the header and the footer as well as the sidebar.
If you're going to do it in Wordpress its easy as this link says:
https://developer.wordpress.org/themes/template-files-section/page-template-files/page-templates/
However, Joomla is a bit different on this one. If I will try to add a new article I wont be able to customize the layout that I want. Let's say in the custom page I want to create I don't want the footer to show up and I want to add internal CSS on it which is possible on Wordpress custom page.
Any idea how do the same thing Joomla 1.5??
Thanks!

php page to be included in joomla

I have written a php page that is getting data from a database and graph it via highcharts javascript.
I would like now to be able to put that in joomla and then use the username from joomla to graph the specific data from that user.
How can I do that?
Thanks for your help,
John.
You should use an iFrame Wrapper menu item whenever you want to include a page that isn't part of your Joomla website.

Changing the edit form in Joomla 3.x for specific article category

I have a bunch of articles in a Joomla 3.1 site that all live under a single category.
I'm creating a specific editor group for each article, ie a small group of users will have edit permissions for 1 article.
I'd like to do something so that when an article that is within the prescribed category (not all articles) is edited, the user (editor) sees a short block of text at the top of the edit page.
Is that possible within Joomla or would I have to edit the PHP file that creates the form?
You could accomplish this using a tool like content templater. http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/code-snippets/7152

Add static javascript to every page of joomla

Im completely new to Joomla development. I need to develop Joomla plugin that adds static javascript to the footer of all the pages of a Joomla site. Also, the plugin would need to save 2 fields in database, and access these fields on per page basis. Also, Admin panel is needed.
Now, my questoion is, where do i start? Joomla plugin development is a big task, so if I can get some pointers as to where to start, it would be very supporting.
Im not asking for direct code, but just the right direction to start.
Thanx in advance....
Joomla has three types of extensions (what you refered to as plugin): components, modules and plugins, where each has a different purpose.
If you need to add javascript to all pages, the best place is your template. If you don't have access to template, just building an extension, then you have to create a content plugin.
If you need to create extension with admin panel which also works with database, you need to create a component. The best place to get started is tutorial Developing a MVC component for Joomla 2.5

Component part shown in joomla frontend

How do I display the form in the frontend in Joomla 2.5, just like the Create Article form shown in the frontend?
You can obviously create an form in an article but it will be pointless as the form will require PHP functions which cannot be written in an article.
Your best bet would be to develop a simple module which you can embed in an article or download a free form extension from the Joomla Extensions Directory.

Resources