All Questions

Filter by
Sorted by
Tagged with
0
votes
2answers
20 views

sending post data in a plugin

When copying a webpage to my Joomla site, there is a big hassle which is dealing with images. We can easily copy text content and its format but we will have to download the images on the webpage, ...
0
votes
1answer
29 views

jimport('joomla.plugin.plugin') - When do I need this when making plugin?

To be honest, I don't know what jimport and jimport('joomla.plugin.plugin') do. So I think an explanation of what they do might as well answer my question. That being said, I've made a simple plugin ...
0
votes
1answer
7 views

Is there a way to change the layout or theme used when editing an article or module from the frontent

I don't have any problem using the back-end for creating and editing content, but my clients do. I want to provide them with some simpler menu options that are targeted for editing or creating ...
0
votes
0answers
22 views

Show the fieldgroup title on /html/com_content/article/edit.php

We want to move all field groups to the first content tab on the backend and assign individual classes to every field group. Therefore, we've already ignored the fieldsets to avoid the creation of the ...
0
votes
1answer
15 views

how to add custom field type to user core component?

I need to integrate a custom field in the user component of joomla core that allows me to list some data in a select, I get this data from an endpoint, and because this type of field does not exist ...
1
vote
1answer
32 views

How to include images in Joomla's search results?

I'm trying to display images in search results for the default search of Joomla. I messed with some code from the web and I managed to display images with the following: in template/html/com_search/...
0
votes
1answer
19 views

How to keep count of how many times an article has been seen as fulltext or introtext-alone?

Joomla core articles hits counter only works when the full article is shown (fulltext). But if only the introtext is displayed, like in a Category Blog view or in a Featured Articles Blog view, the ...
0
votes
1answer
28 views

Create user and immediately log them in

I built a component where a user fills in a form, and on submit it creates an account for them and tries to log them in immediately. The account creation works, but when it tries to log users in, I ...
1
vote
1answer
18 views

“Failed deleting inaccessible file” error while updating JCE editor pro to 2.8.1

I am trying to update JCE editor pro to 2.8.1, but I get the following error: Joomla\Filesystem\File::delete: Failed deleting inaccessible file controller.php We are using PHP7.2 and Joomla 3.9.13 ...
0
votes
0answers
31 views

How to access a custom action page

I have never worked on Joomla so I apologize for my naive question. I have a button on a page which redirects to this URL - https://ttmac.com/en/online-courses/buy?view=order-multiple-courses&...
2
votes
1answer
34 views

How to use Composer and Symfony in our Joomla extensions?

I develop Joomla extensions since 2008. Just today, I realized that Joomla uses Composer and the Symfony framework within its core libraries. I had seen it in the past, but never really gave it a ...
2
votes
1answer
64 views
+50

Custom Fields Issues Saving - Video Included

Joomla 3.9.13 I am using the default Joomla contacts component, with no changes or overrides. I have configured a number of custom fields my contacts. One of these custom fields is type sql. It ...
0
votes
1answer
39 views

Where can I put my self-defined constant in Joomla?

I've used many php framework , there always be a place (ex: constants.php) to put developer's self defined constants, but I can't find that in Joomla. Could anyone tell me where to put these self-...
1
vote
1answer
31 views

What is the different between JPlugin and \Joomla\CMS\Plugin\CMSPlugin

I was learning plugin development when I came across this. so for some plugin, I see class pluginA extends JPlugin for some others, I see class plgGantryEasyblog extends \Joomla\CMS\Plugin\...
1
vote
2answers
75 views

Undefined variables: recommendedVersion and recommendedVersionEndOfSupport

I went into the "configuration.php", changed error reporting to "maximum", and now my Joomla admin page is suddenly blank white. Then when I go to my backend login page, I get the following error ...
1
vote
0answers
49 views

Joomla 4 namespacing and autoloading

I've added the namespace line to my manifest xml: <namespace>Mycompany\Component\Mycomponent</namespace> When I install the component, I'm not seeing any alias added to the libraries/...
1
vote
1answer
62 views

