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.

355 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
71 views

How can I clear the cache for the params of a custom component?

I am working on a custom component and it works as intended as long as I do not have cache enabled. In the admin section of the component, I have a view that can change the "component params": $...
4
votes
1answer
490 views

How to customize user registration in Joomla 3.7?

Now that Joomla 3.7 supports custom fields, can anyone point me to documentation or a YouTube video that outlines how to customize user registration? I assume that additional work is also required to ...
4
votes
2answers
202 views

404 Error when site is opened to general public but works fine when logged in

We started getting a 404 error on a new site using Joomla 3.5. It is not open to the public yet. When testing it we just found that when we do open the site to the public it gives us a 404 error. ...
3
votes
1answer
35 views

Compress & Optimise Existing Images

Joomla 3.9.21 I am working on a site that is very image heavy, most images are within the EasyBlog component and amount to approximately 8GB, the original administrators didn't optimise the images for ...
3
votes
0answers
80 views

Document Manager Recommendations

I'm looking for some recommendations for a document manager that's compatible with Joomla 3+. Seems to be a pretty popular question throughout the Joomla community. In the past I've always used Phoca ...
3
votes
1answer
239 views

Joomla keeps wrapping content with user-visible p tags

I have observed the same behavior when installing Joomla from multiple so called Quick Start Packages embedding themes and plugins. Right now, I have installed, Basic Joomla running on a production ...
3
votes
0answers
70 views

Joomla 3 versioning approval

I was wondering if anyone knew of any kind of extension which will allow a manager to edit / update the content (articles) in the backend - but only a Super User can approve the changes prior to it ...
3
votes
0answers
57 views

How can I provide language specific access to Multi-lingual Associations?

I'm trying to get away from the deprecated Josetta translation component, which has always served us well, but is choking on php 7. I like what I see in 3.7 with the ability to perform side-by-side ...
3
votes
1answer
367 views

Virtuemart AJAX Cart pop up error over https

I'm working on an extremely outdated shop template, trying to keep everything else up to date for a client. The client has set up cloudflare to be used as SSL which is pretty much all sorted, however ...
3
votes
1answer
292 views

Language changing only after page refresh

I have multilingual (fa/en) Joomla 3.6.2 site using Protostar template. The problem is when I click on the fa - (persian flag) or UK flag, the lang and dir tag does not change, but when I hit the ...
3
votes
0answers
1k views

RSS Feed for K2 Latest Items

I have created a menu item "Latest items from (one or more) users or categories" using K2. I have set it to display the latest 1 item from selected users. I want to create an RSS feed from this page -...
2
votes
2answers
45 views

Reroute all emails to developer / debug address

I am trying to intercept outgoing emails from joomla and reroute them to my email address for development and testing. Ideally I could set up a toggle under Global Configuration > Server > Email ...
2
votes
0answers
21 views

JHtml::_('bootstrap.renderModal',,,); Joomla Bootstrap List of all parameters that can be used?

First I want to thank @Lodder and @Irfan for the below code which helped out a lot. The code below will create a button that launches a native Joomla Bootstrap modal. $modalTitle = 'myModal'; $...
2
votes
0answers
19 views

Getting no login prompts when trying to access private content, getting “Page not found” instead

I have private content on the site, and I want "non-registered" users to be redirected to the login page when they try to access the private content, without using any extensions. I have ...
2
votes
1answer
91 views

Making /joomla subdirectory the website root AND forcing HTTPS

Setting up a Joomla site on Apache 2.4 on a Synology Disk Station. Joomla is unavoidably installed in a subdirectory of the web root (/web/joomla) and unfortunately do not have access to the Apache ...
2
votes
1answer
32 views

Joomla - Page Builder - With Publish Workflow

We have recently built a site on Joomla and have used the SP Page Builder. But unfortunately, the SP Page Builder does not have the Workflow / User Access mechanism where one set of users create the ...
2
votes
0answers
37 views

Joomla Site Replication & Automation

Joomla 3.9.20 What's the best way to automate a daily backup of a Joomla website (files, folders & db) to a development site on the same domain? For example, I have example.com and each night I ...
2
votes
1answer
76 views

