All Questions

0
votes
1answer
28 views

How to create 2 menus inside one component view

I've create a component called testComponent with a specific view called collection which needs to have 2 layouts the default.php and the list.php. I need to make both default and list as menu items ...
1
vote
0answers
376 views

0 Class 'JToolbarHelper' not found

I upgraded my Joomla website and I am getting the folloing error: I added following code: if(!class_exists('JToolbarHelper')) { require_once JPATH_ADMINISTRATOR . '/includes/toolbar.php'; } to ...
3
votes
3answers
228 views

How to check JSESSION in javascript

I am developing a component and I use ajax calls to do some tasks in the frontend. I have come to a problem when the session is expires and I don't want to use keepalive to solve it. In the frontend ...
1
vote
1answer
228 views

Update path does not exist. / Error updating COM_INSTALLER_TYPE_TYPE_

Since upgrading to J! 3.9.0 I'm getting this error on EVERY extension update except for the few who use an update routine that appears to bypass normal Joomla workings - StackIdea's EasyBlog and ...
4
votes
3answers
185 views

Is there a way to add rel='preload' using addScript/addStyleSheet?

I want to display some of the styles and scripts using rel='preload' to make my pages load faster - referring to the Google Lighthouse. <link rel="preload" href="style.css" as="style"> <link ...
0
votes
1answer
28 views

Bulk delete disabled k2 users Joomla 2.5

I have thousands of spam users. I use K2 and I would want to delete them from "k2_users" and from "users". I want to delete the blocked ones. I have tried deleting K2_users from the admin, but it does ...
0
votes
1answer
57 views

Similar tags module with image and introtext

For the native Joomla module "Similar Tags", we have only the article title. How to have also the introtext and the intro image? Here is the native code with my code tests : defined('_JEXEC') or die;...
0
votes
1answer
43 views

How to override schema of link in menu?

I am currently creating a template for Joomla v.3.9. The accordion menu is already included. For this I made an "Override" by copying the folder "mod_menu" into the template folder and adjusting it. ...
1
vote
1answer
50 views

SQL Error when updating custom component in Joomla 3.9

