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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
98 views

JRoute does not show the URL it is supposed to

I have the following problem: I set a URL with JRoute like this: JRoute::_('index.php?option=com_gallery&view=gallery'); This gives me example.site/gallery, which is correct, however, if I ...
1 vote
1 answer
18 views

How to know the Joomla article ID for customization

I have a demo installation of J 3.10.9 with protostar template (https://joomla4.extrowebsite.com/). The menu item "Home" -> blog category - has N articles. The article "Welcome to ...
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 ...
0 votes
1 answer
2k views

How to change the default page in the Language Switcher?

I am creating a multi-language page in Joomla with 5 different languages. Everything is ok except for the language switcher. My home page is set for English, when I try to change the language from ...
1 vote
3 answers
343 views

How to iterate over the "params" of an item ZOO Joomla?

The item of my interest is in the __zoo_item table. My query: $query ->select($db->quoteName(array('params'))) ->from($db->quoteName('#__zoo_item')); $db->setQuery($query); $...
0 votes
2 answers
588 views

How to remove category from URL?

I have a little problem - I want to remove categories and submenus from URL in Joomla 3.9.3. Of course, I did basic things like removing ID from URLs, but removing category is like a milestone for me. ...
0 votes
0 answers
26 views

How to check in my plugin whether the user has bought a product in the j2store or not

I am going to write a plugin for J2store to check if the current user has purchased the product successfully or not. I do not know how to use the J2store API to check if the user has purchased the ...
1 vote
1 answer
122 views

Contact Form Non Unique id #jform_id

Joomla 3.9.14 When I open a contact to edit their details and look in the browser console I can see the following notice; [DOM] Found 2 elements with non-unique id #jform_id: (More info: https://...
1 vote
2 answers
201 views

Joomla plugin - replace placeholders with dynamic content in article text

Based on the this tutorial https://docs.joomla.org/J3.x:Creating_a_content_plugin, I managed to write my first content plugin with this helper.php code: $regex_cat = '/{reillorama:(.*?)}/i'; ...
0 votes
3 answers
431 views

Joomla 3 call model function inside controller

I want to call a function from model inside controller my model : httpdocs/components/com_storemanager/models/searchmanager.php <?php /** * @version CVS: 1.0.2 * @package ...
0 votes
0 answers
25 views

Joomla all versions not worked 404 pages on Litespeed server

i see front page without component, → 404 error not shows but i have its in my template.. error.php: error->getCode(); ?> - title; ?> i found very much articles, whats is maybe litespeed not support ...
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 ...
1 vote
1 answer
282 views

Joomla 3 return view with parameters

I'm using Joomla 3 and I have a controller with the function abc that should call a view with some parameters title & address My controller :components/com_storemanager/controller.php <?php /...
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
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 ...
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
1 answer
343 views

Product url problem after updating VirtueMart

In my VirtueMart Configuration under the SEO tab, I've checked "Use full category tree for product links" so my products detail page default routing was like this: example.com/cat1/subcat1/subcat2/...
0 votes
1 answer
369 views

Joomla 3.9: Menu item set to Separator is not clickable to reveal sub-menu items

I am building a website in Joomla, and I'm trying to make a menu in which some menu items should not have any article associated with it; clicking on them should only reveal the sub-menu items, but ...
0 votes
1 answer
352 views

Fatal error: Call to undefined method InvalidArgumentException::getlevel() in l/libraries/legacy/error/error.php on line 536

I've done a website transfer from one hosting provider to another one. I managed to make the website live in the new hosting, but can't access the Joomla! administration area. I get this error: ...
0 votes
1 answer
33 views

Why are all permissions allowed for every user group

For some reason I can't deny permissions to some actions. Everything has in green: Allowed (Super User). Even when the setting is set to denied. For example here: in the public user group I set site ...
1 vote
1 answer
46 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), ...
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
1 answer
131 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
1 answer
104 views

Install Joomla On Windows 10 And Use MS SQL As Back-End

I have Windows 10 and IIS up and running, I was wanting to know if there was a way to set-up Joomla with MS SQL on windows 10 and IIS?
0 votes
1 answer
28 views

SEF url and custom view

Was able to create a custom component and a custom view which I went ahead and attached a js library to. Now to achieve my desired functionality I need to create a custom url(SEF) in my route.php file,...
0 votes
0 answers
22 views

Accessibility error in offcanvas element in Joomla site

I have a problem with a validation error to http://www.tsiapos.gr/ (Joomla 3.9.10 - yootheme template0 https://wave.webaim.org/report#/https://tsiapos.gr/ which is related to empty link in "...
0 votes
1 answer
43 views

Manually render Clear form button in layout

I followed instructions here and I render some fields in my front end view, like this: echo $this->filterForm->renderField('search', 'filter'); Now I wonder how to manually add a clear button. ...
0 votes
1 answer
144 views

Remove index.php - file on multlilingual Joomla Site

As supported by various posts, I did : change the htaccess.txt - file name to .htaccess via FTP set the URL - Rewrite Option in the Joomla Configuration Options to "YES" Result: - index.php is ...
0 votes
1 answer
29 views

Getting Editor to show on front (site) of website

I'm trying to display to users an editor in the front end of my website (in a logged in area) I have: // IMPORT EDITOR CLASS jimport( 'joomla.html.editor' ); // GET EDITOR SELECTED IN GLOBAL SETTINGS ...
1 vote
2 answers
103 views

Individual user fine grained ACL is it possible in Joomla! 3.x

I was wondering if it was possible in Joomla! 3.x to have permissions down to individual user level. Eg: user A can see item X but not user B even if user B is in the same group or have the same ...
0 votes
1 answer
48 views

Change boolean field in JModelList table like "published"

Joomla 3.9.10. I have custom component. In admin panel I show items list from one DB table with JModelList. models/mycom.php: class MyComModelMyCom extends JModelList { public function getItems()...
0 votes
1 answer
58 views

Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite()

I'm having this error in Joomla for some reason: Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite() I see other posts with this error, but I suppose they are using ...
1 vote
1 answer
59 views

Joomla 3.10.x SQL Injection XSS Vulnerability

I have a website setup on my infrastructure that is running Joomla 3.10.8. During a security audit, certain SQL injection vulnerabilities / XSS have been identified. The setup includes a bunch of ...
0 votes
2 answers
147 views

Custom Component - Copy / Archive record when values change

For a custom component, I want to incorporate a way of keeping track of changes made to records in specific tables. For example, when the mileage value of a car is changed, the record having the old ...
0 votes
1 answer
63 views

Joomla - User Custom Fields (Required for user on frontend, but not required on backend)

I am using custom fields in the user section. I am needing to set this required for the front-end users when they are editing their profile, etc. This is working as intended, however, I am needing a ...
1 vote
1 answer
186 views

Which one to use? grid.sort vs searchtools.sort

I have been looking at why column sort orders wouldn't change in the front list view of my component and found by changing <?php echo HtmlHelper::_('searchtools.sort', 'JGRID_HEADING_ID',...
0 votes
1 answer
38 views

How to conditionally filter the presentation of category when creating a new category/article?

I am looking for a solution for the following requirements: Display only the category of first level when creating new category. Display only the category of second level when creating article in ...
0 votes
1 answer
88 views

JLayout Search Tool not populating filters and inputbx

I am converting the searchbar in one of my components to JLayout Search Tools searchbars to become more ready for J!4. Everything is working fine but it is not populating the filters. In view.html....
0 votes
1 answer
224 views

Resize image width in function of set image height in CSS?

I'm trying to tell an image to be displayed with a maximum height of 400 pixels, and a width adapted onto the used height, with the following CSS - Code: span.itemImage img { max-height:400px; ...
0 votes
1 answer
93 views

Update Joomla! 3.10.8 to PHP 7.4 or PHP 8.0

I am using a Joomla! 3.10.8 Stack from Turnkey Linux, it shows a warning, that I have to upgrade to a higher PHP-version. So how I update/upgrade the higher PHP-version? And is it clever to upgrade to ...
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 ...
1 vote
2 answers
367 views

How to link article to specific menu item?

I have two menu items, for example Menu1 and Menu2. Both are a Category Blog for same category Cat1, but Menu1 has some specified tags. Of course, some articles are present on both pages, and all url'...
1 vote
1 answer
35 views

Place article specific scripts in head section

I'm using a lot of javascript files for my articles. These scripts shouldn't be loaded everywhere - only in certain articles. That's the reason why I don't add them inside of the templates´ head. At ...
0 votes
0 answers
19 views

Language pre-selection based on user group

Administrator area. When user login, I need to preselect categories, articles and modules based on the user's main group. Group EN Group ES Group IT For each group you have specific "language&...
0 votes
1 answer
594 views

How to get k2 item and category to use different templates?

This is a very old problem, I asked it before but never got a satisfying answer. By default, on a "k2 category" page, when you click one of the items, the "k2 item" page will keep using the current ...
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. ...
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 ...
1 vote
1 answer
120 views

Redirect problem in multi-lang site

I have developed a multi-language site, all necessary steps are taken in regard with plugins, menuitems and its associations, modules etc. The language-switcher module works perfectly, but yet, when I ...
1 vote
2 answers
120 views

How to compare current date to article created date?

I need a code to compare if current date and time is greater than article created time of joomla. I have this example code: function CompareDate() { // new Date(Year, Month, Date, ...
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 ...

1
2 3 4 5
63