Change user permissions programmatically on the fly

I have in the code I don't conrol such a line which returns false: if (!$user->authorise('core.create', 'com_jdownloads.category.'.$option->value)) { I can run my code before and after this ...
2
votes
0answers
36 views

How to get an AJAX call in component's administrator side

I added a component to my site and it accesses my DB via an AJAX call. In my 'tmpl' folder, I have a 'default.php' file which makes an AJAX call that is received by view.json.php just outside that ...
2
votes
1answer
118 views

Get menu-meta_description from menu item

I need to add meta description inside a component page. That's what I tried: $menu = $app->getMenu(); // Load the JMenuSite Object $active = $menu->getActive(); // Load the Active Menu ...
2
votes
0answers
18 views

Deleting obsolete menu types

While programming a Joomla extension, I experimented with Menu Types, however while editing/deleting/adding types in the default.xml it doesn't delete the previous ones. So while I only have 1 menu ...
2
votes
0answers
85 views

Can I interrupt installation process with preflight function?

I'm trying to add a note to user when trying to install an extension / module. Basically I want to add note before user continuing the module installation process when an older version found, and ...
2
votes
1answer
72 views

Adding articles to a local copy, then pushing them to the live version

We have a client who was getting errors when trying to add a lot of articles (like a dozen) to their live site in a short time span, but we found that after moving their site to a localhost they did ...
2
votes
0answers
287 views

fetch article custom fields in Layouts

I have created some custom fields in my Joomla article from backend templates/name-template/html/com_content/article/default.php and use this code for load custom fields at joomla article <?php ...
2
votes
1answer
36 views

K2 SEF issues including Joomla Smart Search

I am having an issue with smart search and k2. If I search for a Joomla article then everything pulls the correct SEF URL. If I try to search for something that is a k2 item it loads correctly but ...
2
votes
0answers
98 views

Why calling addIncludePath from self has different results than from JModelLegacy

I'm trying to get an instance of a com_menus model from within my component. The following code works: JModelLegacy::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_menus/models/'); $model = ...
2
votes
0answers
251 views

Installing Joomla Quickstart package on AWS Lightsail/Bitnami?

I am trying to install a quickstart package on Lightsail/Bitnami. But whatever I do I cannot seem to get it working. My latest attempt was to install the QS on another server while installing just ...
2
votes
0answers
274 views

Ways to analyse TTFB for a Joomla site

My site's ttfb is very high. www.farafan-market.ir I used to use JCH-optimize plugin to enhance the page load. Then when I enabled Joomla's system-cache plugin, TTFB reduced to less than 1 second. ...
2
votes
0answers
47 views

Custom Component with ACL not apearing in admin menu

I have been asked to help maintain a custom component that has already been installed on a server, but had no ACL. I followed the sample tutorial in adding both XML files (Access.xml and config.xml) ...
2
votes
2answers
52 views

How to manage navigation links in multi-language website?

I have some trouble to understand how the navigation links between different language versions work in Joomla! 3.6 So I just got a website to manage - http://www.pontech.co.uk/en/ When you choose ...
2
votes
1answer
267 views

Add “show all” button to BT Content Slider module

I am using Joomla 3.X. I have a module which displays three news and events at a time to see next set of news and events user has to press the next button. The name of the module is "BT Content Slider"...
2
votes
1answer
259 views

Create record from modal edit form

Is there a standard Joomla mechanism / development pattern for creating a modal edit form to create an item from within another item? I've used this tutorial to create a modal list view, where you ...
2
votes
1answer
83 views

Ask for confirmation before extension update via update server

We are implementing an update server feature for our custom Joomla extension. Is it possible to add confirmation text after selecting the extension and require the click of the update button before ...
2
votes
0answers
111 views

Why isn't JTableUsergroup implemented as nested set inheriting JTableNested?

Joomla uses Nested Sets to represent the category structure JTableCategory and the menu structure JTableMenu. Therefore these classes inherit the JTableNested class: JTableCategory extends ...
2
votes
0answers
93 views

Remember language with no content-languages site

