All Questions

816 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
8
votes
0answers
453 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 ...
4
votes
0answers
85 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
1answer
500 views

How to customize user registration in Joomla 3.7?

Now that Joomla 3.7 supports custom fields, can anyone point me to documentation or a YouTube video that outlines how to customize user registration? I assume that additional work is also required to ...
4
votes
2answers
221 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. ...
4
votes
0answers
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>...
4
votes
2answers
729 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', '', ...
3
votes
1answer
58 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 ...
3
votes
1answer
51 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 ...
3
votes
0answers
91 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 ...
3
votes
0answers
50 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. ...
3
votes
0answers
113 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
96 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 ...
3
votes
1answer
269 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
178 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" ...
3
votes
1answer
838 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::...
3
votes
0answers
71 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
134 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 ...
3
votes
0answers
209 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, ...
3
votes
0answers
58 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
307 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
2answers
102 views

How to change the home page to be domain.com/blog?

A client wants to build a new Joomla website in two phases. The first phase is a very simple website with mainly a blog. The blog would appear on the home page. The second phase will include the rest ...
3
votes
0answers
272 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" ...
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 -...
3
votes
0answers
191 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 ...
2
votes
0answers
43 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 ...
2
votes
0answers
16 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 ...
2
votes
1answer
120 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
0answers
37 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 ...
2
votes
1answer
47 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
73 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
21 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
0answers
48 views

Access Joomla article content from PHP-script with “file_get_contents”

I'm using php-script to export Joomla article to PDF-file with mPDF. The script is shortly the following: define('_JEXEC', 1); define('JPATH_BASE', realpath(dirname(__FILE__) . '/..')); ...
2
votes
1answer
53 views

Navbar: prevent two lines on smaller screens

I am using the Flex template and SPPage builder for my Joomla site. I have one annoying problem: When I resize the window to less than 1200 px, the navbar switches to two lines (e.g. iPad Pro ...
2
votes
1answer
35 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
0answers
41 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
84 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
51 views

Generating a module instance from PHP

I am trying to render a mod_login module - on the fly - from inside a system plugin. So far, there is no existing mod_login instance in the website nor the database. I am just trying to create a new ...
2
votes
1answer
62 views

Is it possible to create a component “addon”?

I've created a component for handling a multitude of things for my clients, but I frequently get feedback that certain sections aren't needed or that additional sections are desired. The first ...
2
votes
0answers
37 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
0answers
53 views

Override 3d party extension plugin method

I found some errors in the code of a third-party system plugin, it is assumed that the developer will release updates and fix them, but for today I would like to fix them myself, for this I made my ...
2
votes
0answers
22 views

Using the SQL `Delimiter` statement in component update

For the next version of my component I need split some data into different tables, which requires some rather more complex SQL than I would usually use. The problem is that there doesn't seem to be a ...
2
votes
0answers
28 views

Very slow initialization of Joomla when on remote database

Running Joomla 3.9.15. When I am using a remote database (still on the same local network though), I am facing massive slow downs on the "before preloadComponents" phase of Joomla init. The actual ...
2
votes
2answers
195 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
152 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
64 views

CLI for joomla 4 not working for me

Joomla 4 PHP 7.3.1 Composer and NPM node modules installed Following this doc on Joomladocs, CLI Update, php cli/joomla.php - and whatever command I add after doesn't work. I get an error message (...
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
31 views

Tagged articles not being shown in Smart Search results

I have an issue with tagged articles not being shown in smart search results. I have a test article: Title = "This is a test article" Content = "descriptiontest" Tag = "taggedtest" I have then ...
2
votes
0answers
128 views

__PHP_Incomplete_Class when trying to access an object stored in session

I work on implementing single sign on with joomla and simplesamlphp. I try to use the simpleamlphp api in the context of a joomla plugin in the onAfterInitialise event. To that end, the plugin in ...
2
votes
0answers
167 views

Joomla 1.5 Administrator URL not working

I've inherited a quite old site running Joomla 1.5. I unfortunately cannot find the URL for the admin login. www.website.net/administrator returns a 404 error. The server is running php 7.2. Any tips ...
2
votes
0answers
25 views

Selecting the correct menu entry in a self written component

I have the following problem/setup: I develop a custom component in Joomla that has multiple views. The views should have links to each other. If I enable SEF in the global configuration, the links in ...

15 30 50 per page
1
2 3 4 5
17