Questions tagged [joomla-3.x]

For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.10.

Filter by
Sorted by
Tagged with
1 vote
1 answer
76 views

Change JS/jQuery Scroll function based on screensize

I'm working on a J3 site which I've had to use quite a bit of custom html/js code. I've reached a 'can't see the wood for the tree's moment'. Joomla and PHP I can do, jQuery - my old brain doesn't ...
  • 604
1 vote
0 answers
15 views

404 errors in Joomla backend

I've a problem in the back end for Joomla. I am moving my web site to a new server; it's not ready to go live yet. The problem happens all over the place not just in Article manager but here's an ...
1 vote
1 answer
40 views

Secure joomla admin: Disable editing css/html files for templates

I'd like to disable entering and editing any files in the Templates/Templates area. We have some security issues with template files (they are edited by hackers) and we are afraid that it is used for ...
  • 111
0 votes
0 answers
17 views

SP Page builder integrations :invalid url error

When I want to integrate SP page builder with Joomla articles, I receive 'invalid url" error. It's my first time working with Joomla. Can you help me with that?
0 votes
0 answers
17 views

Multipart form data long json string can not be parsed

I am posting to joomla a multipart form data that contains and image and json string through android and retrofit 2. I have no problem with the image, it is uploaded fine. But with the second field ...
1 vote
1 answer
27 views

Parsing errors in language files

My joomla 3.10 website was transferred to a new server. I get the following error message from the joomla debug console: "JROOT/administrator/language/en-GB/en-GB.plg_system_jdom.ini : error(s) ...
1 vote
1 answer
36 views

Modifying email address through PHP

I'm using Regular Lab's sourcerer to embed code in an article to modify users' email addresses once a questionnaire has been completed (anonymization). I used this code to no avail: $user = JFactory::...
  • 21
0 votes
0 answers
21 views

Unable to load user with ID

I have Joomla 3.10.11 and my PHP version is 7.3 When I change the username of the existing user to a number (example: 123456789) and login into the front end, the following message appears: Warning ...
3 votes
1 answer
141 views

Acess Joomla framework from external php file

Please advise on how to access the Joomla framework in 3.10 using an external php file in Joomla 3 which can work in Joomla 4 too I am getting this issue: Warning: Constant JPATH_BASE already defined ...
  • 395
1 vote
1 answer
47 views

Joomla function to list down models in 3.11 not working in Joomla 4

