All Questions

0
votes
0answers
12 views

How to construct a JOIN query with Joomla's query methods?

I'm really new to SQL queries but now stuck with this one. I need the first and last name of a user from table #__comprofiler where their cb_job_role = 'Team Leader' and their cb_service_name = [the ...
0
votes
2answers
21 views

How to check if specific table names exist in a database?

All I want to do is check if a table exists or not and I can't figure it out. I've tried: for ($r = 0; $r < count($tableArray); $r++) { $db = JFactory::getDbo(); $query = $db->getQuery(...
2
votes
0answers
23 views

$captcha->CheckAnswer() always retuns false

After a lot of struggle, I've figured out how to implement the standard Joomla reCaptcha. But now my problem is the verifying of it on the server side. The steps of the reCaptcha: I have a form ...
0
votes
0answers
9 views

email floading in forgot password and username [on hold]

In joomla an user an find its username and password by email verification. i just wanted that an user can send only one email per hour to retrieve username & password. and link should should not ...
0
votes
0answers
11 views

How to Create Yootheme Pro Template Style in Joomla

I building an e-commerce site with Joomla and YoothemePro template. I want to create my own custom template style that will appear under the STYLE section of the template just like the standard for ...
1
vote
0answers
14 views

Manage Categories in Site part. Is possible?

I use the com_categories in my custom component based on the joomla Docs Adding Categories. But I need to manage the categories in the site part. I was wondering if there is an easy way to do it, or ...
1
vote
2answers
30 views

How do I setup recaptcha on an override of “default_login.php”

I've set up the standard recaptcha plugin in Joomla. I did an override of the login page and it wasn't showing the recaptcha, so I tried to add it by following the answer from these pages: My Captcha ...
1
vote
1answer
21 views

How do I add custom css to a Joomla! Module?

I am using a module called JM - Inrto Articles which in short allows you to add little preview tiles of other blog articles that have been posted. Problem is, I want to edit this using my own css. I ...
0
votes
0answers
26 views

How to validate the Article - Intro Image field in the backend?

When managing an Article in the administrator/backend, it is possible to insert a non-url into the "Intro Image" field (located in the "Images and Links" tab). Upon clicking "Select" a modal window ...
1
vote
1answer
33 views

Showing a module only on first page of Category Blog

I am using this code to show a module inside blog.php: <?php echo JHtml::_('content.prepare', '{loadposition myModule}'); ?> How can I show it only on the first page of the category blog? I ...
1
vote
1answer
21 views

Upgrade component under development without reuploading files

I'm developing a component and as I make changes to the SQL update files and install files, I'd like to run the component upgrade process without having to package up the component and upload it. ...
0
votes
0answers
21 views

Why doesn't Joomla have code generation tools? [on hold]

I know there are extensions for code generation, but why isn't there anything part of core Joomla? The so called MVC pattern used by components is highly idiosyncratic, and a code generation tool - ...
0
votes
0answers
28 views

How can I align images (inline)

I am trying to align images in a div tag so they sit left or right of the text. I am using JCE Editor and if I align images in the image settings the image sits outside of the div tag ??? I am trying ...
2
votes
2answers
124 views

how to refresh Joomla token in form by AJAX

I've got a website that uses an AJAX call to login a user. To secure this, I've added a token to the login form - https://docs.joomla.org/How_to_add_CSRF_anti-spoofing_to_forms the problem is that, ...
1
vote
0answers
8 views

How to configure PHP basedir for Joomla running on IIS shared hosting

I have the following setup: IIS 10 with Plesk Onyx 17.8.11. Joomla 3.8.13/PHP 7.2.10. The website is hosted in shared hosting provider. After installing Gantry 5 I get the following warning on the ...
0
votes
1answer
22 views

Joomla editor field type text not posted when submitted

I'm working on a custom joomla module. It has a form with an "editor" type field. The fields are defined in the related xml file: <form> <fields name="main"> <fieldset name=...
0
votes
0answers
29 views

Error after moving site: Constant _QQ_ already defined

I moved my site with Akeeba Back Up and got this error message: Notice: Constant _QQ_ already defined in /var/www/vhosts/margreet.ch/httpdocs/libraries/src/Language/Language.php on line 18 Can ...
0
votes
1answer
23 views

How can I display a message based upon the value of a config item

I'm trying to show a warning based on robots being set to noindex or nofollow. I've copied the PHP Version quickicons plugin. Here's my php file. <?php /** * @package Joomla.Plugin * @...
1
vote
1answer
32 views

AJAX POST request with form Token always responds with “Invalid Token”

I'm sending data from a form with AJAX. The data is a username and password of the user, and therefore I want to make it as secure as possible. I'm trying to use a token as an extra security layer, ...
0
votes
1answer
22 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 ...
2
votes
2answers
80 views

Run function in com_content with ajax - doesn't call it corretly

I've been following this tutorial to make an AJAX login form. http://www.mysite4u.net/joomla-articles/jquery-ajax-joomla-login.html But I can't get it to work. The ajax call dosen't work. It gives me ...
0
votes
0answers
17 views

How can I add custom user fields to an article?

I have created a custom user field named "Gender" How can I show this field in an article. Apparently, i can show, username, name, email and User Id only. Kindly help
1
vote
0answers
16 views

Error during update from 3.4.8 to 3.6.5

When I try to run an update from Joomla 3.4.8 to 3.6.5, I get the archive file is corrupt, truncated or archive parts are missing and then it just spins. Googling is not a ton of help. ...
1
vote
1answer
22 views

Joomla 3.8 PDF view using DomPDF

I was searching a way to save a layout of my custom component as PDF. I tried various libraries JS / PHP. What I wanted was utf-8 support, tables, images to be properly saved in the pdf file. I ...
1
vote
1answer
20 views

Joomla table DESCRIBE

I'm trying to DESCRIBE a table in joomla 3.x I want to get the column names and the associated details (type etc) into an array. I want to get Name Type Collation Attributes Null ...
2
votes
2answers
45 views

How to query certain rows from a table based on other associated rows in the same table?

I'm trying to query my jos_rsform_submission_values table for FieldValue data in rows with a FieldName of Container# which shares a SubmissionId with another row where the FieldValue is "Pending" and ...
-1
votes
1answer
26 views

How to write a conditional check on a column value with a mysql query?

I am trying to setup a simple default statement on the results page of a testing system. This seems like it would be relatively simple, but I cannot get my if statement to process properly. The ...
0
votes
2answers
27 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 ...
0
votes
0answers
10 views

Prevent disabling/uninstalling single component from package

I have a package extension with 3 plugins and one library. All plugins depend on this library. User can go to extension manager and disable only the library which will prevent all plugins to work ...
2
votes
2answers
32 views

How to solve include_once() Warnings in tmp directory after migration?

After Joomla migration, I'm left with a few errors like: Warning: include_once(menu.php): failed to open stream: No such file or directory in /www/doc/www.elody.cz/www/tmp/htmlpaUI9p on line 1 ...
1
vote
1answer
41 views

in Joomla 3.8 default search tools do not respond in my own component and cannot set and get state of the filters

I try to get some help from you to spot what I am doing wrong (what I am missing) on applying search tools and filters in the admin of Joomla 3.8 in my own component. I am pulling my hairs out since ...
1
vote
1answer
62 views

Solidres Data Report for Joomla Admin

I am pretty new to Joomla & PHP so this is a broad question. My client is looking for some custom reports for Admin login on data prepared by Solidres as that Solidres doesn't have those reports....
0
votes
0answers
30 views

How to display image in a module position?

I am trying to include a banner in my website and I have made a custom layout with a block that specifies the position of this banner. I made the layout by including this code into the layout PHP file:...
4
votes
1answer
21 views

How do I get a watermark on a sigplus gallery?

I have install SigPlus 1.5.0.262 on Joomla! 3.7.5. I am just trying to get the watermark to work. I cannot seem to get it to appear. I think my issue is just where I am placing my image. According to ...
2
votes
1answer
17 views

How to count the rows in a database table that have a date in the current year?

I am writing a module that displays a count of the number of records depending on the date_time column. I am able to get the result that I am looking for when using a static date as below. However, I ...
1
vote
1answer
18 views

How to use “onUserAfterLogin” Event?

I want my users to get an email when they login for the first time. I am thinking to create an array to store userids that have logged in before. When users login, compare their userid with the array, ...
1
vote
2answers
46 views

How to write a query with a WHERE clause with two conditions?

I cannot seem to get this select statement to work with the WHERE conditions. Depending how it loads the data, I either get the first test result or all of the test results and not the user_id-...
0
votes
0answers
17 views

Joomla Seblod and jQuery conflict

I'm currently running into some issues with jQuery. On my Joomla I have the "Seblod" CCK installed. I then created a module in which I implemented the juicer.io social media feed. When I now try to ...
5
votes
1answer
47 views

Joomla Site not detecting https protocol

I have a Joomla site that I am finishing up and now loading onto the server that will host the live site. I'm now getting the following error in the javascript console: Mixed Content: The page at '...
2
votes
0answers
20 views

Getting Category's custom fields in a blog view

I'm trying to get the custom fields value of a category in a blog view. I have try the article item method but on the child item (supposed to be the current category item in the loop) : JLoader::...
0
votes
2answers
41 views

In custom fields, array_values() prints “Array”

From the code below, the output is <meta mytags="tags" content="Array" /> but if I echo the array_values($field->rawvalue), it displays all the populated values from the array. Can someone ...
0
votes
2answers
34 views

Joomla importer merger structure only merges first table mentioned in schema

Joomla importer merger structure only merges the first table mentioned in schema. Try this: $importer = new JDatabaseImporterMysqli(); $database = JFactory::getDBO(); $importer->setDbo($database);...
2
votes
1answer
26 views

How to reformat a date string? [duplicate]

I'm trying to enter the date in tags default_items.php (in an override) to see the date in tags list. I am using <?php echo $item->displayDate; ?> and this prints: 2018-08-04 06:04:37, but I'...
0
votes
0answers
46 views

Add meta tags from the contents of Custom Fields

A little out of my league here and related answers I have found just don't either work (for me) or don't explain it enough (again for me). I'm trying to add code to a plugin that will extract values ...
2
votes
1answer
45 views

Cannot update RokSprocket Module 2.1.x to latest 2.1.24

I'm having a issue with a module update in Joomla. I cannot update from RokSprocket Module 2.1.x to latest 2.1.24 I am getting the error on trying to update Error RokSprocket needs at least ...
1
vote
1answer
19 views

Manually render filter form fields in layout

I am using the searchtools filters in the front end of a custom component. So I am displaying the fields in my template : <?php echo JLayoutHelper::render('joomla.searchtools.default', array('...
0
votes
1answer
22 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: ...
2
votes
3answers
41 views

Confusion about using two select() method calls in one query

I am using Joomla's JDatabaseQuery methods to select some columns from two joined tables, but I don't understand something about the following snippet. //Initialize variables. $db = JFactory::getDbo()...
1
vote
1answer
25 views

Set featured article first in custom sort order

I am using a bespoke module (which has been inherited with the site) and the module sorts the articles shown based on the selected sort order from the XML params: <field name="sortopt" type="list" ...
1
vote
1answer
25 views

Save failed with the following error: Unknown column 'created' in 'field list'

As I develop the back end manage record functionality of a component, I am getting "Save failed with the following error: Unknown column 'created' in 'field list'" I built the helloworld component ...

15 30 50 per page