Hello I'm developing a website that has not content languages, it would be some kind of joomla administrator, only language strings are loaded (no contents needed for this website). I want that Joomla ...
2
votes
1answer
795 views

Problem with SEF URL For K2 Users/Authors

I'm having trouble setting up proper SEF URL's for the users / authors on a site I'm working on. I have "Enable advanced SEF for K2 URLs" on, and everything works fine as long I can associate a menu ...
2
votes
0answers
1k views

getUserStateFromRequest variable become empty if name starts with '.filter.'

In my view.html.php I set UserState Variables. One of this variables is set like this: $app->setUserState('com_mycomponent.modelname'.'.filter.status', 1); When I try to get the variable in the ...
2
votes
2answers
135 views

Edit Contacts on Front End

Joomla 3.9.14 Is it possible to edit a list of contacts from the front end? I need to display a list of contacts from a certain category, and allow administrators to edit their details. Currently ...
2
votes
1answer
947 views

Override blog layout to display articles under subcategory headings

What I'm trying to do is create a category blog layout that will display the title of a category, followed by subcategories with the articles of those subcategories (full article, not just it's title) ...
1
vote
2answers
41 views

How to count aggregate data from RSForm submission values with Joomla's query building methods?

user SubmissionId FormId FieldName FieldValue bob 2 16 state mystate1 bob 2 16 qda myqad1 bob 2 16 city mycity1 rob 3 16 state mystate2 rob 3 16 qda myqad1 rob 3 16 city mycity1 jac 4 16 state ...
1
vote
0answers
23 views

Add an Image to K2 article pragmatically

I want to add an image to a K2 article using PHP. Is there a way to add an image when I am creating the article using PHP? Adding the title, body, and category is simple enough. All you have to do is ...
1
vote
0answers
37 views

Display modules only in articles (not in the article list) and only in articles with a specific tag

I'm using the J2STORE component on Joomla 3.9.22. I would need to publish a module in a Blog category but only in the articles (not in the list), in this case the articles are products of j2store. ...
1
vote
0answers
42 views

Using Tags in an Extension

So far I made the follow changes looking for add tags functionality to my extension: Register a Content type Add Observer methods to the extension table class class TagimagesTableTagimages extends ...
1
vote
0answers
37 views

Unable to change 'Joomla Update' options for upgrading Joomla 2.5 to 3.x

I am trying to upgrade Joomla 2.5.28 to Joomla 3.x using the steps described here: https://docs.joomla.org/Joomla_2.5_to_3.x_Step_by_Step_Migration I backed up the original website using Akeeba and ...
1
vote
0answers
19 views

Joomla multilingual site HTML tag attributes don't change after install k2 component 2.10.3

I found a problem in the "System - K2" plugin in version 2.10.3. When the "System - K2" plugin is enabled, if the site is multilingual, the language attributes ("lang" ...
1
vote
0answers
38 views

How to avoid downcasing of search words?

Relevance of case information differs from language to language. In English, it might be low, but consider cases like "who" vs "WHO" and "us" vs "US". In German,...
1
vote
0answers
12 views

Joomla mkdir() error

I have a problem with the Virtuemart Color Swatch plugin for Joomla 3. When I add thumbnails to the product, in the admin panel, I get this error: Warning: mkdir(): No such file or directory in /var/...
1
vote
0answers
37 views

List.direction and list.ordering not set properly after changing filter sorting

I am creating a small backend component using the helloworld example. So far so good. It is working fine except when I change the ordering using the listbox: Nothing happens to list.ordering and list....
1
vote
1answer
48 views

How to add default values to Joomla subform fields?

CMS Joomla has a standard subform field type. How to fill in the default values in it? Field code in XML: <field name="field-name" type="subform" formsource="exampleform....
1
vote
0answers
85 views

Joomla not logging PHP errors to file with system default error_reporting

I'm using Joomla 3.9 with APACHE + PHP 7.0 with these settings php_flag[display_errors] = On php_flag[display_startup_errors] = On php_value[error_reporting] = E_ALL & ~E_DEPRECATED & ~...

1
2 3 4 5
8