All Questions

708 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
2answers
52 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, ...
1
vote
0answers
31 views

authorise('core.admin') how to include administrator level also?

We want Administrators to be able to see Privacy Requests in the module on cpanel. But this module has the following code: // Only super user can view this data if (!JFactory::getUser()->authorise(...
1
vote
2answers
56 views

New Joomla install but can't install extensions. Get 500 Internal Server error

Tried installing extensions 'from Web' and installing 'from Folder'. The files were added to the /tmp folder and extracted, but did not get installed. Screen jumps from installing to 500 error: 500 ...
1
vote
1answer
81 views

Redirection not work from non www to www(https) You configured HTTP(80) on the standard HTTPS(443) port!

I'm currently have a website which runs under https and work with no issue and I've tried to do something on my .htaccess file so that when I try http://abc.com it will redirect to https://www.abc.com ...
1
vote
0answers
44 views

How do I sort articles in category blog using a custom field value?

I have created a custom field date and added content to the articles of a category. How can I now sort the articles in the category blog overview by this field? What should a blog.php and blog_item....
1
vote
0answers
23 views

I have some missing articles in a category on the front end. Joomla 3

Any reason why some articles may be missing on the front end of my Joomla 3 site when most of them are there? 2 articles are missing out of 63. All but 2 are listed in the category on the front end. ...
1
vote
0answers
61 views

JRoute::link('site') generates different strings depending on the app context

I'm developing a component in Joomla! 3.9.13 with SEF urls turned ON and I use this line of code JRoute::link( 'site', 'index.php?option=com_mycomponent&task=profile.edit', false, JRoute::...
1
vote
0answers
55 views

Custom htaccess rewrites with PT flags

I'm attempting to add a custom RewriteRule in the default htaccess file in Joomla 3, but not having any luck getting it to work. The end goal is to create a URL with a wildcard subpage, like site.com/...
1
vote
0answers
53 views

JCE plugin to add custom toolbar dropdown list