I have a custom component and I want to add language filter to my extension. So in my sql update file I added the following two lines to Alter my tables. ALTER TABLE `#__contract_contracts` ADD `...
2
votes
1answer
33 views

How to create two different template overrides for the start page and featured articles?

I'm new to Joomla and currently creating a template for my website. Unfortunately I'm facing a problem which I did not found out how to solve. I wanted a front page which is different from the rest ...
0
votes
1answer
97 views

Retrieve values from a custom field in Joomla 3.8

excuse for my English. I try to retrieve my value from a custom field in com_categories. I added this field by a plugin. My value is correctly saved but i don't why, i can't retrieve my value from ...
2
votes
2answers
41 views

How to include scripts in <head>

Ok I am having a hard time with this one. I just inherited a 3.8.x Joomla site and all I'm trying to do is include a GTM script in the head of the document. What's happening is that anything within ...
1
vote
0answers
31 views

Caching a page separately for users and guests?

I've written a custom component and I'm trying to improve its performance by including Joomla's caching. One view has additional detail which is only included for logged in users. I've been ...
0
votes
1answer
56 views

MySQL update select one table from another

I'm struggling to get this MySQL query to work and hoping someone out there can help please. I wish to "copy" one record from table traincomprofiler to course_dates where both tables share the column ...
2
votes
1answer
32 views

Number parsing and formatting, according to the user locale

I'm wondering if there is J-API way to parse and format numbers (like JDate). When you convert decimal numbers into different locales, the user can enter numbers in this way "1.234.567,891" and ...
0
votes
4answers
42 views

Edit HTML-Code of specific Joomla Page

I am a Joomla Beginner and would like to know, how I can edit the HTML-Code of a specific webpage in Joomla. I am not talking about editing an article, but the whole URL. And just a single one! Is ...
0
votes
1answer
28 views

Ordering Joomla menus in code

I am trying to order jos_menu items by the order in which they appear on the menu, i.e i am using jdatabase sql queries to fetch menu objects then itarate through them to display them i know that ...
1
vote
1answer
30 views

Upload and download Joomla

I need to create a knowledge bank portal where user with permission can upload and also download the document such pdf,docx. The other user such as public can use search to search document and ...
1
vote
0answers
26 views

How to link to external file that contains a link to the Boostrap stylesheet and another for the js files

I have several Joomla 3.9 websites now using Bootstrap 4x - currently v4.1.3. In the head of the index.php file for each website is this link: <link rel="stylesheet" href="https://stackpath....
2
votes
1answer
28 views

I cant access all my joomla admin menus and menu labels have weired symbols, How can i resolve this?

I am from migrating a joomla website from server A to my server B but i other parts of the website work fine but my administrator side or backend has the following issues. I am not able to access all ...
1
vote
2answers
48 views

JApplicationCli command line interface app does not work as explained in the tutorial

I have a Joomla website and I'm working on a Joomla command line interface application that would do some scheduled maintenance tasks. I follow the below article in building the cli app: https://docs....
1
vote
1answer
213 views

Custom Fields inside module override

I am using this code inside a module override that render articles, to show the custom fields: <?php $id=$item->id; $db = JFactory::getDbo(); $query = 'select * from #...
1
vote
1answer
43 views

How to enable AMP / accelerated mobile pages in joomla?

is there any plugin which is able to render any existing template into a AMP / accelerated mobile page? I use mostly gantry for theming and would like to enable AMP for all my managed pages.
0
votes
2answers
56 views

How to correct a sesssion_write_close() warning?

I have the following error shown on error log. But I am a Joomla novice. Could I get a simple step by step guide on how to solve my WSOD problem here? [10-Nov-2018 07:48:20 UTC] PHP Warning: ...
-1
votes
2answers
154 views

Why in Helix 3 framework from template disappears webfonts list?

I have these kind of errors: Undefined property: stdClass::$items in *\plugins\system\helix3\fields\typography.php on line 30 Invalid argument supplied for foreach() in *\plugins\system\helix3\...
3
votes
2answers
64 views

Joomla Discover is asking for FTP Login Details

I am working Joomla! 3.9 website and wanted to check that all extensions etc were installed correctly. I used the Joomla Extensions > Manage > Discover option. Nothing was found but above the ...
-1
votes
1answer
416 views

Problems When I change my PHP version to 7.2(Error 0 Using $this when not in object context )

I have my website in production now, The site works very good with PHP 5.6 and 7.0 but When I try to change the PHP version to 7.2 the website doesn't work. It shows me an error message like this: I'...
1
vote
0answers
55 views

Does JRoute by default finds path to menu link (SEF)

What do I understand in Joomla is that until you create a menu for a specific view you will be getting component links to its views, in this manner: component/component_name/location/new-york (ex #1)...
0
votes
1answer
22 views

Group of fields for different group of users

I have custom field "Client type" in registration form, which I created in Users->Fields. Already I have next usergroups: Registered Subgroup of Registered - Human Subgroup of Registered - Company I ...
3
votes
1answer
90 views

Getting reply to bump post in JComments, factoring in another query

I'm posting this in hopes someone is familiar with the variables and objects and all of that in different sections of JComments. I use a query in tpl_tree.php to get the date of the last reply made ...
3
votes
1answer
100 views

How to write a query with GROUP BY and ORDER BY using Joomla's query methods?

I have the following query that I need to convert to Joomla using JDatabase. This query executes as intended in the phpMyAdmin. SELECT `id`, DATE_FORMAT(`estEventDate`, '%b %Y') AS estDate, COUNT(`id`...
2
votes
1answer
36 views

MVC what stage sets a task if none provided

I am trying to understand Joomla's MVC logic. please help me figure out the processing of the task Unedited code from a Joomla package has the front end article edit form with the task field, but its ...
4
votes
1answer
44 views

Can Smart Search index menu items or custom modules?

I am using Joomla v3.8.13 and have enabled Smart Search v3.0.0 which is indexing articles correctly. I've also installed ChronoForms by ChronoEngine to create a Contact Us form and some other forms. ...
1
vote
1answer
30 views

Adding multiple Models into a component.

in my component Centros I have the view and model for Hospitals, working fine. I want to call a general model. general.php located in the models folder. class CentrosModelGeneral extends JModelItem ...
3
votes
1answer
44 views

A solution to enter Username instead of E-mail for “Reset Password”

I currently work on a project where all the users have unique usernames but not unique email addresses. This is a problem when using the Reset Password feature because out of the box you need to ...
3
votes
1answer
243 views

autocomplete disable in joomla administrartor

I want to disable autocomplete login details when i am click on administrator login. I tried autocomplete ="off",oncopy="return false" onpaste="return false" but nothing work. I know it's a browser ...
1
vote
1answer
757 views

“0 Class 'JToolbarHelper' not found” error while trying to login to the backend

I am trying to login to the backend of my Joomla installation and have this error: 0 Class 'JToolbarHelper' not found I'm not sure how to fix it. I updated the tmp directory in the server setting ...
1
vote
1answer
48 views

Custom header content depend on article

I am wondering is it possible to have different headers depending on the different articles? e.g article ID 1 shows header A and article ID 2 shows header B. Currently I have modified the template ...
2
votes
1answer
68 views

Using language constants in external file

How can I use language constant like JText::_('MY_STRING_FROM_INI_FILE') in external file? UPD: I include joomla system files require_once JPATH_BASE . '/includes/defines.php'; require_once ...
-1
votes
3answers
110 views

Joomla pagebreak causing 404 error in custom pagebreak coding. Seeking a solution

I wrote a function in an article override to search a folder for images and create a pagebreak behavior per image in an article. All works fine except for a 404 error being returned for each ...
-1
votes
2answers
126 views

Joomla session get function return old values and don't update with new value

Apologize for my English. I have a boring and very vital problem with Joomla! Session. When a table of data appears on the first page, a series of information is stored in the session as follows: $...
0
votes
1answer
55 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
votes
2answers
234 views

Uncaught TypeError: Cannot read property 'HTML' of undefined

I'm pulling a module from our Joomla site to host onto our local servers and put back into Joomla as an iframe. I've gotten the source code, set up the database to mirror that of the Joomla. When I ...
2
votes
1answer
83 views

Unable to approve user registrations via email link

Since the latest update of Joomla I can no longer approve a user via the link in the registration approval email. As of 3.8.13, Joomla is securing the process on approving an user after an email ...
1
vote
2answers
53 views

Avoid login from onUserAuthenticate

I'm trying to dismiss the login if my $completed var is false. I can make it work with die() but I wan't to know how to do this correct, so that the user gets returned to the login page with a error ...
-1
votes
1answer
82 views

Joomla 3 temporary accounts [closed]

Developing a testing system as a diploma. Got a question. registration for users who will take the test should be avoided. I thought to create temporary accounts, which after the passage will be ...
1
vote
1answer
106 views

How to login via url

Any way to login direct with URL without user need type user and password? I need some simple to run in my intranet. Some like http://mydomain.com/?user=name?password=9999
3
votes
2answers
45 views

I would like to add a string after 'script' at JHtml::_('script', $file, true, true);

Inside the recaptcha.php file of the Recaptcha Plugin on Joomla 3.6, I have the following code: case '2.0': $theme = $this->params->get('theme2', 'light'); $file = '...
1
vote
1answer
36 views

Admin side login template override, extra field on login

I want to add an extra field onto the admin login page. I already have the front end login override sorted, just having trouble with the admin side. I copied file. administrator/components/com_login/...
1
vote
0answers
37 views

Joomla add article & extra field values from custom component

I have a custom component, from which I am taking my data & creating a new article with extra field values(from code). Below, is my code & attempt. JLoader::import('components.com_content....

15 30 50 per page