All Questions

931 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8 votes
0 answers
466 views

Reverse Caching Support using nginx

How can I implement Reverse Caching Support using nginx mentioned in Joomla 3.6 features? Joomla! 3.6 now supports reverse caching proxies like Varnish or an NGINX caching proxy. These help to ...
user avatar
  • 225
5 votes
1 answer
118 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 ...
user avatar
  • 492
4 votes
0 answers
101 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": $...
user avatar
  • 219
4 votes
2 answers
330 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. ...
user avatar
4 votes
0 answers
1k views

Joomla An error has occurred. 0 JForm::validateField() rule `number` missing. Return to Control Panel

Got An error has occurred. 0 JForm::validateField() rule number missing. Return to Control Panel while tying to change email id and Name from mail settings in joomla's Global Configuration>...
user avatar
  • 51
4 votes
2 answers
742 views

Custom component: Export items to CSV -> Changing searchbar causes a new download

I would like to export all selected items from the items-view of my component. To do so I modified my view and inserted a new button to the JToolBarHelper::custom('items.exportcsv', 'download', '', ...
user avatar
  • 667
3 votes
0 answers
63 views

Why can I not use a params variable for the JText translation constant?

I'm working on a component, and within the component configuration I have a selector for the admin to choose the date format to use when displaying items. It seems to me a perfect use-case for ...
user avatar
  • 585
3 votes
0 answers
330 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'; $...
user avatar
3 votes
1 answer
98 views

Unable to get (site) template params from my module's backend

Someone at stackoverflow recommend I ask the question here, apologies if this is considered cross-posting... OVERVIEW I am developing a set of custom templates and a set of custom modules. The ...
user avatar
  • 83
3 votes
1 answer
102 views

How to replace deprecated Joomla classes with VS Code?

Is there a way to conveniently replace deprecated Joomla classes with VS Code. I do have the PHP CodeSniffer (with Joomla Coding standards) and Intelephense extensions, although I am not sure if ...
user avatar
  • 219
3 votes
0 answers
155 views

Joomla 4 template namespace

I'm working with latest Joomla 4 beta, and wondering how can I use namespaces with templates so I can start using and developing custom fields for my templates. I need to know what should I set in the ...
user avatar
  • 395
3 votes
2 answers
306 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 ...
user avatar
  • 3,501
3 votes
0 answers
60 views

Joomla 3.9 + Gantry 5.4.31 mismatch layout issue on localhost

I am trying to build a regional blog/magazine. The home page layout which came as almost default with Gantry is satisfying. I am using XAMPP on Ubuntu 18.04.3 and Joomla 3.9.13 and Gantry 5.4.31. ...
user avatar
3 votes
0 answers
159 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 ...
user avatar
  • 3,501
3 votes
1 answer
134 views

How does the JSession works, and how to use it in different files?

I'm using JSession (in Joomla 3.9.x) to implement sort of a captcha field in a form, apparently the captcha code is been saved correctly in the session but I can't find the way to retrieve it, and ...
user avatar
3 votes
1 answer
325 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 ...
user avatar
  • 31
3 votes
0 answers
204 views

Joomla Update System For Paid Extensions

I'm trying to make this Joomla Update system work for paid extensions. How I'm going about it is as follows: I'm using Mohameds downloadid.php to populate "extra_query" field in the "_update_sites" ...
user avatar
  • 43
3 votes
1 answer
1k views

Getting Category's custom fields in a blog view

I'm trying to get the custom fields value of a category in a blog view. I have try the article item method but on the child item (supposed to be the current category item in the loop) : JLoader::...
user avatar
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 ...
user avatar
3 votes
0 answers
145 views

Smart Search - Same Content but Different indexes and front-end results

I have not a deep experience with the ins and outs of Smart Search. I am trying to figure out why I am getting different search results after searching with the exact same term in those 2 instances of ...
user avatar
  • 19.5k
3 votes
0 answers
218 views

Joomla 3.8 // New Router & Nested View

I want to use the new router classes to implement SEF stuff. I still struggle to get it to work. I have a view which can show categories. So this view is called categories. If you click a category, ...
user avatar
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 ...
user avatar
  • 173
3 votes
1 answer
327 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 ...
user avatar
3 votes
0 answers
337 views

How to use OpenSearch?

Forgive my ignorance about OpenSearch, but after providing the OpenSearch name and description, I have no idea how to see if it's in effect, or where to see evidence that the site is "openly" ...
user avatar
  • 381
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 -...
user avatar
  • 1,992
3 votes
0 answers
199 views

Seblod: Email field

I have a question about Seblod. I am using an email field to submit customer requests. I am trying to format the Email as HTML so the agent can easily read it. While this generally works, I have 2 ...
user avatar
  • 345
2 votes
1 answer
14 views

Plugin to manipulate form data onContentBeforeSave

For a Joomla 4 project I wrote a Content Plugin to grab video thumbs from Video-URLs (Vimeo) the user adds into Custom form field of a frontend form. The following code successfully gets the video ...
user avatar
  • 41
2 votes
1 answer
62 views

Joomla 3.x routing and slug problem

I have 1 component with 2 views - default is view1 - secondary is view2. When I associate it with the menu from the backend, Joomla creates the correct url with alias for SEO. Example: www.sitename....
user avatar
2 votes
0 answers
32 views

The quickest way to get the POST object in Joomla 3 & 4

I've been creating a lot of webservices API endpoints in Joomla 4 lately and wanted to ask: "What's the simplest, fastest, most practical way to get the entire POST object when a controller ...
user avatar
2 votes
0 answers
19 views

What to use: Table store vs. prepareTable

What is the reason a Joomla integrated component like contacts sets modified and modified_by while saving once in the prepareTable() method of the Model and also in the storeTable() method? Is this ...
user avatar
  • 101
2 votes
0 answers
36 views

Unit tests for Joomla 3 plugin

I have written some moderately complicated software for my Joomla site and want to improve on my code base in coming releases. To this end I am writing some unit tests however it's hard to run the ...
user avatar
  • 249
2 votes
1 answer
58 views

What is the correct way to insert the first category called "Uncategorized" in the categories table in the SQL file during installation of component?

I also need to know if the insert of the table #__content_types is correct and if there is something missing in the SQL installation code. SET time_zone = "+00:00"; CREATE TABLE IF NOT ...
user avatar
2 votes
0 answers
25 views

Joomla MEMORY tables cause an error in creating/editing articles

I am encountering an error with Joomla 4 that has never occurred to me in previous installations. When I try to create/edit an article, a category or to index contents in smart search, I get the ...
user avatar
2 votes
2 answers
149 views

Joomla 4 URL processing/routing

I have a Joomla extension running on 3.10 which fails on Joomla 4. The issue is that it generates URLs of the form /index.php?option=COMPONENT&view=VIEW&task=TASK&parameter=PARAM which ...
user avatar
  • 31
2 votes
0 answers
35 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&...
user avatar
  • 21
2 votes
1 answer
53 views

Scheduled Tasks Infrastructure in Joomla 4.1

Is there documentation for the new Scheduled Tasks Infrastructure in Joomla 4.1 (https://github.com/joomla/joomla-cms/pull/35143)? I just created a test task for setting the site offline. I scheduled ...
user avatar
  • 113
2 votes
0 answers
37 views

Authenticate Http request

I'm trying to POST from one controller method to another with the Http class. $http = new Http(); $url = Uri::base().'index.php?option=com_mycontroller&task=my_method'; $response = $http->post($...
user avatar
  • 131
2 votes
2 answers
68 views

Custom multiselect field not working in J4

In my Joomla 3 component, i have a custom field that is a select list with multiple=true. The values of such an select list are binary handled like 1,2,4,8,16. When storing, the values are getting ...
user avatar
  • 101
2 votes
0 answers
58 views

How can I change color of a button with internal link based on the URL in Joomla?

First of all, I apologize for my bad English. In one of my Joomla pages I have created a kind of menu with buttons that lead, each one of them, to an internal search page. I'd like to get each of ...
user avatar
2 votes
1 answer
117 views

How to join custom fields data to users table without extra rows in result set

I have rudimentary knowledge of SQL (when it comes to anything but single tables) and am trying to come up with a query that will give me all the custom fields for my users. This query will give me ...
user avatar
2 votes
0 answers
59 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 ...
user avatar
  • 325
2 votes
2 answers
52 views

API - get menu items from specific menu

I can't guess how to get menu items from a specific menu via API. I use: https://github.com/alexandreelise/j4x-api-collection https://documenter.getpostman.com/view/9617873/Szzj9yJy#6ac385da-724b-4b5b-...
user avatar
2 votes
0 answers
26 views

Transfer of the site, with change of the database (MySQL to MariaDB)

I built my website with Joomla4 and a MySQL8.0 database. Unfortunately, I need to transfer my site to a server using MariaDB10.4, which isn't compatible with MySQL8.0. I'm not a programmer and ...
user avatar
2 votes
0 answers
280 views

Joomla 4 - router.php SEF-URLs broken since update

This current router.php creates in Joomla 4 this URL: localhost/component/ohanah/?id=688&Itemid=101 But it should create this: localhost/kurse/688-event-name where "event-name" is the ...
user avatar
2 votes
0 answers
66 views

How to display message on admin from within controller or helper file?

I'm creating a new component. I have a VERY long series of steps that are being processed within a helper file (called by the controller - in the postSavHook function). Within the controller function ...
user avatar
2 votes
0 answers
20 views

ACL Joomla Permissions of different users for different categories and articles

Where exactly do I have to set so that only this one category and article are visible to the user in Access Control List? I was able to set that the rest of the content is not edited by a user who ...
user avatar
  • 21
2 votes
1 answer
147 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){ ...
user avatar
2 votes
0 answers
84 views

How to create custom filter type option for a custom field to extend the custom fields in Joomla?

I'm trying to figure out how to add/extend the "Filter" options for a Custom Field. I first started looking to see if I could figure out where I could add my own filter to the list of ...
user avatar
2 votes
1 answer
69 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 ...
user avatar
2 votes
0 answers
30 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 ...
user avatar

15 30 50 per page
1
2 3 4 5
19