Questions tagged [joomla-3.x]

For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.8.

Filter by
Sorted by
Tagged with
10
votes
4answers
2k views

How to develop a Joomla module?

I've looked far and wide for a tutorial on this, but can't seem to find anything satisfactory. How do you make a new module for joomla? Right now I'm using custom HTML modules all over my code, and ...
10
votes
2answers
2k views

Joomla browser detection

Can we create a thorough question/answers post with the core methods that allow browser detection in Joomla 2.5 and 3 ? After a quick research in the web, I feel that there is not sufficient ...
7
votes
2answers
105 views

Options for backups, restoring, and staging?

What are some options for Backing Up & Restoring Joomla! instances? Preferably ones suitable for staging.
3
votes
1answer
1k views

GeSHi shows no syntax colors with Joomla 3.3

I have been using the GeSHi plugin for syntax highlighting on my Joomla 3 installation for few weeks. The highlighting has been working fine. But ever since I upgraded to Joomla 3.3 the highlighting ...
5
votes
2answers
2k views

Can Joomla send the user an email when admin approves them?

I have a request from a client that the joomla 3.2 is sending email to the admin to approve and to the user that they must wait to be approved, but they would like to have email also sent to the user ...
2
votes
2answers
400 views

Is there a guide to updating a 2.5 extension to 3.x?

I've searched around a bit but didn't find a guide yet. Something with a checklist would be great.
1
vote
1answer
352 views

Adding all form parameters in a custom item of the component

I prepared a component and i have to add different categories and custom items with lots of fields in my component.But What i want is to display all the joomla's fields for adding a new item in my new ...
2
votes
1answer
303 views

Display of contact information when searching by tags using smart search

I want smart search to go directly to page when the query have ONE result. I have a list of contacts, all assigned a number of area codes. What I've done so far is: - Enabled smart search - ...
10
votes
2answers
660 views

How to add com_content extra fields to Smart Search Index

Where I can find any tutorial or instructions to build a plugin which handles "onPrepareFinderContent" ? I've added some extra fields to com_content articles and I would like them to be indexed by ...
3
votes
1answer
168 views

Issue with joomgallery appended to menu item alias

I have a Joomla 3.2.3 site and it has started making very strange alias on menu items. This just started to happen in the last few days, before it was creating the menu item alias/urls as expected. ...
5
votes
2answers
4k views

How to do SQL exception / error handling compatible with 2.5 and 3.x?

I was trying to develop Joomla 2.5 and 3 component. As many things deprecated between these two versions and the way to throw and catch database and other errors, I could not find ways yet to make ...
10
votes
6answers
9k views

Show/hide module title not working

I'm trying to hide the title of a module. I have changed the admin setting but the title is still displayed in the front end. In the database, the showtitle field is set to 0.
11
votes
2answers
8k views

Catching exception/error in database transaction

I am using the following way in joomla 2.5 and 3 to execute database query - $database = JFactory::getDBO(); $database->setQuery $database->execute(); but how do I catch errors/exceptions if ...
6
votes
2answers
461 views

Possible to make slug generation turn “&” to “and” for url? as extension/plugin/patch?

I have a lot of clients who like to write "&" in their titles but the slug auto generation removes the "& " which can give the url a totally different meaning and so we must hand check them. ...
7
votes
1answer
336 views

Understanding mvc way of component coding for both joomla 2.5 and 3 version

I made a component in joomla 2.5 in mvc way which was not working in joomla 3, later found out it's because in joomla 3 previous mvc classes not working so is controller, view, model classes must be ...
8
votes
3answers
455 views

Is there a way to promote articles between environments?

Is there an easy way to move articles between Joomla installations? For example in a development/staging/production environment, I have the same 20 articles in each. If I make a change to all 20 ...
10
votes
2answers
4k views

Adding joomla's default toolbar in a component view page

I am developing a mvc component for both joomla 2.5 and 3.In many components i saw they added joomla's default command buttons like new, edit, publish, trash, options at top of their settings page in ...
8
votes
7answers
10k views

What to do when installation stuck on creating tables?

Upon installation of Joomla the process stops while creating tables. Some tables were created, but not all of them. So far this only happens with MySQL with Joomla 3.x. What should I do?
13
votes
2answers
2k views

How can I programmatically get the Joomla database prefix using php?

I sometimes access the Joomla DB via external scripts. The problem I have is that if I ever need to change the prefix, I'll need to edit my scripts again too. Is there a way to programmatically ...
2
votes
3answers
278 views

Correct manner of using View- and Model-Abstracts in Joomla 3+

There are a lot of API changes in Joomla between 2.x and 3.x versions. In development of Joomla 3-components I still use the legacy class abstracts: jimport('joomla.application.component.view'); ...
14
votes
4answers
5k views

How to manage multiple Joomla sites and their updates

I have a number of Joomla 3.x sites, which I want to manage centrally, however they are all for different clients, so I cannot share any information between them. What I want to achieve is to ...
7
votes
3answers
3k views

What's the proper way to authenticate a user?

A couple years back I wrote a small and very incomplete component that authenticated users coming from outside of Joomla! i.e. a mobile application. Is there a proper or preferred way of handing this?...
3
votes
2answers
631 views

No HTTP response code found error

Error: No HTTP response code found. I am migrating a component from Joomla 2.5 to Joomla 3. After migrating my component when I tried to install using install from directory I got this error. Any ...
12
votes
3answers
3k views

Best method to check if a component is installed/enabled?

Between joomla 2.5 and 3.x what is the best way to check if another component is installed and/or enabled? There exist a helper class called JComponentHelper but I believe the isEnabled function will ...
8
votes
6answers
885 views

How to update everything to Twitter Bootstrap 3?

I made a template which used Twitter Bootstrap 3, and the front end worked ok, until I had the edit views in the front end, which depend greatly in Twitter Bootstrap 2 due to the way Joomla has been ...
4
votes
2answers
1k views

Still required to turn Remember me off when migrating from 2.5 to 3.x?

With 3.3 and 3.2.4 is it still required to turn the plugin Remember me off? What is the technical reason?
14
votes
9answers
6k views

How can a module be disabled based on device or viewport size in Joomla 3 to optimize performance for mobile devices?

I'm a proponent of Responsive Web Design in conjunction with Adaptive Web Design (i.e. - one design that adjusts display for all devices and provides content based on view port size) as opposed to ...
16
votes
6answers
6k views

Change Super User account password

I have forgotten my super admin password. How can I reset the super admin account password? I have access to both FTP and phpMyadmin how can I change the Super User account password? My table ...
40
votes
6answers
30k views

What is the proper way to make an AJAX call in component?

I am developing a custom component for Joomla! 3.x and want to make an AJAX call inside it to retrieve some data. What is the proper way to do it?
1
vote
2answers
2k views

Content Encoding Error when try to add an Article

I have been doing some speed optimization tests and changes to improve a joomla 3 site and now the site and admin works fine until I try and add a new article and the page will not load I just get a ...
12
votes
6answers
1k views

Joomla Component Tool or Scaffold?

I have created a couple of plugins for Joomla 3.2 and have recently started on a component to manage apartment rentals. I was wondering if there is a framework out there that had the basic file/folder ...
11
votes
3answers
1k views

Custom canonical urls using sh404SEF

Currently my site is using the sh404SEF plugin (Joomla 3.2) to add canonical urls to every page. This is working, however on the index page its outputting: www.example.com/?view=home instead of ...