All Questions

2
votes
1answer
34 views

How can you hide Joomla admin password while inputting the characters?

I have followed the advice at autocomplete disable in joomla administrator. How can I hide the password characters while I am typing without losing the functionality provided by Zollie?
1
vote
1answer
15 views

Menu has > symbol

My bottom menu in the footer position has a greater than symbol (>) or chevron that appears before every menu item. The menu appears at the footer of this website: https://www.brettvachon.com/ I ...
0
votes
1answer
21 views

How to retrieve do JomSocial Activity Link based on activity ID?

I have this situation: <?php foreach ($activities as $activity){ // user $user = CFactory::getUser( $activity->actor ); $name = $user->getDisplayName(); $link = CRoute::_('...
0
votes
0answers
12 views

Joomla main page header length maxmizing

Unable to adjust main page header length of the Joomla karoltheme template(v 3.9.1). Tried changing the template.jss but failed. Great to know the correct way of adjusting the main page header length....
1
vote
3answers
22 views

Joomla forgets session (cookie) straight after login

I'm currently trying to move a Joomla site to another host. For testing I created a duplicate of the site with a different domain (I don't know if this has anything to do with my problem). The ...
1
vote
0answers
18 views

Code for the Content Language Field type

What is the proper way to call for the Content language field type. My below code works but I don't use the content language field type. I am building a drop down from all available languages. $...
1
vote
4answers
45 views

Create menu item type with filter options

I am building a component managing a set of job offers. Jobs have attributes including "employer". (I am extending a component created with Component Creator.) There is a front-end list view with ...
0
votes
1answer
33 views

How to get the canonical SEF URL of an article in PHP?

Is there any way to get from the article it's SEF URL? <?php $id = JFactory::getApplication()->input->getInt('id'); $article = JTable::getInstance("content"); ?> searching ...
1
vote
2answers
433 views

Selecting data from 2 tables and inserting into a 3rd table

Could someone help me to create a query using the Joomla API? I've been going round in circles. What I have so far: <?php // Get a db connection. $db = JFactory::getDbo(); // Create a new query ...
1
vote
2answers
2k views

Check if items from an array exists in table and if not insert them into new records?

I have an array of image file names which i want to compare against a table in my DB, if the filename is not present then i want to insert it. I have started work on the insert statement, so i will ...
7
votes
2answers
312 views

Work under version control (git)

I have to work with some other people to develop a web site using Joomla. We will create our personal template and we will install and maybe modify some extensions or plugin. We will work in different ...
3
votes
2answers
6k views

Do I need to complete the cookie domain and path information in Joomla?

In the Joomla backend, under Global configuration -> Site I have the following cookie setting information My Joomla website seems to work fine without having completed the cookie fields, so my ...
1
vote
3answers
6k views

Joomla 404 always redirects to homepage

I'm having issues getting the proper 404 page (templates/MY_TEMPLATE/error.php) to work. I've spent hours reading through and trying every example or fix listed on Stack Exchange and other sites with ...
0
votes
1answer
79 views

Error trying to update above PHP 7.1.27

Trying to update PHP from 7.1.27 to 7.3.3 and can't seem to. Set error reporting to max and after awhile of loading these are the errors I get on top of a white screen (admin also gone) Warning: ...
1
vote
0answers
16 views

Embed a leaflet map

I'm using Helix Ultimate alongside Joomla 3.9.6 with Sourcerer installed and want to embed a leafletjs-Map. According to leaflet's documentation, I need to load their CSS as well as their JavaScript, ...
3
votes
1answer
640 views

How to conditionally show fields in module xml?

I created a simple module to enter values in textfields which I show in module positions on the frontend (banner images...). Now I need a solution like if dropdown value in fieldname "xy" is "xyz" ...
3
votes
3answers
414 views

How to create a custom script to force the download of a .csv file that is generated in real time?

