All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
17 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
40 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
25 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
37 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
19 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
10 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 ...
0
votes
0answers
17 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
24 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
22 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
17 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
86 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
40 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
23 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. ...
2
votes
0answers
34 views

Joomla Custom Fields Saving Issue

Joomla 3.9.13 I am using the default Joomla contacts component, with no changes or overrides. I have configured eight custom fields for my contacts, they are all type text. The custom fields I have ...
0
votes
0answers
16 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
44 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
55 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
70 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
24 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
73 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
38 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
44 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
34 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
27 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
48 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
37 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 ...
2
votes
2answers
57 views

Latest articles structured data markup

I have added microdata into every article manually and it works fine. Now I want to insert them into the latest articles module. To override the module in my template and I added: <li itemscope ...
1
vote
1answer
112 views

How to pass a variable from blog.php through to intro_image

I have blog.php blog_item.php and then the layout intro_image.php I wanted to count the number of blog posts, which is already being done in leading and intro articles in the blog. But how ...
2
votes
1answer
56 views

JS : How to trigger a Blur event with my code

I need help in triggering a Blur event attached to a calendar field. The event I am trying to trigger is added in /media/system/calendar.js around line 1003 JoomlaCalendar.prototype._bindEvents = ...
1
vote
1answer
19 views

Akeeba Kickstart Restore Site and Restrict Access

I use Akeeba Backup and Akeeba Kickstart to restore my sites and it's great. I normally backup and transfer the .jpa files then extract manually, not via the transfer wizard. During the restoration ...
0
votes
0answers
11 views

problems with d-flexpagination wrapper and naming buttons

I have two little problems. In moblie version of page I'm currently creating in categories with more than 9 pages of content it's unpossible to reach to the end - numbers of pages above 9 doesn't ...
0
votes
1answer
38 views

Why do we Route url using JRoute or Route namespace? What is the purpose of routing urls?

I want to know the purpose of routing the urls. Can anyone explain me why do we route urls?
2
votes
2answers
99 views

How do you assign jQuery scripts to an article?

I'm working on adding a simple feature to a single Joomla article. Editing the article itself is necessary in this case, I can't modify the template files (or add the JS to the entire site). In the ...
0
votes
0answers
34 views

Joomla 3.9.13 - Error: Failed to start application

I just installed version 3.9 joomla in local using xampp. Once the installation was finished correctly I tried to navigate the site and the backend. After loading a few pages, this annoying error ...
0
votes
0answers
20 views

Generated URL with token - The security token did not match [duplicate]

I'm trying to make a link that acts as the "save 2 copy" button on the edit page. On the main page for the item, I am creating the link according to this documentation: https://docs.joomla.org/...
0
votes
2answers
39 views

Need to add a hyperlink to a logo

I've put a logo on my site's homepage and the logo was clickable. And then I adjusted its position through custom.css file, but now the logo is NOT clickable (plain image). How to make it clickable ...
1
vote
0answers
15 views

excel file import in article joomla [closed]

I use joomla article + field for manage branch information. now I want import(excel file) branch information (title-desc-field1-field2,...) in articles. how do it? please guide me.
3
votes
0answers
31 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 ...
0
votes
1answer
34 views

How to Update a field only when another filed is changed

My scenario is that I have a field in a table called Stock_Qty that when it is changed I need to update the Stock_Date field with the current date and then the user can replace the date if they don't ...
0
votes
1answer
16 views

How to setup Joomla with multiple languages all under the same menu

I want a bilingual website and I want all articles, regardless of their language to be in the same article listing (menu). For example, I create a french article in the blog category, and an english ...
1
vote
0answers
18 views

Getting user submitted product properties programmaticaly in j2store

So I'm developing j2store plugin to calculate price for item based on product's width and height (these values are entered by the user). The form is rendered as following: function ...
1
vote
2answers
53 views

use router.php in simple component

I am having a simple component, basically a list view and a single view. I want to nice URLs so I copy pasted and modified the router.php from com_content like this: class BookstoreRouter extends ...
0
votes
0answers
14 views

Can't access websites hosted on GCP after updating joomla core

I host multiple Joomla sites on a Single Google Computer Engine VM. It has been working very well, but after I performed a Joomla core update I suddenly found that those websites can't be accessed ...
0
votes
0answers
12 views

How to change a language constant on the fly with PHP?

In Joomla! (currently 3.9.13) the language constant COM_INSTALLER_TYPE_TYPE_ is not defined. The constant is used in the error message that is displayed if the Joomla extension update system (the 'one-...
0
votes
1answer
21 views

How to set date format to English when using a non-English language?

After I have installed the Persian language in Joomla; now all English dates are changed to Persian dates. How can I have the Persian language and English dates?
0
votes
0answers
13 views

Changes into in Joomla\Http\Http in Joomla! 4.0?

I have a part of code in my componenent which works in Joomla! 3.9.x, but in Joomla! 4.0-beta-dev i get a 503 error. My code is the following : use Joomla\Http\Http; use Joomla\Http\Transport\Stream ...

15 30 50 per page