26 votes
Accepted

Joomla 3.x extension development tutorial for a beginner developer

I will provide the list of my bookmarked links and a list with links for Joomla Development Books, with various resources all around Joomla Development. I hope they will be useful for anyone ...
user avatar
  • 19.5k
9 votes
Accepted

How to restrict access to custom component views?

You can create a system plugin to handle all the request to your custom component before sending control to the component. Use onAfterRoute event to perform all the access checking. function ...
user avatar
  • 1,791
9 votes
Accepted

How to add meta tags to a page header based on an url parameter?

Assuming that with "Read Current Url", you mean that you want to be able to get request data, then: $jinput = JFactory::getApplication()->input; $url_parameter = $jinput->get('url_param', '...
user avatar
  • 19.5k
9 votes
Accepted

How to override an extension CSS file

You firstly need to ensure the developer has used the correct approach for importing the CSS file, using JHtml, like so: JHtml::_('stylesheet', 'mod_module/style.css', ['relative' => true]); The ...
user avatar
  • 26.5k
8 votes

Joomla 3.x extension development tutorial for a beginner developer

I can recommend the official doc page. There is a section for developers which includes also tutorials. http://docs.joomla.org/Portal:Developers David Hurley is currently doing a series of short ...
user avatar
  • 5,527
8 votes
Accepted

Script not running on plugin installation

Did you try the class name without underscores? "plgSystemNotifierInstallerScript" (or possibly "plgSystemnotifierInstallerScript" not sure) That seems to be the format the two plugins I checked ...
user avatar
  • 1,196
7 votes
Accepted

Best way to include CSS/JS files in my custom extension

The best way would be to use the media folder. So, you will firstly need to create a folder called media in your module folder. Note: This folder should be created before installing, not after. The ...
user avatar
  • 26.5k
7 votes

Joomla 3.x extension development tutorial for a beginner developer

Previous answers are comprehensive about Joomla Core MVC. As an alternative MVC for Joomla, FOF https://www.akeebabackup.com/documentation/fof/introducing-fof.html#what-is-fof https://github.com/...
user avatar
  • 7,415
7 votes
Accepted

How can I make a site like StackExchange with Joomla?

Theres a whole Questions and Answers category in the JED including: JE Stack Exchange (free) JE Stack Exchange Pro (paid) Minitek Discussions Pro (paid) which seem to have the basic functionality of ...
user avatar
6 votes
Accepted

Modules and plugin in one package

An extension can either be a plugin or a module. It can't be both. That's due to the way modules and plugins are handled. However you can build the two extensions and package them together and ...
user avatar
  • 5,527
6 votes

Creating a different kind of frontpage

This can be done with most templates. There's usually setting that lets you turn OFF the component function, hiding the main body. At that point it's just a page filled with modules. But even if you ...
user avatar
  • 2,366
6 votes
Accepted

How to get Categories of custom extension or third party component

After doing some research, it turns out that the third party component I am using doesn't have a file created as ..\components\com_thirdparty\helpers\category.php which is required to implement a ...
user avatar
6 votes
Accepted

Component Download (from a live site)

Yes, it is possible with a component, but it will take a little longer as there are more directories and files. Create a folder on your desktop (e.g "gallery"), then copy the XML file from: ...
user avatar
  • 26.5k
6 votes

Installing an extension by having only the files and folders of it (no zip archive installation file)

If I understand right your question, you are after the Discover Feature in the Extensions Manager. First, make sure you have copied all the required files of an extension to their proper directories -...
user avatar
  • 19.5k
5 votes
Accepted

Jomsocial or Community Builder?

Community Builder My first touch with social extensions for Joomla was with Community Builder, some years ago, on my early steps into the Joomla world. At that time, I found it troublesome enough, as ...
user avatar
  • 19.5k
5 votes

Community of photographers: is Joomla the CMS to go for?

You are right, most of the CMS dedicated for organizing image galleries are portfolio type websites for a single user. Joomla on the other hand provides great power and flexibility to built what you ...
user avatar
  • 19.5k
5 votes
Accepted

How can I add 3rd party libraries to Joomla to have them generally available with my code

I can't comment if there is a conventional way, but my thinking is that it really makes sense to use the libraries folder for this purpose and I have seen others doing the same. Personally I have ...
user avatar
  • 19.5k
5 votes
Accepted

Building a component - database vendor neutral

Script file <!-- Runs on install/uninstall/update; New in 2.5 --> <scriptfile>script.php</scriptfile> In script file you can detect used driver: Joomla 2.5 $app = JFactory::...
user avatar
  • 3,208
5 votes
Accepted

Extensions in tar.gz format

According to this book .zip format is most commonly used format for joomla extension but Joomla supports both .zip and .tar.gz. However some web hosts don't support .tar.gz
user avatar
  • 2,388
5 votes
Accepted

Site Vulnerability Check

The best tool I am aware of that can scan your whole web account is the one from Phil Taylor at https://mysites.guru (formerly https://myjoomla.com). This is a paid service but you are not locked ...
user avatar
5 votes

Site Vulnerability Check

These are the tools I use JOOMLA EXTENSIONS Watchful.li: similar to myJoomla.com and also monthly https://watchful.li/ RSFirewall: Has the best scan for malware and files that do not belong in ...
user avatar
5 votes

How to reverse-engineer a 3rd party Joomla extension to clone it and to be able to make modifications to it?

Normally a template should deal with the layout and the presentational elements. Having said that, I have to say that I haven't seen any template (including quickstart packages) coming with ...
user avatar
  • 19.5k
5 votes

How to use Composer and Symfony in our Joomla extensions?

Joomla uses composer to add + maintain the added library files in /libraries/vendor/ Do not use Joomla's composer for your own composer libraries. That might update Joomla's composer libraries as well ...
user avatar
  • 1,478
4 votes
Accepted

Make module titles linkable

The easiest way to achieve this is to use the free RokCandy. Create a new macro with something like this: Macro: [a link="{link}" target="{target}"]{text}[/a] HTML: <a class="module-title-link" ...
user avatar
  • 13.3k
4 votes

Make module titles linkable

Take a look at something like RokCandy. Rocket Theme uses this in some of their demos to make module titles clickable. I think NoNumber Snippets could probably do the same job. Just create a "formula" ...
user avatar
  • 2,366
4 votes

Jomsocial or Community Builder?

I noticed that you're putting JomSocial and Community Builder on the table; have you considered EasySocial as an alternative solution? EasySocial, developed by the Stack Ideas team, is currently one ...
user avatar
4 votes
Accepted

Logging in user without getting password from them

As far as I am aware, no piece of this is deprecated, so this code should definitely continue to function correctly in 2.5 and 3.0 installs. Even if something gets deprecated, you should be able to ...
user avatar
4 votes
Accepted

Log-in redirect in Joomla 2.5

Try this, Create a User Plugin for handling user types and redirect accoording to your requirement. you can use onUserAfterLogin. Details can be found here. for redirecting just use. $app = ...
user avatar
  • 1,507
4 votes

How to restrict access to custom component views?

Here's the code you need to get started with showing you how to see what groups a user is in. $user = JFactory::getUser(); $groups = $user->groups; if($user->id) { echo $user->username.' ...
user avatar
  • 7,685

Only top scored, non community-wiki answers of a minimum length are eligible