Questions tagged [joomla-3.x]

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

Filter by
Sorted by
Tagged with
0
votes
1answer
32 views

Get multi checkbox values from jpost [duplicate]

I can get my form data using $jinput = JFactory::getApplication()->input; $jpost = $jinput->post; $feedback = $jpost->get('feedback', '', 'STRING'); But I have a group of checkboxes[] and ...
0
votes
1answer
29 views

Update Joomla Site With FTP From Admin Panel

I just set-up a VPS and installed Joomla. Now I need to update. When I click on the update button, and I try to do it through FTP I get this error message JFTP: :connect: Could not connect to ...
1
vote
1answer
81 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 ...
0
votes
2answers
25 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
1answer
19 views

Render template on iframe by template ID

I am facing a problem with the rendering template after duplicating. The situation is I want to load a template on iFrame. So, I've set the URL of the iFrame like- Uri::root(true) . '/index.php?...
0
votes
1answer
30 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
0answers
15 views

Joomla multilingual site HTML tag attributes don't change after install k2 component 2.10.3

I found a problem in the "System - K2" plugin in version 2.10.3. When the "System - K2" plugin is enabled, if the site is multilingual, the language attributes ("lang" ...
0
votes
1answer
36 views

How to cancel a mandatory (required) field in Virtuemart form submission process?

I want to free my future site's visitors from having to fill out the form before submitting their name, e-mail and a phone No. Basically, in most cases it won't be needed for them to also add more ...
0
votes
1answer
53 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
1answer
40 views

Controller Joomla - Output Class construct for color css style

thanks to you i'm learning a lot about php and Joomla Develop! Many thanks! Now i'm trying to understand php class into joomla and construct output i've created this class into my controller.php ...
0
votes
1answer
24 views

Popular Tags module, show tags only from selected categories

I have a site with many articles, each articles has own tags, they are assigned to 3 main categories, lets say: Cat. "Blog Food": 15 articles with own tags Cat. "Blog Travel": 25 ...
1
vote
3answers
55 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 ...
10
votes
3answers
4k views

How to add separate admin menu for custom component

By default the custom component can be seen under 'Extensions' menu at admin side. But how can I create my own menu at the top near to 'Extensions' menu like 'My Component' and show sub menu links ...
2
votes
1answer
31 views

Joomla - Page Builder - With Publish Workflow

We have recently built a site on Joomla and have used the SP Page Builder. But unfortunately, the SP Page Builder does not have the Workflow / User Access mechanism where one set of users create the ...
0
votes
1answer
13 views

User profile control whether user can adjust their email address

I have a site set up that allows the user to login to a secure area. Everything works. I'm having a problem with the email address. The user registers with an email address which works fine. ...
0
votes
0answers
24 views

How to use fieldset in PHP joomla

I have following codes in XML file, <fieldset name="TEST" label="test"> <field name="TEST1" type="text" default="" /> ...
0
votes
0answers
20 views

Getting value from rows in admin list view

I have an admin list view. The mysql table for that view has 4 columns/fields: id, name, email, phone To that admin list view, I have added a button. A user can select one/multiple records in that ...
0
votes
1answer
154 views

Issues with cookie bot on Joomla 3x and jQuery

I am trying to install a cookie library on a site. We are getting jQuery is not defined from the cookie library. Presumably because it is being loaded before the jQuery library. The jQuery library is ...
0
votes
1answer
30 views

How can I get tags from a specific parent id in each post?

i will get tags from a specific parent id in each article my Tags list : . Id .... Name +..1......parent -..2......child1 -..3.......child2 +..4......parent2 -..5.......child1 -..6......child2 Post ...
2
votes
3answers
119 views

Dynamically removing single JForm option

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"...
2
votes
2answers
102 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 ...
0
votes
1answer
25 views

Difference between offset and offset_user

I've been struggling to get the correct date and time in a module. I set global config to London (i.e. GMT which is currently 1 hour ahead of UTC) I set the date in my component to 2020-05-10 12:50:...
2
votes
1answer
44 views

Impossible to create new Joomla User with User Class : Please enter your name

Dont' know why but since Joomla 3.9.22 (or 3.9 ?), when I create a User with User Class, I have the error "Please enter your name". But the name field is not empty. Here is my simple code : $...
7
votes
3answers
9k views

Custom Component - Need to verify if user is logged in

I'm developing new MVC custom Joomla component (com_helpdesk) and need to verify if user is logged in to site. If not then it should redirect to the login page with "return" parameter. Could someone ...
0
votes
1answer
181 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\...
1
vote
0answers
38 views

How to avoid downcasing of search words?

Relevance of case information differs from language to language. In English, it might be low, but consider cases like "who" vs "WHO" and "us" vs "US". In German,...
0
votes
0answers
29 views

How to disable all stop words? [duplicate]

As I am using a cognitive search engine for the sitesearch in a Joomla installation, the stop words defined in de-DE.localise.php are detrimental because a search engine that understands natural ...
0
votes
0answers
13 views

DOM between top menu and footer sometimes not rendering on Joomla 3.9.21

I'm the admin of https://truckercheckin.com which is pwa based on Joomla 3.9.21 and LITESPEED with REDIS. Sometimes my app does not render as it should. When I have "huge" traffic, sometimes ...
0
votes
1answer
47 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
0answers
24 views

Remove icon-calendar from displaying from entire Joomla website?

Is there a way to remove the icon-calendar from displaying throughout the entire Joomla website, without having to do an override on a bunch of .php files? Could this be done with CSS? Or possibly ...
0
votes
1answer
1k 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 ...
2
votes
2answers
2k views

Failed to Read Session Data After Renaming DB

Joomla 3.9.11 Working on localhost, today I decided to rename my database from dbtest to dbnew. I did this using HeidiSQL > rename db When I visit my site I now see the following error; Warning: ...
1
vote
1answer
55 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://...
0
votes
1answer
33 views

Joomla Contact Form's and some of RS Form's fields aren't editable (disabled)

I've noticed that Joomla Contact Form's and some of RS Form's fields aren't editable (disabled). I think it's probably because of wrong settings of Joomla ACL for a public access to the fields, but I ...
0
votes
3answers
179 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 ...
2
votes
5answers
8k views

Can't log in with admin, no error messages

It looks like that I can't log in to my Joomla back end anymore. No error messages are shown, the log in screen just stays there. If I enter a wrong password on purpose, I get a warning that the ...
1
vote
1answer
119 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
1answer
100 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 ...
1
vote
1answer
261 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/...
1
vote
1answer
42 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
158 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 ...
2
votes
1answer
436 views

Unknown extensions - 1062 Duplicate entry '0' for key 'PRIMARY'

I'm using Joomla 3.9.14 Release and am no longer able to add new articles or extensions. The original installation was 3.7.x on which I recently encountered this problem. On the main administrator ...
0
votes
4answers
349 views

Internal (but non-joomla) URL as Menu Item

The Goal We have a subset of items on our site that are not Joomla pages, but other systems such as a selection of HTML5 and Flash (for now) Games: /play /photobooth etc. These should only be ...
0
votes
1answer
57 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 ...
0
votes
1answer
264 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: ...
0
votes
1answer
50 views

How to render nested modules, (parent outside articles)

I tried the following code: $document = JFactory::getDocument(); $renderer = $document->loadRenderer('modules'); $position = 'precisions'; $options = array('style' => 'raw'); echo $...
0
votes
1answer
156 views

Tracing source of this error: Call to a member function reorder() on boolean

Is there a way to trace this error: Call to a member function reorder() on boolean I'm checking my PHP Logs but this particular error isn't showing up there. It happens when I'm trying to create ...
1
vote
1answer
35 views

How to get user object in Ajax call

I want to access the currently logged in user in my Helper function using AJAX. function editUser(){ runAjax('editUser',"one"); } function runAjax(type,regHtml){ request = { '...
5
votes
1answer
1k views

Unpublish, Trash or Delete buttons in the Frontend

I want to create some of these buttons in the frontend List view. I added checkboxes to the table and used the Using_the_JToolBar_class_in_the_frontend tutorial to put Save and Cancel buttons. Also ...
0
votes
1answer
28 views

Why are all permissions allowed for every user group

For some reason I can't deny permissions to some actions. Everything has in green: Allowed (Super User). Even when the setting is set to denied. For example here: in the public user group I set site ...

1
2
3 4 5
59