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.

387 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
111 views

Install packages to "Administrator" location in Extension Manager

Is there a way that extension packages can be installed using the "administrator" client option or similar in a manifest file? I've made an installer package purely for the backend and I'd like it to ...
4
votes
0answers
91 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
2answers
263 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
140 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
299 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
74 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
61 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
317 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
0answers
55 views

Custom Component, display function is not called from specific view/controller

I have made a custom component, also with help from component-creator.com. But I am struggling with display methods. For example I want to check something in the display method, but when I try to add ...
2
votes
1answer
126 views

Disable script in head if path to script has a full url?

I found this code from this topic: Disable script loading in head $doc = JFactory::getDocument(); $dontInclude = array( '/media/jui/js/jquery.js', ); foreach($doc->_scripts as $key => $script){ ...
2
votes
1answer
55 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
0answers
196 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
27 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
39 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
1answer
109 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....
2
votes
0answers
45 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
91 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
55 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
2answers
241 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
196 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
86 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
80 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
384 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
41 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
117 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
282 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
345 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
66 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
288 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
268 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
91 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
112 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
96 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
809 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
1answer
973 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
45 views

In standard Joomla 3 how to decide the length and perhps parts of a text of an article in Archive listing

I am a beginner and should like to have certain length of archived articles to appear in search result. Currently ~ 110 characters appear at the user screen. I looked over the different menus in this ...
1
vote
0answers
28 views

Use a placeholder in the Joomla Article title

I'm using Joomla 3.9 and had someone previously code in the ability to use the Joomla article title as the <title> tags ( browser title ) This works well using a current placeholder, for example ...
1
vote
0answers
50 views

Use language override to create custom title tags for URL's

I have this piece of code that already runs on the pages I need this done. (The entire Joomla 3.9 site is a Frankenstein of custom code, components, etc. ) $placeholder_country = JText::_('...
1
vote
0answers
22 views

Is SweetAlert2 html parameter length limited in size?

I recently created a plugin for Joomla which uses the nice SweetAlert2 popup script and it generally works fine. However, surprisingly, when the size of the html message I use is too long, the box ...
1
vote
2answers
33 views

How to add specific js and css to a particular page in joomla?

I have added the html code using sp page builder extension also need to add css and js to this particular page in joomla 3. i am using t3 blank template is there any procedure to add this or any ...
1
vote
1answer
88 views

GROUP BY and ORDER BY from different tables of CB extension as outcome to a list

I am trying to figure out how to implement this. Table1 with subscriptions AS sub id, status, user_id, plan_id, parent_plan, parent_subscription Table5 users (Joomla) AS u id Table6 fields AS ue ...
1
vote
0answers
36 views

Migrating from Joomla 3 to Joomla 4 router alias problem

In my old router.php file at function COMPOENTParseRoute($segments), I get "404 Page not found". The error is caused by line 153 of /libraries/src/Router/Router.php. If I create the new ...
1
vote
0answers
15 views

"404 Component not found" when trying to set an image for a category

I'm experiencing a really weird error in the backend of my site - Whenever I try to set an image for a category or article, the modal that pops up just shows me the Joomla dashboard. When I'm editing ...
1
vote
0answers
16 views

CB Conditional field not letting me add extra AND rows

I am trying to create a CB Conditional Field Show using an AND row, and it just won't let me. I can add OR rows to my heart's content, but not an AND row. I click on the 'Add AND rows' and not a ...
1
vote
1answer
31 views

how to override mvc component in joomla 3?

How to override the any component controller model files using plugin in joomla is there any documentation for that?. I found documentation very old in joomla articles. i have been trying to create a ...
1
vote
1answer
31 views

When a user logs in it always goes to edit-your-profile page

Joomla version: Joomla! 3.10.1 Stable PHP: 7.4 This joomla website doesn't have many plugins. I only have OneSocial plugin. Anyways, I am willing to try any suggestions at this point, I have tried to ...
1
vote
0answers
30 views

Add avatar field to user component

Joomla 3.9.28 PHP 7.4.21 I added a field to the "Users" component to let the users have an avatar photo. This field is set to "Media" type. However, in the Administration of the ...

1
2 3 4 5
8