am calling file - getbrand.php to display list of models using ajax default.php <?php function brand_down(){ $db = JFactory::getDBO(); $sql = "SELECT * from #__car_categories where ...
  • 395
1 vote
1 answer
108 views

Better way to rewrite method without deprecated JRequest

I believe JRequest is deprecated in the latest version of Joomla 3, have rewritten this function: public function display($tpl = null) { $app = JFactory::getApplication(); $user = JFactory::...
  • 395
0 votes
1 answer
14 views

How to return Http 401 on Joomla Administrator for an unauthenticated user?

everyone How can I have /administrator/index.php?option=COM_MYCOMPONENT&controller=MYCONTROLLER&task=MYTASK return a "401 Unauthorized" HTTP error instead of redirecting to the ...
1 vote
1 answer
33 views

Suggestions for temporary fix with controller.php ($cachable = false, $urlparams = [])

I'm looking for a possible quick fix (temporary) for the follow error. This is on a Joomla 3 site, which I can only seem to assume was migrated from a Joomla 2.5 site which hopefully will be migrated ...
  • 604
0 votes
0 answers
39 views

php beginner: handling array in Joomla module

Newbie in php, I am trying to create a module to extract orders from Joomla database and plot monthly results as a yearly curve. I am trying to store first the products in an array, followed by a ...
  • 31
0 votes
1 answer
12 views

joomla php notice error of only variable should be passed in

Hi Getting php notice error of only variable should be passed in $this->assignRef('CatList' , $modelUsedcar->loadMainCat($brand,$Carmodel)); Can anyone suggest on how to make this function ...
  • 395
0 votes
1 answer
13 views

Menuitem form field type: show only components

I am building an admin side form and placed a Menuitem form field, that is working just fine. It is showing all the menu entries as expected, but I need it to list only the ones for "components&...
2 votes
1 answer
89 views

Show button for each iteration of foreach loop

I have built a module using Joomla's subform XML. The XML in the subform is <fieldset name="topics" label="Topic"> <field name="title" type="text&...
  • 2,066
2 votes
1 answer
1k views

Joomla 3.10 admin not working after upgrade to PHP 8

My provider has upgraded the PHP version from 7.4 to 8.1. I'm working with Joomla 3.10 and thought that no actions were needed since PHP 8 is recommended for Joomla 3.10. Since the upgrade was done, I ...
1 vote
0 answers
58 views

cart.json error in joomla

While checking error logs in hosting account, finding this error on few pages of cart.json not available i have checked source page, file and never had this kind of file or link cart.json in it Also ...
  • 395
1 vote
0 answers
80 views

"Call to a member function setState() on bool" with responsivizer component after upgrading from joomla 3.9 to 3.10

After updating my Joomla site from version 3.9 to 3.10, everything is working except the responsivizer component where I am getting this error in the backend: Call to a member function setState() on ...
  • 395
0 votes
0 answers
25 views

How to push the menu information for data layer in Joomla?

I have the same forms in different menus. When a user clicks the form link, it will redirect to the form page. In google tag manager, we need to track from which menu the user has been redirected to ...
  • 1
0 votes
0 answers
17 views

Joomla Taxibooking component - show price in two currencies

I'm using component "taxibooking" by Kanev and I need a solution for displaying price in two currencies. EURO is coming to our country and my shop will have to display prices in two ...
3 votes
2 answers
83 views

JCE Editor toggle editor button missing V2.9.32

I manage quite a few Joomla sites and following a stint of updates I've noticed that the Toggle editor button is missing on sites with JCE 2.9.32 Joomla 3.10.11. I had some sites which I was yet to ...
  • 604
2 votes
0 answers
37 views

Very slow HTTP response times possibly due to SEF rules in htaccess

Im running Joomla 3.X and can't seem to pinpoint why I'm getting such high HTTP response times. I think I narrowed it down to the SEF rules in my .htaccess I ran some tests and thought to post my ...
  • 51
1 vote
1 answer
111 views

Display google photos embed as a grid on joomla website (publicalbum.org)

I will upload a pretty large amount of photos on my website and I don't want to overload the server. I was thinking it might be a good idea to upload the images to google photos and embed them on the ...
0 votes
0 answers
18 views

Newly published article does not load

I have published a new article, which is in a published category and menu that contain other published articles. The article, which is public, goes to a 404 error page. The url of the article is: ...
1 vote
0 answers
55 views

How to change 'Response Headers "cache-control" '

I have got a site running on AWS using Cloudfront which is caching the site. I've got browser and page cache enabled in Joomla. However, when looking at the Response Headers, under cache control it's ...
  • 2,066
1 vote
1 answer
423 views

"Warning: session_start(): Failed to read session data" after upgrading from PHP 7.4 to PHP 8.0

After upgrading a stable Joomla 3.10.11 website from PHP 7.4 to PHP 8.0, the following error is displayed on the front end and back end of the website: Warning: session_start(): Failed to read ...
0 votes
2 answers
69 views

Not correcting redirect to 404 page if url not exist

Today I caught a bug with my 404 page redirecting. If I have not existing page like this https://domain.com/blablapage, redirecting to 404 is working all good. But if user go to url https://domain.com/...
1 vote
1 answer
55 views

Show images in Joomla 3.10 search results (com_search)

I want to show the intro image of articles in Joomla 3.10 search results (com_search). In previous Joomla 3 versions, I know that you could do this: Create template override: /templa tes/...
  • 11
0 votes
1 answer
60 views

J4, Custom Input Field SQL "WHERE" based on another input field

Having the SQL in the XML file to build custom inputs is great, I just can't figure it out how to link the value based on another imput... Say you have the Language Selection, then you want that value ...
  • 133
1 vote
2 answers
71 views

Custom Fields Implementation

I have a custom component I am creating. I am trying to implement custom fields for several of my views. I have custom fields added currently and I can create a custom field and custom field groups ...
  • 1,767
0 votes
1 answer
26 views

Discover uitlity not finding component

I'm developing a component and Joomla can't find it using Discover utility. This is my component xml file. <?xml version="1.0" encoding="utf-8"?> <extension type="...
  • 157
0 votes
0 answers
18 views

I have a problem with setup Joomla Trademark

Joomla sent me two link below, and i need update my site. https://tm.joomla.org/disclaimers.html For Extension Developer (JED) and Service Provider (JRD) websites: [Business name] and this site is ...
0 votes
0 answers
16 views

modal popup just after login

I am new to the Joomla world and I have to face a difficult problem. I have to make sure that immediately after logging in to the user, a modal popup with a select box is proposed. The content of the ...
  • 1
2 votes
1 answer
57 views

Joomla upgrade: 3.10.11 to 4.x

I am trying to upgrade my development server from 3.10.11 (which works fine) to 4.x in preparation for Joomla 3.x going out of support in August 23. When I do run the live update, I get an alert box ...
  • 351
1 vote
1 answer
44 views

Smart Search results missing a category and settings for paginated results

Joomla 3.10.11 I cannot find the settings for this. I have been experimenting with the native search, smart search and an extension for advanced search. We are most happy with the results from smart ...
1 vote
1 answer
24 views

Unable to install theme with live-preview features

I recently bought this template ("Beat" from WiselyThemes) and followed the instructions to make it look like the live preview the seller posted on Themeforest (http://preview.themeforest....
1 vote
0 answers
20 views

How to set another price (EUR) after current product price in Virtuemart 3.8.8

In current VM shop we need to add EUR currency next to domestic price, calculated by specific conversion value. I was hoping to do it with custom VM plugin, however I am having trouble finding ...
  • 41
2 votes
1 answer
89 views

Plugin to manipulate form data onContentBeforeSave

For a Joomla 4 project I wrote a Content Plugin to grab video thumbs from Video-URLs (Vimeo) the user adds into Custom form field of a frontend form. The following code successfully gets the video ...
  • 73
2 votes
1 answer
108 views

Joomla 3.x routing and slug problem

I have 1 component with 2 views - default is view1 - secondary is view2. When I associate it with the menu from the backend, Joomla creates the correct url with alias for SEO. Example: www.sitename....
1 vote
1 answer
21 views

Trying to find the right syntax for prefilling a subform in J3.10

I'm trying to figure out how to prefill subform repeatable fields - the situation is: /com_manufacturing/admin/views/document/tmpl/edit.php //some code <?php // $subform = JForm::...
2 votes
0 answers
120 views

The quickest way to get the POST object in Joomla 3 & 4

I've been creating a lot of webservices API endpoints in Joomla 4 lately and wanted to ask: "What's the simplest, fastest, most practical way to get the entire POST object when a controller ...
0 votes
1 answer
70 views

Article Show and Link to Article

I use the extension "Article Show" in Joomla 3 https://www.olwebdesign.com/joomla-extensions/article-show-joomla-module.html I create a module "Last news" with the position "...
0 votes
2 answers
165 views

Alias and title in article url

At the moment my joomla articles are using the alias in the urls, like that: site.com/menu/article-alias Now I need to add the title of the specific joomla article in my url, too. So I will have a ...
3 votes
1 answer
39 views

Adding a new view to built in component (com_tags)

What is the best way of adding a new view to an existing (built-in or 3rd party) component? In the particular case I want to add a better tag view to com_tags. The view in com_tags just lists the ...
  • 73
1 vote
0 answers
28 views

Error 0 after moving Joomla site to subfolder

As told in the title, I just moved my 3.9 Joomla site to a subfolder on my apache server. Unfortunately when I'm trying to access it, I get this error "syntax error, unexpected '}', expecting end ...
  • 11
0 votes
0 answers
50 views

Use Text Box Value In Query Of Separate Text Box

I have a field called Manager_ID and I want a drop down list of employees to be populated with the results of the query: SELECT * FROM employees WHERE managerID = Manager_ID How do I capture the ...
0 votes
2 answers
87 views

How to set error in component code for FormController

I'm creating a custom J3.x component. I'm manually adding my own error notices where needed via JFactory::getApplication()->enqueueMessage() However, when a record is not saved by my component, ...
2 votes
0 answers
42 views

Unit tests for Joomla 3 plugin

I have written some moderately complicated software for my Joomla site and want to improve on my code base in coming releases. To this end I am writing some unit tests however it's hard to run the ...
  • 351

1
2 3 4 5
64