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.
3,185
questions
0
votes
1
answer
556
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
1
answer
58
views
Joomla admin session ends prematurely
I've been having this strange issue. I transferred my site to a different hostname and now when I open site's pages while being logged in Admin panel of Joomla, it logs me out right away. But only in ...
0
votes
3
answers
189
views
Unable to Login to my Joomla Site
Am unable to login to my joomla site al of the sudden despite having the right credentials. I have changed the password via my phpadmin but in Vain. I tested it with wrong/non existent logins and am ...
0
votes
2
answers
459
views
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 which picked an ID based on what line was clicked.
<td width=124><a href="tp/package.php?ID=<?php echo $row[0];?>">...
1
vote
1
answer
118
views
Virtuemart 3.4 - products on manufacturer page
Virtuemart 3.4.2, joomla 3.8
i try copy code from category template, but cant fix this errors:
at /my_template/html/com_virtuemart/manufacturer/details.php
NOW I HAVE Two ERRORS:
Call to a member ...
1
vote
2
answers
53
views
Is it possible to change the parent of a menu item at certain widths?
I have a horizontal main menu in which the last item is a dropdown containing further items.
Is it possible, as the screen width is reduced, to move items from the horizontal menu into the dropdown?
...
0
votes
1
answer
33
views
Tags not saving for Joomla category custom component with the correct entry in the #__content_type for the Joomla 4 and Jooma 3
Created field type category in the custom component com_drawing
but not able to save the tags in the category(refer to the image)
Table entry in the table #__content_types
INSERT INTO #...
0
votes
1
answer
54
views
How to show k2 article previous date only and upcoming only
I am creating k2 articles as events. There will be:
Upcoming events
Old events.
I am not able to show old events for current date. How to filter both types of events (Upcoming/Old) with ...
1
vote
1
answer
36
views
admin edit.php saves but doesn't retrieve data from "params" database field
I have a config.xml with some parameters for my component.
I need to define these parameters for each individual item.
So in admin/models/forms/myview.xml, I've written my fields:
<fields name=&...
0
votes
1
answer
139
views
How to redirect all exceptions/error to a 404 page or back to home page
I'm currently using Joomla and we have a small security vulnerability in our URI. Currently, it displays the Exception/Error directly to the user like so:
You have an error in your SQL syntax; ...
0
votes
2
answers
81
views
Multple urls for a product with multiply categories
I have a cctv camera shop and
I'm using the last version of joomla and virtuemart.
I have a "bullet hd camera" the categories are:
camera --> hd-camera --> bullet-hd-camera
bullet-hd-camera is ...
1
vote
3
answers
130
views
How to inject a custom message in joomla update without touching the core code
I created my own component in joomla and I want to show a custom warning when my users want to auto update the component. When they try to update it joomla could not find the zip file and return a ...
0
votes
1
answer
99
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
1
answer
51
views
CSS position: absolute doesn't display correctly on Amazon Fire tablet
I have a Joomla 3.9x website with a custom responsive menu. Each menu item in the top level has a pseudo ::before element displaying icons from a custom font. If the item is a menu separator, then the ...
0
votes
2
answers
96
views
Page url is damaged when changing language back to the default language
My site is running on Joomla3.
When I load my page for first time everything is fine (the default language is Spanish) -- even if I navigate in menus.
However, when I click the English flag and I ...
0
votes
1
answer
56
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:...
3
votes
2
answers
406
views
Edit Contacts on Front End
Joomla 3.9.14
Is it possible to edit a list of contacts from the front end?
I need to display a list of contacts from a certain category, and allow administrators to edit their details.
Currently ...
1
vote
1
answer
65
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 ...
0
votes
1
answer
238
views
Using a custom field with different names
I want to use a flexible field name for a field across different forms thru my extension.
My custom example field looks like this:
defined('_JEXEC') or die;
use Joomla\CMS\Factory;
use Joomla\CMS\...
0
votes
1
answer
57
views
Virtuemart Call for price form submission allows user to got logged in to the frontend of the website
Virtuemart Call for price form submission allows user to got logged in to the frontend of the website if the user has a account with a submitted email id. how to get resolve this issue?
0
votes
1
answer
30
views
Home flag in content languages is set to NO and cannot be set back to YES
I am trying to build a multilingual site with Joomla 3.9. Due to unknown reason, one of the "Home" flag in content languages is set to "NO" and I can't set it back to "YES&...
1
vote
1
answer
27
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....
0
votes
1
answer
178
views
JRoute does not show the URL it is supposed to
I have the following problem:
I set a URL with JRoute like this:
JRoute::_('index.php?option=com_gallery&view=gallery');
This gives me example.site/gallery, which is correct, however, if I ...
0
votes
1
answer
2k
views
How to change the default page in the Language Switcher?
I am creating a multi-language page in Joomla with 5 different languages.
Everything is ok except for the language switcher.
My home page is set for English, when I try to change the language from ...
0
votes
1
answer
47
views
How do I modify the CSS class on a specific page in a Joomla 3 template?
I upgrade a site template from Nebulae - version 1.6.3 to the latest version 1.16. Nebulae Template
The new template change the rt-container children class from this:
to this:
As you can see, the ...
1
vote
3
answers
360
views
How to iterate over the "params" of an item ZOO Joomla?
The item of my interest is in the __zoo_item table. My query:
$query
->select($db->quoteName(array('params')))
->from($db->quoteName('#__zoo_item'));
$db->setQuery($query);
$...
2
votes
2
answers
102
views
Adding articles to a local copy, then pushing them to the live version
We have a client who was getting errors when trying to add a lot of articles (like a dozen) to their live site in a short time span, but we found that after moving their site to a localhost they did ...
1
vote
1
answer
153
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
3
answers
663
views
Multiple Slashes in URL
I'm having a bit of a strange problem on a couple of Joomla sites and I'm not really sure where to start with figuring out what the problem is.
When I crawl the site with Screaming frog, I am getting ...
0
votes
3
answers
622
views
Joomla 3 call model function inside controller
I want to call a function from model inside controller
my model : httpdocs/components/com_storemanager/models/searchmanager.php
<?php
/**
* @version CVS: 1.0.2
* @package ...
1
vote
1
answer
387
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
/...
2
votes
1
answer
82
views
Joomla Tagged Blog of articles
I managed to create a 2 column blog view of articles on a Joomla 3.9 website using the guidance in this post, along with some additional linked advice on adding a "readmore":
How to show ...
0
votes
0
answers
32
views
500 Joomla\CMS\Form\Form::getInstance() could not load file on Multicategories Component
I have a site that I upgraded from Joomla 2.5 to 3.10.12. The previous site is using Multicategories v1.0.4 component, it doesn't work on Joomla 3.10 and there is no update from the Author so I tried ...
2
votes
1
answer
396
views
Get menu-meta_description from menu item
I need to add meta description inside a component page. That's what I tried:
$menu = $app->getMenu(); // Load the JMenuSite Object
$active = $menu->getActive(); // Load the Active Menu ...
0
votes
1
answer
57
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
399
views
Product url problem after updating VirtueMart
In my VirtueMart Configuration under the SEO tab, I've checked "Use full category tree for product links"
so my products detail page default routing was like this:
example.com/cat1/subcat1/subcat2/...
0
votes
1
answer
477
views
Joomla 3.9: Menu item set to Separator is not clickable to reveal sub-menu items
I am building a website in Joomla, and I'm trying to make a menu in which some menu items should not have any article associated with it; clicking on them should only reveal the sub-menu items, but ...
0
votes
1
answer
427
views
Fatal error: Call to undefined method InvalidArgumentException::getlevel() in l/libraries/legacy/error/error.php on line 536
I've done a website transfer from one hosting provider to another one. I managed to make the website live in the new hosting, but can't access the Joomla! administration area.
I get this error:
...
1
vote
1
answer
70
views
How to add GET parameter to CSS filename in plugin JCH Optimize (Joomla)
I cannot find an answer to for several weeks. Perhaps my experience in development is not so great :) One site uses the JCH Optimize plugin and I noticed that after clearing the old memory (cache), ...
2
votes
1
answer
101
views
Ask for confirmation before extension update via update server
We are implementing an update server feature for our custom Joomla extension.
Is it possible to add confirmation text after selecting the extension and require the click of the update button before ...
17
votes
4
answers
35k
views
Adding custom CSS styling on some of my pages
I would like to add custom CSS styling to some of my pages to give them a unique style, and override the default template styling.
How can I achieve this in Joomla?
2
votes
1
answer
234
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
125
views
Install Joomla On Windows 10 And Use MS SQL As Back-End
I have Windows 10 and IIS up and running, I was wanting to know if there was a way to set-up Joomla with MS SQL on windows 10 and IIS?
0
votes
1
answer
78
views
SEF url and custom view
Was able to create a custom component and a custom view which I went ahead and attached a js library to.
Now to achieve my desired functionality I need to create a custom url(SEF) in my route.php file,...
0
votes
1
answer
169
views
Manually render Clear form button in layout
I followed instructions here and I render some fields in my front end view, like this:
echo $this->filterForm->renderField('search', 'filter');
Now I wonder how to manually add a clear button.
...
0
votes
1
answer
178
views
Remove index.php - file on multlilingual Joomla Site
As supported by various posts, I did :
change the htaccess.txt - file name to .htaccess via FTP
set the URL - Rewrite Option in the Joomla Configuration Options to "YES"
Result:
- index.php is ...
1
vote
2
answers
115
views
Individual user fine grained ACL is it possible in Joomla! 3.x
I was wondering if it was possible in Joomla! 3.x to have permissions down to individual user level.
Eg:
user A can see item X but not user B even if user B is in the same group or have the same ...
1
vote
1
answer
2k
views
Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite()
I'm having this error in Joomla for some reason:
Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite()
I see other posts with this error, but I suppose they are using ...
0
votes
1
answer
77
views
Change boolean field in JModelList table like "published"
Joomla 3.9.10.
I have custom component. In admin panel I show items list from one DB table with JModelList.
models/mycom.php:
class MyComModelMyCom extends JModelList {
public function getItems()...
0
votes
2
answers
161
views
Custom Component - Copy / Archive record when values change
For a custom component, I want to incorporate a way of keeping track of changes made to records in specific tables.
For example, when the mileage value of a car is changed, the record having the old ...