Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
44 views

Getting post installation script to run for a module

I've a module that I want to run a script post installation, post update etc. I think this can be done by adding a script.php into the module zip file and then calling it in the installation file. &...
0
votes
0answers
24 views

Joomla custom fields for category - subtitle & headerimage

I have an override for the category/blog.php layout and i want to display a headerimage and a subtitle with the custom fields introduced in joomla 3.7. For this implementation I already use Joomla 3.9....
1
vote
1answer
18 views

Issues to be aware of when calling `concatenate()`, `regexp()`, `rand()`, and `castAsChar()` in sql queries

I'm taking it upon myself to become aware of some of the lesser known/used query methods because I like toying with MySQL and I want to implement Joomla calls when possible/sensible -- because they ...
5
votes
3answers
435 views

Article Table of Content as a sticky navigation

I'm looking for a way (plugin, module?) to achieve the following: auto-generate a Table of Content for certain long Joomla articles based on HTML tags (H1,H2 etc.) or CSS classes of headings show ...
0
votes
0answers
15 views

Warning/Error message on control panel

I keep getting this error message (below) in my Joomla control panel. Can someone please tell me what steps to take to fix it? I'm using Ubuntu 18.04.. ****Error**** We have detected that your ...
1
vote
3answers
746 views

When calling sendMail, how do I get the error if the mail isn't sent?

I'm sending email using the following code: $mail =& JFactory::getMailer(); $email_sent = $mail->sendMail( $from_email, $from_name, $to_email, $subject, ...
0
votes
0answers
28 views

Joomla extensions and plugin issue

When I want to install any plugin or extensions I get this error: Plugin JLIB_INSTALLER:No plugin file specified. Message Discover install failed.: 10006 Error 2 when i upload plugins via ...
0
votes
1answer
85 views

How to sort a fabricated column in my view that I've stitched together with data from multiple columns?

