All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
25 views

Copy Joomla Website without access to Cpanel

I'm faced with a challenge where my Joomla site got transfered to another domain (I know the domain), but would like to copy the same site back to a new domain. I'm lacking credentials of the site to ...
1
vote
2answers
32 views

Model not found when from a controller

In a controller, I am trying to load the model, but I have the following error: Call to a member function getSearchURL() on bool So the getModel() is returning false. This is the code of my ...
2
votes
1answer
18 views

How is Mootools loaded?

A javascript component on my site has stopped working. While debugging I found out it conflicted with Mootools. Only then I realize Mootools is loaded on my page. I remember reading an article saying ...
1
vote
1answer
26 views

Joomla 4 - Module Backend Subform subform-row-add “row” not available

while updating one of my modules for J4 i recently noticed that the repeatable subform field no longer provides the added "row" in JS. Working JS for J!3.x: $(document).on('subform-row-add', ...
0
votes
1answer
24 views

How do you organise your code in a Joomla extension?

I am looking for examples of how people organise their code in a Joomla extensions, particularly components, that is beyond the basics shown in tutorials teaching you MVC and Joomla. A look through ...
2
votes
3answers
325 views

CLI directory is publicly accessible. Is it supposed to be? Is that safe?

I've searched around and can't find an explanation. According to some documentation, it seems to be something for the admin to execute from the shell.
0
votes
1answer
23 views

How to show all articles in blog without tags etc

I created my own design for blog layout, but after I understand, that blog don't display all articles - only intro of lead. Maybe I somehow can edit code and display all articles? Sorry for my English....
0
votes
1answer
35 views

How to disable Joomla routing by Article ID with any alias but use exact alias only

Joomla use own SEF redirects what drives any variants of URL to same article basing on Article ID (no matter what alias will be used) http://example.com/3-welcome-to-your-blog.html or http://example....
1
vote
2answers
40 views

Controller method does not get data passed through jQuery.ajax()

I am developing a Joomla component. In javascript I use jQuery.ajax() for making a (php) controller method put data (from javascript) into the database. However, after installing the component on one ...
0
votes
1answer
42 views

Call a function using AJAX from a Joomla-View to retrieve data from the DB

i have coded a little component to administrate books for a histroy club. I added some views to deiplay different tables with book date. So far everythign works. In fact the DB access and the building ...
1
vote
1answer
31 views

Coding Standards question on Joomla language files

If you have a a set of forms and some of the same fields are used on each form, do you create a language definition for each form's version of the field or just create a definition for the field. i.e. ...
0
votes
1answer
23 views

EasyBlog Component missing image to URL to Facebook

I have problem with sharing URL to Facebook is missing image with Easyblog. I have upload cover image and there are pictures in article also. I check with Sharing Debugger and I can see the image. og:...
0
votes
0answers
27 views

Clients staff have to repeatedly login randomly under Chrome browser,

On a Joomla 3.9.x site I have a client who has staffed logged into the front-end of their website most of the day mostly using a custom built extension to manage an aspect of their business which I ...
2
votes
2answers
101 views

addScriptDeclaration is not working

I am trying to add an inline Javascript in my Joomla 4 plugin using addScriptDeclaration().I edited the code like suggested but the plugin is not working .After enabling it , it is not doing anything ....
1
vote
1answer
56 views

Joomla Custom module With Owl carousel

I need some advice on how to implement an OWL carousel with Joomla! native custom module. I have done some research already and I have tried several options including the add of the owl files to the ...
0
votes
2answers
28 views

Bring featured articles to the front of the articles retrieved by ArticlesModel

How can I bring the featured articles to the front of the articles array retrieved by the ArticlesModel? I know I can change the ordering via this line: $model->setState('list.ordering', $ordering);...
0
votes
1answer
20 views

Add fields to the articles retrieved by ArticlesModel

In my module i get the articles via this way: $model = JModelLegacy::getInstance('Articles', 'ContentModel', array('ignore_request' => true)); $model->setState('params', JFactory::getApplication(...
0
votes
0answers
21 views

Contact backend on before store process

I am using Joomla 3.9.22. On the back end contact form, I want to make check on the submitted data. I tried to make a plugin but with no luck. I have found the onSubmitContact event, but it does not ...
1
vote
1answer
31 views

Get article list based on custom field value (com_fields)

I'm trying to get all the articles from a specific category with a specific value in one of the custom fields (com_fields) I have created. I have this code: $model = JModelLegacy::getInstance('...
1
vote
3answers
77 views

Join #__content with #__fields_values then filter and sort using #__fields_values data

I wrote an override in Joomla 3.X and sorted the result from the DB using this query, which works: $query = "SELECT content.*, fieldvalues.* FROM #__content AS content, #...
1
vote
3answers
53 views

Immediately after install getParams returns an empty configuration. How to get the defaults?

When a component is installed, it seems that until the user updates the configuration (using the "Options" button) a request to get the component parameters from Joomla returns an ...
0
votes
1answer
49 views

Smart search filter not working

I am using a filter on a smart searchbar, I only want to search for tags, categories and articles. When I am using the filter and I search for example tags, it won't show any result. If I deactivate ...
1
vote
0answers
10 views

How can I update a Joomla form editor box contents from Javascript?

I have a form with lots of fields including editor fields that display using jce/codemirror. I have buttons that call the submitbutton.js which builds a string from other elements in the form. I can ...
1
vote
1answer
28 views

How to store component parameters after modification

As I understand it, the current values of a component configuration are stored as JSON in the params field of the #__extensions database table, in the entry that matches the component name as element. ...
0
votes
1answer
27 views

Login Error Joomla 2.5

There is some issue on my site when users visit directly http://spcrepsite.com (without www.) it works accurately, But when http://www.spcrepsite.com (include www.) it will show (homepage) that page ...
0
votes
1answer
27 views

How can I use JDate to work with UK times to include BST and GMT?

In the UK, we have GMT (Greenwhich Mean Time) for half the year and then we put the clocks forward by an hour to BST (British Summer Time) for the other half of the year. How can I handle this issue ...
2
votes
1answer
72 views

How to code for multiple UI frameworks?

When I am putting together various HTML elements in my extensions, how should I be planning for the possibility that the end users Users Interface framework could be Bootstrap4 or UIKit or any others ...
1
vote
1answer
27 views

Repeatable field not visible anymore?

I need to use the repeatable field, but on a installation thats a but older there is no repeatable field available. Does anyone know how to install this?
1
vote
1answer
50 views

Joomla! 3.6.5 Unknown column 'c.version' in 'field list'

I was given the a copy of the folder "httpdocs" and a .sql of the Joomla database from a fully operational site on plesk, and was asked to mount the website locally. The version of Joomla is ...
2
votes
2answers
55 views

Use HTMLHelper::_ by calling a namespaced class

In my component under Joomla! 4.0, I have the following call which returns: error JHtml componentname not found. HTMLHelper::_( 'componentname.link', 'index.php?option=com_component&view=...
0
votes
1answer
39 views

Is there a resource showing all the J3 classes mapped to the J4 equivalents?

I know we are using Factory instead of JFactory I would like to know if there is an easy way to know the mapping. I'd also like to understand if any have been deprecated or replaced. Is there a good ...
0
votes
0answers
20 views

When I save form data on a Joomla site to the database, Joomla logs me out

I am trying to make a Joomla-based warranty registration system. Recently, I was able to turn on the possibility of registering new users and logging them in. Only registered/logged-in users will be ...
1
vote
1answer
24 views

When using Joomla\CMS\Http\Http to do a request, how to check timeout?

In a component, I'm using the call to retrieve an xml file hosted on a website . However, in some cases, the firewall blocks this kind of request so there is no answer. In this case, how can I check ...
1
vote
0answers
17 views

How to populate custom field dropdown with values from DB

I trying to create a new custom field, which will have a select field with menu items from certain menu type, I got stuck at populating this select field with values from database. You can see the ...
2
votes
0answers
35 views

How to use joomla.asset.json correctly?

I figured I need to reinstall a template/extension in order to take into account my changes to the joomla.asset.json file. However there are a few things I don't quite understand: how can I make ...
0
votes
1answer
19 views

Looking for a way to use jQuery Chosen in a Fabrik dropdown selection

The Fabrik Dropdown (and all other SELECT) plugins present results as a standard SELECT html format. What I am looking for is a quick way of replacing this with a jQuery CHOSEN field to improve the ...
0
votes
0answers
12 views

The contents appear under the homepage of my site in google search

The contents appear under the homepage of my site in google search. After collecting the menu items under a new general menu, the news content appear at the bottom of my site's homepage in google ...
0
votes
2answers
26 views

Modify CSS class on specific pages

I would like to modify CSS styling to some of my pages, and override the default template styling. By default, I have this class (.article-intro-image) on my template css with some parameters (for ...
0
votes
0answers
15 views

Adding Azuracast JSON file to my AM HTML5 AUDIO PRO PLAYER in joomla

I need help for a problem that i didn't found solution. we have a web radio created with joomla and we start to put our programs 24h/24. I bought an AM HTML5 AUDIO PRO PLAYER and everything work fine ...
0
votes
0answers
21 views

Sort Categories for sj_k2_categories_ii Module in Page

i use this sj_k2_categories_ii module in my site i make some menu with this module how i can sort Categories by alphabet in my page Categories sorted by module with k2 item ID thanks
2
votes
2answers
41 views

What does it mean for a user to be 'logged in' to Joomla?

I am having an issue with the ACL of my Joomla API. I created this using the TechJoomla api component. I have the following code to handle post requests on my api. <?php use Joomla\CMS\...
1
vote
1answer
33 views

Error Unable to detect manifest file. for JED - related to Folder permission

Hello there On Joomla 3.9.26 stable i clicked on the blue Button up in the Image and then the red button above appeared. I googled the error-message. I found something for joomla 1. and 2. but that ...
0
votes
0answers
17 views

What's the easiest way to avoid the double class issue on modules?

The module class suffix is added to a module and then to the div with the module content within it. On the second occasion it adds the word/class "custom". I've always found this a bit of ...
0
votes
0answers
14 views

How to change default “Blog category” layout after going on link category from “Categories list”?

How to change default "Blog category" layout after going on link category from "Categories list"? My problem described on https://docs.joomla.org/...
1
vote
0answers
26 views

MySQL - Is a query with many results or several queries with one result more efficient? [duplicate]

I need to get category titles for which I am using the a model where $result returns all the data from the categories table, what I need is only the titles, that by making a loop to $result and a ...
2
votes
1answer
26 views

Remove Itemid from URL generated from manual links in articles

I have been looking for hours but I have been unable to find an answer for my case. I have an Article which is used for the home menu. For some reason the Read More option is not working but that is ...
0
votes
0answers
8 views

How to allow a group of users to edit only one module on backend?

I've tried setting the group's permissions for modules to be denied, as shown in the screenshot below Then I go to the module that I want to allow editing for this group. It turns out the permissions ...
2
votes
1answer
33 views

using Ajax to save contents of html how to make safe

I am using com_Ajax to save the contents of my editor (front end of the website in a module) Ajax and passing the content of the editor all works fine. I am concerned about security. To get the data (...
0
votes
1answer
22 views

Schema markup votes

Good evening. I need help with schema markup for product. Microdata or ld+json. I managed to markup content but i can't make aggregateRating to get rating from standard vote plugin. I tried several ...
0
votes
0answers
13 views

Joomla custom fields articles list

Mimicking an old sports site that worked using cobalt with custom fields, I've managed to create a nice "match" article, but now I have two issues I don't know yet how to solve. How could I ...

15 30 50 per page
1
2 3 4 5
135