I am trying to add a dropdown menu in JCE editor. The dropdown will contain a list of items fetched from database. Please find the below code: (function () { tinymce.create('tinymce.plugins....
1
vote
1answer
53 views

Contact Form Non Unique id #jform_id

Joomla 3.9.14 When I open a contact to edit their details and look in the browser console I can see the following notice; [DOM] Found 2 elements with non-unique id #jform_id: (More info: https://...
1
vote
1answer
66 views

Why does the FormController instantiate models with the ignore_request flag set to true?

The Joomla\CMS\MVC\Controller\FormController::getModel method has a default argument for the config argument that sets the ignore_request parameter to true. This in turn means that models will not ...
1
vote
1answer
76 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:...
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
1answer
28 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 ...
1
vote
1answer
97 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/...
1
vote
1answer
48 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 following, ...
1
vote
1answer
122 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 ...
1
vote
0answers
23 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
0answers
26 views

Is there any way to put subcategories in a Joomla menu?

I've been trying to change the way my website works. Currently, I have a menu that displays categories, but now I want to also display subcategories in it. I know that I can display articles of that ...
1
vote
0answers
43 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 (...
1
vote
1answer
110 views

how to route url - JRoute get wrong itemid and wrong sef url

Joomla 3.9.12, JoomGallery 3.4 I have a site with joomShopping for e-shop and JoomGallery for portfolio. The site has 2 menus where some menu items of the first are menu item aliases of the second. ...
1
vote
0answers
31 views

Multiple Subform field in module - add multiple items at once

I have a mutliple subform field with radio buttons. All other fields load by showon of the related parent radio select. If there was added more than one item without saving successively, the radio ...
1
vote
0answers
19 views

How to avoid showing to users errors of type SQLSTATE?

I try to avoid showing this type of messages to the user I have tried to do it by modifying the global configuration but without success, I specifically modified the options Global configuration> ...
1
vote
0answers
36 views

List every contact including the ones in subcategories

I need a phone book with all people of the organization, but also need a separated phone book for each department. We have a "Main" category, with a few subcategories. I cannot duplicate the personal ...
1
vote
0answers
22 views

How to set default permissions of files uploaded through Joomla Media Manager?

I'm running Joomla(3.9.8) on an Apache/PHP server on Linux. If you touch a file as the server user (and from PHP running on the server), the permissions of that file are: -rw-rw-r--. However, if a ...
1
vote
0answers
50 views

Error coming from T3-framework while updating Joomla

I am trying to update the Joomla version and T3-Framework version of our website and there seems to be a bug somewhere. Current JOOMLA version: 3.7.4 Current T3-FRAMEWORK version: 2.4.1 I first ...
1
vote
0answers
34 views

Joomla frontend user removed from groups automatically on log in / log out

I have this weird bug everytime I log into Joomla with a non-administrative user. Every time the user logs into the site, he is removed out of all Joomla user groups, except the Registered group. I ...
1
vote
0answers
45 views

One joomla to serve as multi-domain/multi-site with subdomains (vhost)?

I am trying to solve the requirement to move some parts of the website to subdomains. But I do not want to split the website into multiple joomla instances My first idea was to use 301 redirects for ...
1
vote
0answers
16 views

Contacts - Error Occurred When Editing

Joomla 3.9.11 Whenever I am editing a contact I can see the following error on the page; Error An error has occurred. No other information. I am able to edit and save the contacts, so there is no ...
1
vote
0answers
45 views

ob_flush pushes output before Joomla header

I have a module that I've created to test ob_flush buffering off. I need to understand it so I can have some longer modules buffer output to the page as the script goes through long processes. The ...
1
vote
0answers
22 views

Failed deleting sourcerer_php - Joomla 3.x

I randomly get a warning notice on the front end of my Joomla! website and I really can't understand why. Failed deleting sourcerer_php_d72bnbv27u4bfkdpa01347flf8gfkl I checked my tmp folder on ...
1
vote
0answers
25 views

Modify the META “Robots”

I want to modify the Robots Meta Tag like <meta name="robots" content="nosnippet" /> But Joomla give me only the choice between (NO)Index and (No)Follow and his combination in a article. ...
1
vote
0answers
20 views

K2 tools Archive redirects to homepage

K2 tools Archive redirects to homepage. How can I fix it? There's a topic with the same theme: www.joomlaworks.net/forum/k2-en/36125-k2-tools-archive-redirects-to-homepage,-how-to-fix But the advice ...
1
vote
1answer
46 views

How to add userinfo to link in Joomla Page

We have a Joomla site (latest version) with a page that links to another system with a fixed username/pw, so like https://www.othersystem.com/login.php?un=[fixed_un]&pw=[fixed_pw]. Now we need ...
1
vote
0answers
74 views

How to enter relative (to current page) URL as a menu item?

I would like to be able to enter relative URLs (relative to the current page URL). I've tried the menu type URL (nested within System Links) but when I enter e.g. first it becomes /first and when I ...
1
vote
0answers
17 views

JoomSEF extension not create SEF URL on page visit

I am using free version of JoomSEF extension. When I visit any page, JoomSEF extension is not creating according SEF URL entry in the backend. It looks something minor but I am clueless for this. If ...
1
vote
0answers
69 views

How to get SEF URL from JRoute when layout set in menu item

I've set up my component which has one view and several layouts. For each layout I've added a views/myview/tmpl/layoutname.xml file which sets the layout via a hidden variable, like so: <field ...
1
vote
0answers
23 views

Cannot insert image in k2 article

I'm facing an issue on the backend side of my Joomla 3.9. I'm using K2 as the content builder and set TinyMCE as default editor. I wanted to insert an image by using the modal button "image", but, as ...
1
vote
0answers
43 views

How can I use first image in article as featured image?

I have searched all over the internet but nothing got useful. I have only hope on this forum. Please tell me how can I use the first image of the article in Joomla as featured image. I don't want to ...
1
vote
0answers
27 views

How can I get form post data when Save, Save and Close or Save and New button is used?

I need to get the values of fields when the form is saved by any of the save buttons. So far I only get an empty array. Working with a custom field for Mosets Tree component. I used what I expected ...
1
vote
1answer
100 views

Joomla 3 return view with parameters

I'm using Joomla 3 and I have a controller with the function abc that should call a view with some parameters title & address My controller :components/com_storemanager/controller.php <?php /...
1
vote
0answers
29 views

Beez3 top menu highlight size

I'm currently struggling with the top nav menu in Joomla's Beez3 template. I would like the highlighted menu item not to fill the whole space but just let's say 5px rounded around the text. The rest ...
1
vote
0answers
67 views

Homepage of multilingual site not working anymore after removing index.php (404); all other sites working

So I removed the "index.php" - part from the URL in Joomla in the following way: Change the htaccess.txt - file name to .htaccess via FTP Set the URL-rewrite Option in the Joomla Configuration ...
1
vote
0answers
21 views

Can’t rename indexed pages with /2-uncategorised/2018-19-05-56 by Redirect component

I’ve renamed all joomla articles with right name URL. But I can’t do it with Redirect Joomla Component. It doesn’t redirect all renamed files: https://mywebsite.com/2-uncategotised/2018-19-05-56 ...
1
vote
0answers
27 views

Using Microsoft CDN with Joomla

I am fairly new to using CDN but i've found that there are two types of CDN. You redirect your DNS to your CDN and they automatically take over the traffic as a proxy and do the caching and content ...
1
vote
0answers
94 views

How to get ride of duplicate and useless URL from /component/contact

I try to use the form from Joomla, but seems there are strange downsides… If I setup a contact form, from Components > Contacts, and put this Contact Component inside a Menu, I can access the "...
1
vote
0answers
16 views

Need help getting website multilingual

I'm on Joomla 3.9x version and trying to make my site multilingual. Currently it's in Dutch (NL) and I'm trying to get it to English (EN-US). Things I've done so far: Made menu in NL (currently ...
1
vote
0answers
32 views

Adding an alias to the body class by appending it to the existing alias

I have successfully managed to add the alias to the body class by creating a plugin. It uses vanilla JS and isn't overly problematic except when I combine and compress my JS it stops working. I'm ...
1
vote
0answers
65 views

FieldsPlugin onCustomFieldsPrepareDom $field on save different on front and backend

I currently develop a FieldPlugin for myself. I noticed some things and don't understand them fully right now. My plugin works in the backend perfect, but raises errors on the frontend, so I did some ...
1
vote
0answers
26 views

j2store add to cart widgetkit

I'm trying to add J2Store cart to widgetkit grid stack layout with the following code in my administrator/components/com_widgetkit/plugins/widgets/grid-stack/views/widget.php file. require_once(...

15 30 50 per page
1 2
3
4 5
15