I have a view that displays a list of data from a table (I'm targeting Joomla! 3.5+). However, I fabricated a column that stitches data together after some manipulation. I do this in the getItems() ...
2
votes
1answer
412 views

Update from 2.5.28 to 3.5.1 then to 3.6 on PHP 5.6 everything works except joomla update or database fix cause these errors

clicking joomla update button in backend end gives this error: 1054 Unknown column 'a.extra_query' in 'field list' SQL= SELECT DISTINCT a.update_site_id, a.type, a.location, a....
1
vote
0answers
18 views

Suddenly URLs with “table/”

I'm running a simple site based on Joomla. The SEF URLs are defined by SH404SEF and look like https://[domain]/[category]/[sub category]/[article title alias].html. In some cases there is a 1-to-1 ...
0
votes
0answers
17 views

global configuration - users display [on hold]

In global configuration - users is incorrectly displayed page without CSS formatting. How can I correct it?
1
vote
1answer
121 views

From outside of a component how to change a parameter

In a system plugin, I am using the onAfterRoute event to change a single parameter from a 3rd party component before being loaded. public function onAfterRoute() { if ('com_abc' == JFactory::...
0
votes
1answer
47 views

Display specific Joomla user groups

This code snippet below shows the list of all Joomla user groups(registered,editor.superuser and ...) at component // load in joomla user groups $qry = "SELECT * FROM #__usergroups ORDER BY ...
0
votes
0answers
33 views

Need advice with contact form — preloader never stops when using Apple devices

I have been working with the plugin developer (JoomlaShine - JSN Uniform) and Facebook group but continue to hit a deadend. The problem and all the things that have been tried are detailed in this ...
0
votes
1answer
70 views

How to post checkout data to component using Ajax?

$.ajax({ url: Joomla.getOptions('system.paths').base+'/index.php?option=mypage&view=cartcheckout&task=cartcheckout_autoSave&tmpl=component&stepId='+stepId, type: 'POST', //...
0
votes
1answer
36 views

Is it possibile to reorder jform control-group with jquery?

First of all I'm not sure if this counts as Joomla question or jQuery question. I have manipulated the joomla user jform and added an extra field jform_firstname to the list of fields. The current ...
0
votes
0answers
46 views

Articles on the contact page like a blog overlay [on hold]

By default, Joomla provides the ability to display links to articles of some user on his contact page. How can I display his articles with intro text, image, info block and read more link on his ...
0
votes
0answers
26 views

Joomla 3.8.X/3.9.X save template category not found textfilter problem

I have a strange issue in my custom template backend since one of my last updates (don't know exactly which one - I guess something about 3.8.8 - 3.9.1). In my template, there is a parameter in ...
3
votes
2answers
327 views

Retrieving plugin id

I need to retrieve a system plugin id, and I am using the following code with success. function getId($folder, $name) { // Get a database object $db = JFactory::getDbo(); ...
0
votes
0answers
49 views

Using the fix button broke the whole site

Recently I got the error 0 Class 'JToolbarHelper' not found on the backend, so to fix it I modified /administrator/includes/helper.php as specified here, this fixed this problem. I then unistalled ...
2
votes
1answer
33 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 ...
0
votes
1answer
26 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\...
2
votes
1answer
36 views

Product image at j2store cart

j2store use thumbimage and mainimage instead of joomla article intro and full image for show image product at j2store cart and order invoice I decided to use intro image in article instead of ...
2
votes
1answer
907 views

Create form in frontend in a module

Am creating a simple custom search , where users will search using a droplist of option , i have successfully created the module , however i do not know how to show the form in frontend and how to ...
0
votes
0answers
33 views

Joomla 3.8.13 error without error line

My Joomla system reports this error: syntax error, unexpected 'new' (T_NEW) It does not report the line and file where the PHP error is generated. in my configuraton.php file I have: public $...
0
votes
0answers
36 views

sql query help , spent 2 days trying to solve it

I wanna select all users that they answered for question of the day also all users from db and export all that to csv file and if user answered the question of day in column of answer must show up the ...
0
votes
0answers
24 views

After loading position with login module, page keeps refreshing

I am making an web application with Joomla. It will be the only application that we will use for this site. I work with jquery, jquery mobile. I am using my own template (based on Jq Mobile) and ...
0
votes
2answers
56 views

How can I load a minimal editor in a custom component form?

In my custom component form I have a text field that I want users to have the ability to add very simple styling to. I'm thinking bold, italic and link buttons. Is it possible to create and configure ...
-1
votes
1answer
30 views

SEF URL Issues on several sites

I am running into an issue on several sites where the urls are "nesting" other links in the main url structure. For example: https://retrolube.com/blog/five-benefits-of-new-tires-for-your-vehicle/...
1
vote
1answer
50 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 &...
2
votes
2answers
23 views

Module Class Suffix Child Div

Joomla! 3.9.1 I've created a 'custom html' module and in the module settings Advanced > I've added the feature-box suffix. In my custom.css file I have added the following code; .feature-box { ...
1
vote
1answer
47 views

Joomla BuildRule adds language code at the back of setPath

I'm having a problem with building the rule for a particular URL. Here's what I have in my system plugin: //... function onAfterInitialise() { require_once '/path/to/myhelper.php'; $router = $...
4
votes
2answers
275 views

Core Component Layout Override with Plugin

Within a plugin I need to add and populate (data is available inside my plugin) a column to com_menus&view=menus view in administration. my_plugin.php ... public function onAfterInitialise() { ...
0
votes
1answer
44 views

iFrame with javascript

I would like to summarize my problem: I need to obscure the source of the iframe from the source code. To do this I have to use javascript code and obfuscator. By inserting the following obfuscated ...
0
votes
2answers
35 views

How to use plugin content-events on featured contacts page

Using the content event onContentPrepare() within a plugin in the contexts of 'com_contact.category' and 'com_contact.contact' works fine. But the following code doesn't output anything on a page ...
2
votes
2answers
79 views

Using external PHP library and defined('_JEXEC') or die;

I want to use hatemile-for-php library (https://github.com/hatemile/hatemile-for-php) in my plugin. As I am only ever using this library within this one plugin, I included it in the plugin folder ...
2
votes
2answers
195 views

Set article title as page title

I need to set the article title as page title. Please, note that my articles are not menu items because my menu is built on a custom module. Please, advise. Thank you.
1
vote
1answer
31 views

Language Constants not being replaced in JLayout

I am trying to use Jlayout in a plugin I am writing and everything works fine except that the Language Constants in the layout file are not being replaced. My call to render the layout is; $layout = ...
1
vote
1answer
35 views

I'm confused about permissions

Hello again StackExchange Joomla experts. I recently wrote a post that asked how to make sense out of a 22-piece big band swing organization of which I am the director. My goal is to provide a ...
0
votes
0answers
14 views

i can't login to joomla administrator [duplicate]

I'm trying to login to my Joomla administrator but I can't. My username and password are correct. I'm afraid that the last time I was log in I change something from global configuration
3
votes
1answer
704 views

ModSecurity returns 403 forbidden in administrator article manager

I am getting 403 Forbidden messages in the Joomla 3.6.5 admin panel when I (as Super User) attempt to: Select any page from 2 to end Change the articles per page from the default 20 Search for an ...
0
votes
3answers
78 views

Convert PHP code to Jooma PHP syntax?

I'm running a query on phpmyadmin which has the "IN" function included. It is to extract data from the same column for different fields' (Waybill1, Waybill2 etc.) I shall post the SQL query below: ...
0
votes
1answer
227 views

Custom fields - JS in template override

We need to add some enhanced ecommerce tags to standard Google Analytics tracking on few pages. We think the best way to do it would be to use Joomla Custom fields so we created a custom field for ...
5
votes
6answers
1k views

How to force cache/browser data clearing in browser?

Scenario: I have upgraded an old Joomla! website from 2.5 to the latest version of Joomla!. After doing so the site from my point of view looks as it should. If I try to access the site from another ...
0
votes
0answers
46 views

Why sometimes a component's pages are pointing to a non-existing menu item id?

I am using Jomsocial(COM_COMMUNITY) to build a social network system. According to their documentation, , all jomsocial pages are using a same itemid. But on my site, this item id doesn't exist in the ...
3
votes
1answer
186 views

Ubuntu Server 16.04 and Joomla Mail with Exchange

I'm a bit stumped been working on trying to fix this issue for a few days now and decided it's finally time for help. Essentially, I setup a new Ubuntu 16.04LTS server used to host my Joomla intranet ...
4
votes
5answers
5k views

MySQL error: Unknown storage engine 'InnoDB'

I have a couple of Joomla 3.3.6 websites, and suddenly this morning I started to get random error messages, like this: Error displaying the error page: Application Instantiation Error: Unknown ...
4
votes
3answers
689 views

How to rewrite SQL-query with CASE/WHEN to Joomla-based “format”

I have the following SQL-query to database: $jinput = JFactory::getApplication()->input; $category_id = $jinput->get('virtuemart_category_id'); $db = JFactory::getDBO(); $query = $db->...
1
vote
0answers
43 views

fetch article custom fields in Layouts

I have created some custom fields in my Joomla article from backend templates/name-template/html/com_content/article/default.php and use this code for load custom fields at joomla article <?php ...
5
votes
2answers
305 views

How to properly setup Snipcart inside custom components

I got a custom component which is actually an ajax search form. Someone select some options and when he hit submit button i want to load some products based on the selected criteria. I includes the ...