So I've been handed a custom administrator module which simply displays database table data in an HTML table. My task is to create a clickable button on the module that will generate the csv data on ...
1
vote
1answer
22 views

Joomla Warning Showing Incorrect PHP Version

Using Joomla 3.9.8 I recently migrated from localhost (PHP 7.1.9) to a live server (PHP 7.2) On localhost my site was installed at localhost/mysote. On my live server it's installed at dev.example....
2
votes
1answer
45 views

Adding Additional Fields to Admin Component

I'm using Joomla 3.9.1 and SP Simple Portfolio v1.6 I would like to add some additional fields to the SP Simple Portfolio component. Image of current fields (taken from Google); How can I add ...
1
vote
0answers
10 views

Problem with IIS rewrite non-www to www and https

I've been trying for a few hours now to set up a non-www to www redirect on IIS 8.5 and am failing miserably. I am able to get the home page to force www but all other pages fail. I'm not really an ...
0
votes
1answer
41 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
3answers
37 views

(Module override/PHP) Checking if a content-item has an image otherwise display a placeholder

I am customising a Joomla module (Override) and it does not seem to accommodate if an image is not selected (just shows a broken image symbol). What I'd like to do is check if there is an image and ...
1
vote
2answers
85 views

Create an image overlay on rollover in SP Page Builder

I am trying to create a rollover effect as can be seen here but am struggling as to the best way to do it. The client has requested that the site be built using SP Page builder as they want to ...
1
vote
1answer
112 views

How to clear page and component caching by a URL in Joomla 2.5.x?

There is a website made in Joomla 2.5.x. It has System Cache enabled. The website contains a component called com_magic that handles URLS like: https://websiteurl.com/bikes?view=best https://...
1
vote
0answers
23 views

Google Search Console Crawl Anomaly in Joomla 3.x

Check the URL - no errors https://www.dach-spengler.eu/sitemap.xml https://www.dach-spengler.eu/robots.txt In the google search console, I got the error: Crawl-Anomaly Submitted Sitemaps Status ...
0
votes
2answers
32 views

Cannot install due to memory being exhausted and duplicated software

I have a problem with a Joomla! site that I did not build. It is due to memory being exhausted. When I try to install I get this message: Fatal error: Allowed memory size of 134217728 bytes ...
0
votes
0answers
19 views

Javascript in administration (modules / content-plugins)

i have one doubt / question and don't know how to solve it: Imagine you have a subform-field with the multiple-parameter active to add multiple content-blocks, now, the thing is, in real life there ...
2
votes
3answers
2k views

Script using JMail not sending the email

I have a component that I built to make calculations. I would like to allow the person to email their results to themselves. I have tried to create a mail function in the controller of the default.php ...
0
votes
1answer
629 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'...
4
votes
4answers
3k views

Jimport - Is it required anymore?

Back in the Joomla 1.6/1.7 days, my understanding was that when you wanted to use the filesystem API, for example: JFolder::create(...); You had to import the Filesystem using jimport, like so: ...
0
votes
1answer
34 views

Module Template/alternate layout Name language Override

Is there a way that I can create a module template and give it a name with spaces? At the moment it takes it's name from the file name, but that is not very neat for the user. Can we create a ...
1
vote
1answer
52 views

Using Link A instead of the title link

I am using the module Articles - Newsflash to show a category of mine, which works just as intended. Now I can see all intro images of the selected articles and also some corresponding text. ...
1
vote
1answer
30 views

mklink and JFolder: :folder: Path is not a folder [due to is_dir()]

Joomla is on Win2012 R2, XAMPP, Fabrik. I created a symlink like so: C:\Users\Administrator>mklink /D "C:\xampp\htdocs\pdf" "Z:\" symbolic link created for C:\xampp\htdocs\pdf <<===>> ...
1
vote
1answer
48 views

Translate only one string in component rest of component stay with default language

