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.

366 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
78 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
493 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
212 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
0answers
97 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
255 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
71 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
58 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
0answers
49 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) ...
3
votes
1answer
306 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
1answer
40 views

Joomla Tagged Blog of articles

I managed to create a 2 column blog view of articles on a Joomla 3.9 website using the guidance in this post, along with some additional linked advice on adding a "readmore": How to show ...
2
votes
2answers
49 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
52 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
20 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
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
38 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
79 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
135 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
73 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
308 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
2answers
486 views

How to get Custom Fields related to Joomla Content?

I want to know how they get the values of custom user fields within Joomla articles. This is to contribute ideas and ways to solve it.
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
103 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
261 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
286 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
2answers
53 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
272 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
85 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
800 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
165 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
953 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
0answers
17 views

How to populate custom field dropdown with values from DB

I trying to create a new custom field, which will have a select field with menu items from certain menu type, I got stuck at populating this select field with values from database. You can see the ...
1
vote
1answer
30 views

Error Unable to detect manifest file. for JED - related to Folder permission

Hello there On Joomla 3.9.26 stable i clicked on the blue Button up in the Image and then the red button above appeared. I googled the error-message. I found something for joomla 1. and 2. but that ...
1
vote
1answer
30 views

How to add GET parameter to CSS filename in plugin JCH Optimize (Joomla)

I cannot find an answer to for several weeks. Perhaps my experience in development is not so great :) One site uses the JCH Optimize plugin and I noticed that after clearing the old memory (cache), ...
1
vote
1answer
39 views

Email confirmation after joomla password R e s e t

In order to comply with certain US regulations - we need the ability to send a confirmation to the user once their password has been changed. Right now, Joomla will send an email link asking the user ...
1
vote
0answers
16 views

Rendering custom field manually when edit article in front end

When editing an article in Joomla frontend all the custom fields are rendered with the following code: <?php echo JLayoutHelper::render('joomla.edit.params', $this); ?> Isn't it possible to ...
1
vote
1answer
26 views

How to use Joomla's query building methods to generate a query containing joined subqueries?

I am trying to write a query using Joomla's query building methods, but I cannot manage to write the subquery into the query. Here is my desired raw sql with php variables: "SELECT track_type, ...
1
vote
2answers
47 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
28 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
39 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
43 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
39 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
20 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
2 3 4 5
8