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.
391
questions with no upvoted or accepted answers
5
votes
1
answer
114
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
0
answers
100
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
2
answers
312
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
0
answers
153
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
1
answer
318
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
0
answers
75
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
0
answers
63
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
1
answer
325
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
0
answers
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
0
answers
27
views
MySQL Server has gone away with mysqli_connect to another LAMP Stack / TURNKEY Linux
I am trying to connect to another VM (192.168.16.27) from 192.168.16.28 to get Data out of the MariaDB Database (joomla).
So my Code is:
$link = mysqli_connect("192.168.16.27", "user&...
2
votes
0
answers
58
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
1
answer
142
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
1
answer
67
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
0
answers
277
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
0
answers
29
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
1
answer
51
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
0
answers
50
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
1
answer
108
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
0
answers
80
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
2
answers
282
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
1
answer
227
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
0
answers
19
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
0
answers
130
views
Homepage of multilingual site not working anymore after removing index.php (404); all other sites working
So I removed the "index.php" - part from the URL in Joomla in the following way:
Change the htaccess.txt - file name to .htaccess via FTP
Set the URL-rewrite Option in the Joomla Configuration ...
2
votes
0
answers
87
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
1
answer
83
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
0
answers
417
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
1
answer
42
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
0
answers
119
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
0
answers
290
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
0
answers
374
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
2
answers
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
1
answer
296
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
1
answer
273
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
1
answer
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
0
answers
113
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
0
answers
98
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
1
answer
822
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
0
answers
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
1
answer
977
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
0
answers
14
views
Pre-filter set without any effect in List Fabrik Joomla
I have a List "Document Manager" defined in Fabrik module in Joomla and I want to pre-filter the documents from the list, in order to show only the documents belonging to the currently ...
1
vote
1
answer
29
views
admin edit.php saves but doesn't retrieve data from "params" database field
I have a config.xml with some parameters for my component.
I need to define these parameters for each individual item.
So in admin/models/forms/myview.xml, I've written my fields:
<fields name=&...
1
vote
0
answers
48
views
Help: Joomla routing and pass-through redirects
I have a little project integrating a 3rd party application, which seems pretty easy and straight forward for the most part.
However, it requires some internal Routing to be set in place, in order to ...
1
vote
0
answers
29
views
Adsense Ads Not Loading on Joomla Logged In Pages
I run a website which has Adsense ads served on all pages (in the footer for example) and these ads load absolutely fine on all pages of my website. I'm currently building a tool/feature for users and ...
1
vote
0
answers
14
views
Removing the Category ID from article Url
Joomla 3.7(?) to 3.10.5 Legacy router issue fix
So, our site articles' urls needed the category id to be removed (only, not the article id, as removing both causes a 404).
Here is the solution that ...
1
vote
1
answer
21
views
Change first item in Breadcrumb to custom static link
I've got this bit of code that works well for my Joomla setup
However, due to the way my main menu is set up, the first item in every page we have breadcrumbs enabled is always "Products" ...
1
vote
0
answers
44
views
render Subform repeatable custom fields joomla4
I have created one subform custom fields in my Joomla 4 article from backend and selected media filed at subform
and use this code for load custom fields at joomla article
YOUR_JOOMLA_WEBSITE_ROOT/...
1
vote
1
answer
36
views
Simple Joomla plugin not working on frontend
I have a simple Joomla 3 plugin that works fine on backend for resizing images when uploading from multimedia manager:
<?php
defined('_JEXEC') or die('Restricted access');
class ...
1
vote
0
answers
14
views
Upload volume changes do not apply to php.ini
Hi I have a centos 7 server and a cwp 7 panel. I have the latest version of Joomla and WordPress installed on them. The size of uploaded files in Joomla is 2 MB. I increased the upload_max_filesize ...
1
vote
0
answers
47
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
0
answers
39
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 ...