How to programmatically write Joomla article customs field values?

I added some custom fields to the articles of my Joomla website: I work on a custom Joomla module that creates new articles programmatically using the below code: static function createArticle(...
2
votes
0answers
33 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. ...
0
votes
0answers
24 views

Selling Digital Downloads

This isn't an issue, just looking for advice and suggestions on how to achieve this. So happy to close if it's too opinion based. My client provides training, at the end of the training they provide ...
1
vote
2answers
86 views

Modification of the generated Joomla head (<jdoc:include type=“head” />)

I try to modify the generated <head> of a Joomla website 3.9.13. Unfortunately I faced on the famous <jdoc:include type="head" /> How can I modify it? I could not find any reference if ...
-1
votes
1answer
26 views

How do I find the first NON bootstrap class ancestor of my current module position?

Not sure I'm wording this right so please forgive me. I'm working on a situation where I want to apply the background to the 1st NON .container ancestor of my current module. So, for example.. <...
0
votes
0answers
33 views

how to set <title> tag from article title with custom menu entry?

I am searching for a option to use the article title as a page title if I have defined a custom SEF-menu item. The only way which I have found is to set the page title via the menu item. But this ...
1
vote
1answer
56 views

Load language files inside custom library

I have a a library inside \libraries\mylib\. That library contains an include.php which uses following to load language files that are also inside a /language folder in the library: $lang = JFactory:...
0
votes
1answer
39 views

1054 Unknown column 'a.extra_query' in 'field list' SQL=SELECT DISTINCT [duplicate]

I'm finally upgrading Joomla 2.5 to 3.9 with a step to 3.5.1. However, whatever I try, I keep getting this error: 1054 Unknown column 'a.extra_query' in 'field list' SQL=SELECT DISTINCT a....
1
vote
1answer
42 views

onAfterRender plugin only triggers on backend

I have created a system plugin for onAfterRender event however I'm unable to make it execute. I'm on Joomla 3.9 Here's the sample code of the plugin <?xml version="1.0" encoding="utf-8"?> ...
0
votes
1answer
21 views

How to prevent “unvalidated redirects”?

I'm trying to harden a Joomla site (v3.9.13). The security team have raised an issue regarding redirects. They require that there should be a whitelist of addresses to which the website can redirect. ...
1
vote
0answers
13 views

Create 301 for Joomla K2 to Shopify Blog

We have moved to a Shopify site for our cart and moving all other data across. I'm trying to create 301 redirects for our K2 blog content and struggling. Using the Joomla Redirects (image) for all ...
1
vote
2answers
80 views

How to set the view location in Joomla 4

I'm rebuilding a component called DogWalk for Joomla 4 and I've tried to ensure I'm doing exactly what the core Banners component does. I've named and namespaced my files, named my directories ...
0
votes
0answers
26 views

How to get back the ID of programmatically created Joomla Article? [duplicate]

I work on a custom Joomla module that creates articles programmatically. I use the below code to create the article. It all works fine. Now I would need to get back the ID of the newly create article ...
0
votes
0answers
24 views

“Forgot password” can be used to determine whether email is valid. How to harden against this? [duplicate]

I'm trying to harden a Joomla website (v3.9.13). One problem which has been picked up is that the "Forgot password" can be used by a malicious person to check whether an email address is valid or not....
1
vote
1answer
19 views

Media/Template folder fills up with constantly generating css and js files with 8 random characters appended to filenames

One of my site's media/template folder continues to generate new css and js files every few days. Each file is appended with an 8-character string of random alphanumeric characters. What I expect ...
2
votes
1answer
96 views

Add a Calendar field in Joomla 3.9 without using form xml

I am trying to create a Calendar field in Joomla 3.9 inside my custom component. Since I am framing this inside an AJAX script, I can't use the XML form. Below is the code I am using. The field ...
0
votes
2answers
41 views

Jooma Article content to load from mysql based on ID in url?

On my old website, built in php i had a link on a page, wich picked an ID based on what line it was. <td width=124><a href="tp/package.php?ID=<?php echo $row[0];?>">Package</a>...
0
votes
0answers
25 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
0answers
17 views

Header row with 3 columns on Protostar front page

How can I make a header on my Protostar front page template which is one row with three columns? Circled below is the header design that I want: Circled below is the header that I currently have: ...
1
vote
1answer
50 views

Getting error message as The most recent request was denied because it had an invalid security token. Please refresh the page and try again

In my list view I have added token in my form using <?php echo JHtml::_( 'form.token' ); ?> Then I have redirected from the list view to a controller's task like http://some/joomla/site/...
2
votes
1answer
62 views

Get the list of article and related specific custom field value

I need to compose a list for a RSFormPro form field which contains options that display article titles and their respective date from a custom field. In front something like this : Select your ...
4
votes
1answer
71 views

What is the correct way to programmatically delete a joomla user and their data?

I want to remove a set of users by id from a Joomla 3.x database. I am trying to figure out from the documentation if this is possible without having to write my own SQL for each database table. ...
0
votes
1answer
38 views

Joomla old code to latest 3x series with best practice of safe and secure code

Am Trying to rewrite this code with latest joomla and php for best practice Confused on where to use this function in new code onchange="showModelVariant(this.value)"> Is the new code correct ...
1
vote
1answer
25 views

RSS Feed error: “cURL error 22: The requested URL returned error: 403 Forbidden”

I'm trying to load the following RSS feed in a Joomla! Feeds module: https://community.joomla.org/events/view,rss.xml However, I get the following error: cURL error 22: The requested URL returned ...
2
votes
3answers
74 views

Removing single JForm option via setFieldAttribute

I'm working on a small component and depending on $someoption I need to remove a certain option from the JForm. So for example if $someoption == 1 then I need to remove this option <option value="1"...
1
vote
1answer
39 views

Spam Emails and Web Host Security

Joomla 3.9.13 The past while i've been receiving a lot of emails with the subject line similar to; Subject: Warning: message 1iTQ2k-00083X-8c delayed 24 hours The email body contains the ...
3
votes
3answers
46 views

Site Online Schedule

Joomla 3.9.13 I'm currently working on a website which is currently offline. I need make make it available and online at a certain date / time. I may not be available to do this manually. Is it ...
1
vote
2answers
41 views

Unable to Find a Page/Article in Joomla Admin

I have two pages (articles) on my Joomla site that are publicly accessible but I'm unable to find them in the Joomla admin. They were discovered by searching the website using the built-in search ...
0
votes
1answer
35 views

Custom URL for Component Search Results

I am writing to seek help to display custom results in a SEF URL on Joomla CMS. Example: This is a page with a customized search, https://jobwalkins.in/search.html?search=IT&exf_5=1&exf_4=-1&...
0
votes
1answer
15 views

Gantry Framework: In particle, how to use Easyblog content provider?

Particles are very flexible and user-friendly, but they can only get Joomla's article as content provider, as http://docs.gantry.org/gantry5/advanced/content-in-particles points out: {% set options = ...
0
votes
0answers
29 views

Is there a way in which I can check that whether the cookie and csrf token are of a same user?

I want to check that whether a request hit by an user is actually hit by the same user. For that can I check whether the session cookie and the csrf token are for that user. If there is any mismatch ...
1
vote
1answer
50 views

Push data to a Joomla environment via com_ajax

UPDATE 2: Made 2 small changes to the code below ("echo" instead of "return" and added "exit(); to the bottom of the script") and now the code works as expected. This was using a jQuery.get. I will ...
1
vote
1answer
38 views

Breadcrumbs Incorrect URL Path

Using Joomla 3.9.12 and SP Portfolio v1.7 I have a menu item called Locations, this is a menu item type SP Simple Portfolio » Items Whenever I visit example.com/locations I can see all my portfolio ...
1
vote
1answer
40 views

Session Management Across Multiple Devices

Today users wish to be logged in across multiple devices. The fact that Joomla signs out a user from all devices when one device was signout is driving users crazy. Can someone please help me, and ...

15 30 50 per page