Is there a way to translate a single string with a language that is different from the default language? (Google search did not lead me to a solution.) Example code that does not work: // This shows ...
0
votes
1answer
16 views

configuration.php unwritable when permission is 0644 but writable when 0664

My Joomla is 3.9.4. When I tried to make some global configuration change in the backend, I got this error: Could not write to the configuration file. I looked at the file system, configuration....
2
votes
1answer
306 views

Component name different to the default view name, how to display default view?

My component is named "com_xsomething" (to make it distinct). My main view is called "Something". I want to name my view "Something" rather than "xSomething". How do I write the main controller's ...
1
vote
3answers
3k views

How can I select the IDs of a category and all its (n levels) subcategories?

Beside the parent category, I would like to recursively collect all of its child rows. (Pseudo code) SELECT IDs FROM #_categories WHERE parent = father As an alternative, SELECT IDs WHERE the first ...
3
votes
2answers
385 views

How to sort my query's results by publish_up value?

I have a .php script that retrieve fields from my database table and then displays them in a foreach loop (here are the relevant parts of the code): <?php $jquery1 = "SELECT `...
3
votes
1answer
2k views

Creating custom field type multiselect list - how to save the values?

I want to make a module that parses the manufacturers from virtuemart, and the user will select which manufacturers he wants to be shown in the index page. Its the first time I try to create a custom ...
3
votes
1answer
32 views

(RuntimeException $e) vs (JDatabaseExceptionExecuting $e) for SQL exception handling

Through out the current version of Joomla (3.9.6) I find a mixture of ways that SQL exceptions are handled and I was wondering if anyone could give me some definitive situations where one should be ...
0
votes
0answers
25 views

API to read and write http headers?

I am wondering what is the best way to read and write http headers in Joomla? What do I need to achieve? I want to read all requests headers I want to add response headers I want to control optional ...
1
vote
1answer
149 views

Joomla.submitbutton is not a function at HTMLButtonElement.onclick

I have been facing a problem when I try to update the article from the frontend then it shows this error Joomla.submitbutton is not a function at HTMLButtonElement.onclick Here is my code &...
1
vote
1answer
89 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
2answers
58 views

setParam says method undefined

I'm trying to set one of my menu parameters. But I'm getting the error 0 CALL TO UNDEFINED METHOD JOOMLA\CMS\APPLICATION\SITEAPPLICATION::SETPARAMS() My code is: $app = JFactory::getApplication(); ...
0
votes
0answers
15 views

Method start() and end() for cache has been removed in Joomla! 4

I have some older custom Joomla! code that I need to refactor for Joomla!4. The start() and end() methods that are used for caching have been removed in Joomla!4. How can I amend my code to maintain ...
2
votes
1answer
182 views

How does the Finish publishing feature for articles work?

I've noticed that articles have very handy Start Publishing and Finish Publishing fields that will automatically (at least how I understand it) published or unpublish articles based entirely off of ...
0
votes
0answers
21 views

Including 3rd party SDKs in a custom extension

I'm trying to develop a J2Store app for the shipping broker FlagShip, using their SDK found here. (Their SDK essentially provides objects which handle calls to their API so that the developer doesn't ...
1
vote
0answers
21 views

If I want to globally include a framework aside from jQuery?

I know I can use many of the items found in this documentation such as jQuery https://docs.joomla.org/J3.x:Javascript_Frameworks by doing something simple like this JHtml::_('jquery.framework', ...
0
votes
1answer
60 views

How to remove username field from the reset password confirmation form?

Does anybody know how to remove the username field from the reset password confirmation form? I edited the reset_confirm.xml file in /components/com_users/models/forms to remove it from the front end,...
5
votes
3answers
913 views

Don't show other recipients when sending multiple emails with JMail

So this is my code where I send same email to 3 different users $mailer->sendMail($emailfrom, $sitename, 'adam@malinator.com', $subject, $message, 1); $mailer->sendMail($emailfrom, $sitename, '...

15 30 50 per page