All Questions

781 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
9
votes
0answers
446 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 ...
5
votes
0answers
71 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": $...
5
votes
1answer
490 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 ...
5
votes
2answers
202 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
1answer
36 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 ...
4
votes
1answer
43 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 ...
4
votes
1answer
239 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 ...
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
713 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
35 views

Compress & Optimise Existing Images

Joomla 3.9.21 I am working on a site that is very image heavy, most images are within the EasyBlog component and amount to approximately 8GB, the original administrators didn't optimise the images for ...
3
votes
0answers
48 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
80 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
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 ...
3
votes
1answer
846 views

htaccess 404 Redirect Not Working

I recently redesigned a site and there are loads of 404 pages, so to simplify things I want to add a redirect to my htaccess, redirecting any 404 pages to the home page. I though it was as simple as ...
3
votes
0answers
77 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
0answers
165 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
708 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
1answer
36 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 ...
3
votes
0answers
70 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
127 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
202 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
88 views

Joomla 3.8.1 Neither Alternative Menu Item Nor Layout Reflects on Front End

Within mytemplate, I created an alternative menu and an alternative layout for the com_content articles view, and neither reflects on the front end. For com_content, in my template, I created the ...
3
votes
0answers
57 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
2answers
95 views

Disabling cache on specific part of page from above comment

I am facing a problem in part of page of an extension on comments When cache is enabled, there is some json token error due to cache When cache is disabled, the user can easily post in comment Is ...
3
votes
1answer
367 views

Virtuemart AJAX Cart pop up error over https

I'm working on an extremely outdated shop template, trying to keep everything else up to date for a client. The client has set up cloudflare to be used as SSL which is pretty much all sorted, however ...
3
votes
1answer
292 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
0answers
48 views

Clear component toolbar task

I've added a custom toolbar button to export the items from a custom component as a CSV. The CSV is getting exported correctly but my custom task is then being triggered when navigating the ...
3
votes
1answer
259 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 ...
3
votes
2answers
101 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
265 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
190 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 ...
3
votes
1answer
947 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) ...
2
votes
2answers
45 views

Reroute all emails to developer / debug address

I am trying to intercept outgoing emails from joomla and reroute them to my email address for development and testing. Ideally I could set up a toggle under Global Configuration > Server > Email ...
2
votes
0answers
19 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
19 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
34 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
89 views

Making /joomla subdirectory the website root AND forcing HTTPS

Setting up a Joomla site on Apache 2.4 on a Synology Disk Station. Joomla is unavoidably installed in a subdirectory of the web root (/web/joomla) and unfortunately do not have access to the Apache ...
2
votes
1answer
27 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
32 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
37 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
0answers
82 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 ...
2
votes
1answer
76 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
44 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
58 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
36 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
44 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
1answer
49 views

How do I pass _JEXEC to a php file?

I have a form in my Joomla! site. Once completed, the form should send an e-mail but only if some conditions have been met. Not having been able to use standard, commercially available mailers while ...
2
votes
0answers
19 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
2answers
77 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, ...

15 30 50 per page
1
2 3 4 5
16