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
2
votes
1answer
58 views

The URL loaded two times on every page

Joomla: 3.3.0 The problem occurs on every page. creact.com is loaded on every page and the real link too. The htaccess file is modified with these lines: ### START WILDCARD ################## ...
1
vote
2answers
75 views

Regex in Akeeba Backup exclude all hidden files

I am struggling to find a regex for Akeeba Backup (3.11.0), that will exclude specific hidden files that start with ._ (dot underscore) in all directories of the website. Have anyone ever done this? ...
10
votes
3answers
1k views

Prevent error message from showing SQL

In my table I have created an index on 'col1' to prevent duplicate entries which works well but the resulting error message displayed to a user when they attempt to add a duplicate entry seems to to ...
7
votes
2answers
4k views

Get full link from menu item field type

I am developing my own slideshow component and module for Joomla. The component is used to select the slides along with captions and links etc. The module shows the slides. In the component, for each ...
7
votes
4answers
6k views

How to migrate articles from Joomla 1.5 to 3.x?

I am trying to migrate some articles. On my host I get 403 errors for J2XML export so I thought I would set it up on a localhost. The front end looks fine unless you try to login. Fortunately I get ...
5
votes
2answers
3k views

How to show and save a form from module like we do in components?

I do display and save forms in Joomla MVC components using jmodeladmin classes. But how can I do same thing from a module? As modules don't do things in the MVC way that automatically can find the ...
2
votes
1answer
1k views

Smart search indexer hangs

I want to use smart search. But my indexer won't finish indexing. I’ve enabled the smart search plugin. Made a custom smart search plugin. When I hit the index button, joomla starts indexing VERY slow ...
3
votes
4answers
875 views

How to retrieve unique values before a parenthesis in JFormFieldList Filter query?

I have a JHtml custom filter populated by a JFormField extended class. It is added in the view with the following code: JHtmlSidebar::addFilter( '- Select Height -', 'filter_height', ...
3
votes
2answers
675 views

Proper way to use MySQL fulltext search on a keyword string?

I have a keyword string on which I want to do full text searching. The current search query in the model is as follows: $jinput = JFactory::getApplication()->input; $keyword = $jinput->...
8
votes
3answers
4k views

What's the proper way of setting a persistent cookie in Joomla 3.x

I would like to set a "destination" cookie for all users on my site, to serve tailored content. The cookie needs to persist across login/logout so it appears I cannot use jSession, which is cleared on ...
3
votes
2answers
335 views

User registration error : Two different values for password in database?

I tried to register a new user from Joomla frontend, registration was successful plus activation via email was also successful, now when i try to login using the new credentials, i get a error " ...
7
votes
2answers
1k views

How to use Smart Search in a multilingual environment?

This may be due to a bug or (more likely) to my inability to configure the Smart Search component, but... this is what's happening: I have a multilingual site: primary "English", secondary "Italian." ...
10
votes
1answer
312 views

Bot registrations even with Allow User Registration set to No

In the User Manager options (joomla 3.2) I have the "Allow User Registration" set to "No", yet I am still getting registrations from bots. Does anyone have any information about how this can happen ...
2
votes
2answers
4k views

Calling model from view error: Fatal error: Call to undefined function

I am just starting with Joomla component development and MVC in general. Im also not incredibly strong in PHP but I am trying to build a component that gets json and displays it as a jQuery accordion ...
9
votes
2answers
2k views

Pagination of lists at backend – how to add custom list size?

How can I add custom value to Site Settings > Default List Limit in Joomla 3.X? I can see dropdown menu with values 5, 10, 15, 20, 25, 30, 50, 100 there. I would like to add item 500. Can be the ...
10
votes
1answer
391 views

Adding Tags Functionality To Existing Component

I'm looking to get tags working inside of an extension. I saw this and have gotten the field to appear in the edit view, but of course it doesn't save anywhere. Looking at com_content article tag ...
3
votes
2answers
2k views

Error: 404 Category not found error with custom PHP script

For some time now I have been working with Joomla, and now I am working with a version 3.1.5. I often make my own PHP scripts to use for AJAX callbacks and other things. I put them in a folder ...
10
votes
5answers
7k views

How to remove the 'index.php' from URL's?

I was wondering if it is possible to remove the 'index.php' that is shown in every URL.
5
votes
3answers
5k views

Migrating component from 2.5 to 3.3

This documentation: Adapting a Joomla 1.5 extension to Joomla 2.5 http://docs.joomla.org/Adapting_a_Joomla_1.5_extension_to_Joomla_1.6#Renamed_events Really helped me when I migrated my component to ...
11
votes
1answer
10k views

Can I use PostgreSQL with Joomla 3.3

Can I use PostgreSQL with Joomla a 3.3 production site (not for testing) and if so is there anything I should be aware of? I would appreciate some feedback from someone who has actual installed and ...
3
votes
2answers
518 views

How to query and display a list of nested tags for a particular parent on front end as links?

What is the best way of querying the db to generate a list of tags matching a particular parent and display on the front end as a link with tag title and id? This is for a custom joomla mvc ...
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
108 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
3k 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
401 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
356 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
310 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
722 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
170 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
10k 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
9k 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
473 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
340 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
483 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
282 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
658 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
945 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
2k 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
7k 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
32k 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?