Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

3
votes
0answers
50 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
53 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
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
37 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
121 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
31 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
0answers
89 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
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 ...
1
vote
0answers
168 views

0 Class 'JToolbarHelper' not found

I upgraded my Joomla website and I am getting the folloing error: I added following code: if(!class_exists('JToolbarHelper')) { require_once JPATH_ADMINISTRATOR . '/includes/toolbar.php'; } to ...
1
vote
0answers
29 views

Caching a page separately for users and guests?

I've written a custom component and I'm trying to improve its performance by including Joomla's caching. One view has additional detail which is only included for logged in users. I've been ...
1
vote
0answers
20 views

Joomla add article & extra field values from custom component

I have a custom component, from which I am taking my data & creating a new article with extra field values(from code). Below, is my code & attempt. JLoader::import('components.com_content....
1
vote
0answers
20 views

Manage Categories in Site part. Is possible?

I use the com_categories in my custom component based on the joomla Docs Adding Categories. But I need to manage the categories in the site part. I was wondering if there is an easy way to do it, or ...
1
vote
0answers
16 views

How to configure PHP basedir for Joomla running on IIS shared hosting

I have the following setup: IIS 10 with Plesk Onyx 17.8.11. Joomla 3.8.13/PHP 7.2.10. The website is hosted in shared hosting provider. After installing Gantry 5 I get the following warning on the ...
1
vote
0answers
15 views

J3.8 Module Manager Articles Category generating wrong links

The list of categories in Module Manager Arcticles Cateogries is generating wrong links. It's like the News section doesn't have subcategories. The Title is displayed, but all have the same main ...
1
vote
0answers
38 views

Can't run task when there is constructor

I am building a component which will act as a API for a front end and was curious about something. For example if I call the url http://example.com/index.php?option=com_helloworld&task=shout it ...
1
vote
0answers
162 views

jQuery is not a function in ajax function

I'm modifying the website (I got it the way it is right now, maybe even worse). I'm getting the "Uncaught TypeError: jQuery(...) is not a function" on the website, the error appears in ajax function, ...
1
vote
0answers
46 views

“Joomla is not defined” error when logged in - Pagination

Hi we have 2 different custom componenets running on a website (they aren't loaded together, just have the same issue) and they have pagination. We are finding that when clicking on the pagination an ...
1
vote
0answers
31 views

How to extend / override the JFile class?

I want to extend/override the JFile class without hacking Joomla files. How do I even begin to extend the class using best practices?
1
vote
0answers
35 views

Add Install from Web tab in the Extension manager gives console error

Add Install from Web tab in the Extension manager gives console error Uncaught TypeError: Cannot set property 'value' of undefined When clicking on "Add Install from Web tab" button getting a ...
1
vote
0answers
158 views

joomla make a ajax request for another php file

Excuse me for my English. I'm a newbie in joomla. I make a phone book component and i wanna add a Ajax pagination. I've got Jquery function load_data where i put a url to my php page. And this is ...
1
vote
0answers
98 views

How to upload an image using Ajax?

I need to upload an image to the server via AJAX, but the server comes back to the page with request, although server doesn't send anything. ajax: function uploadServer($el) { var fileUpload = $...
1
vote
0answers
29 views

Joomla BuildRule adds language code at the back of setPath

I'm having a problem with building the rule for a particular URL. Here's what I have in my system plugin: //... function onAfterInitialise() { require_once '/path/to/myhelper.php'; $router = $...
1
vote
0answers
44 views

Filter Articles by 2+ Options on Frontend

I am looking for an way to filter articles on the frontend. Therefore I want to enable the user to select two or more criteria on the frontend and matching articles will show up. In my case I need it ...
1
vote
0answers
151 views

Upgrading extension for Joomla 3 gives fatal php error

I have a Joomla extension which is built for Joomla 1.5. At the moment I'm upgrading the extension to work with Joomla 3.0 I updated old deprecated php functions in the new version of the extension. ...
1
vote
0answers
237 views

JModelAdmin - save() method. What's the purpose of $table->newTags?

Can someone explain me why in the save method of the AdminModel class, there is the creation of a new $newTags property on the $table? How this new property is used? How is it handled later on by the ...
1
vote
0answers
37 views

Joomla Calendar for versions >3.7

I'm trying to get a calendar form field to display without using XML. For previous versions, I called JHTML::_('behavior.calendar') and initialized it with Calendar.setup({args}) that would pass ...
1
vote
0answers
25 views

Seeking Joomla module to display selected articles and their fields

Seeking for a module similar to DisplayNews with advanced functionality. I need to modify the display template in such way that it shows specific Joomla Fields of the articles selected. Here is a ...
1
vote
0answers
18 views

JToolbarHelper contents disappearing when cache is enabled

I've setup my custom component using JToolbarHelper for navigation, following the standard set by base Joomla components. Each view contains some variation of the following: JToolbarHelper::title(...
1
vote
0answers
218 views

How to dynamically add extra input fields in k2 item form

Problem I'm currently working on a form which has to implement a way to create a schedule for a single day. It should use a time for when an event starts, and a description about the events. The ...
1
vote
0answers
118 views

Setting: Session lifetime and Cache time

Joomla 3.7.5 The default values of both are 15 minutes, which means I have to re-login very often. So I always change it to 60. But I have been aware since long time ago, that when they are set to 60,...
1
vote
0answers
104 views

How to change icon library (and picker) to custom library

If I wanted to change from font-awesome to a custom icon library, what would be the steps necessary. I will be using icomoon to generate the svg files and/or font - whichever is necessary. My goal ...
1
vote
0answers
475 views

How to get main parent category id from category/subcategory

I am getting one category id in code but it can be the id of either category or subcategory. And by the following code i am able to fetch the parent category chain. $Jcategories = JCategories::...
1
vote
0answers
85 views

URL Not Working When SEF is Disabled in Joomla 3.0 Custom Component

I am developing custom component for joomla 3.x. Our urls for non-sef views are not working url: index.php?option=com_mycomponent&view=myview2&id=mycustomeitemid The same url when sef is ...
1
vote
0answers
49 views

How to check if Joomla path is routable

Is there any way to see if a path will route to a component preferably without dispatching it? I can't use CURL or get_headers to see if the status is 200. In other frameworks you can tap into the ...
1
vote
0answers
325 views

Saving custom field parameter value from module settings

I know well how to create custom form field in joomla module settings as written in the accepted answer of this question which is basically extending JFormField class. Now what i want to do is ...
1
vote
0answers
232 views

Modal rendering issue

I am using the following code to render a Modal window in Joomla! 3.6.5, inside administration: echo '<a href="#modal-test-modal" role="button" class="btn btn-success" data-toggle="modal">...
1
vote
0answers
44 views

SEF turned on, stops the Country States dropdown in checkout Virtuemart 3.0

I have an issue with SEF, when turned on it stops the States dropdown in checkout Virtuemart 3 and Viostore Template. Trying to customise some SEO which recommends SEF as a one of the requirements. I ...
1
vote
0answers
55 views

how to use mod_rewrite in joomla backend

how i can change the displayed address administrator/index.php?option=com_content&view=article&layout=edit to administrator/content/article/edit by using htaccess file in joomla
1
vote
0answers
195 views

RSForms - Change the items of a radio group based on a selection of a drop down

I need to change the items of a radio group based on a drop-down selection in RSForm pro. Right now I'm using the Conditional Fields feature to show different radio group field and that caused too ...
1
vote
0answers
30 views

Empty SQL error

I am converting my database from postgres to mariadb and I have 3 errors in administrator: User -> levels User -> groups Extensions -> Modules From here: if (count($errors = $this->get('Errors'))...
1
vote
0answers
94 views

Joomla query for monthly result in a graph

I have this query below and it gives me the result attached as result.jpg, but I want to generate the report on a monthly basis. I have attached the expected result as monthly.jpg <td> <...
1
vote
0answers
184 views

Hide archived or expired articles in category view for editors/ publishers

In my joomla article blog view i can see the expired and archived articles when i login as a user with editor or publisher rights. When i edit the user rights and set the same user to author, the ...
1
vote
0answers
91 views

301 Redirect all K2 Items (or Joomla! articles) to the Parent Category

I have a Joomla! + K2 site that uses categories as main landing pages with articles filling in various sections of the page. Thus, I don't want articles to be seen or indexed by Google individually. ...
1
vote
0answers
125 views

How I can load a sys.ini language file

I need in an own system plugin some language values from a sys.ini language file. I could only found this way to load the normal .ini file: $language = JFactory::getLanguage(); $language->load('...
1
vote
0answers
438 views

Error 500 shown in frontend of site. Backend working ok

Oddly, this site http://mcveighparker.com/ isn't working correctly in the frontend - showing Error 500. The backend is working fine. I have checked the .htaccess and this appears to be ok. I have ...
1
vote
0answers
336 views

Using CodeMirror editor in custom component

I am trying to use CodeMirror as the editor for a field inside a component I am developing. I have specified the editor as codemirror in the form.xml file but I get a javascript error on the page: ...
1
vote
0answers
71 views

Problem setting up cloud server on Debian 8 for Joomla 3.6.2

I am trying to migrate joomla site from shared hosing to cloud server on Debian 8. I have installed Apache2, PHP5.6, MySQL and I have Akeeba backup from previous hosting. After unpacking files to ...
1
vote
0answers
50 views

How to implement nested submenus in the administrative sidebar?

I'm using JHtmlSidebar::addEntry() to build a menu in the sidebar. However, I need a better way to organize the menu items in there. I don't see a way to easily create a nested menu structure. I'm ...
1
vote
0answers
56 views

Show logged in Joomla users as custom dimension in Google Analytics

Currently I'm tracking pageviews on my joomla website with Google Tag Manager. But I want to analyze in Google Analytics how my registered users use my website and how guest use it. This can be done ...
1
vote
0answers
153 views

Joomla 3.5.1 - Ajax with PHP not send email

I'm having some problems with the action of an Ajax form. Here is the Javascript: <script type="text/javascript"> var $j = jQuery.noConflict(); $j(document).ready(function() { $j(...