All Questions

0
votes
2answers
37 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 ...
0
votes
1answer
29 views

How to identify which JForm list field triggered the submission of my form?

I´m working on a JForm with some list fields. As the fields have a cascading relationship (and I did not want to work with AJAX at this time) I submit the form, whenever the selection of one of the ...
0
votes
1answer
34 views

Any way to redirect (301) pages for unpublished articles/links (404)?

I am wondering if where is any way in joomla to solve following issue: I am having URLs (articles) which may have been externally linked Now I want to disable this links (unpublish) but if I ...
1
vote
1answer
52 views

Menu links working only for logged in users

This is the site I'm talking about. If you click any menu item, you reach the correct page, but the page shows up garbled and the page URL is much longer than it should be, including categories names ...
1
vote
0answers
50 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 ...
2
votes
1answer
183 views

Joomla 4 alpha - link to dialog file in editor-xtd broken

I'm trying to update my extension for Joomla 4 alpha. It adds a button in the editor that calls a dialog file in a popup window. The link is triggered like this: $button->set('link', '../plugins/...
0
votes
1answer
50 views

Get custom field list option value in template override blog_item.php

Using joomla! 3.9.2 I have an article custom field, type List with the ID 14. The List values are below: Text - Value 1 = 335,538,353,559 2 = 390,538,408,559 I am trying to pull the ...
0
votes
1answer
26 views

Form validation in Joomla with form rules doesn't work

It will try to include new rules to validate the fields of a form and it does not work. I can not even get messages on the screen. Am I missing something in the code? Here is my code: <form ...
1
vote
0answers
23 views

IceMegaMenu dropdown on mobile

I am using iceMegaMenu and dropdown menu features. I have a one dropdown, which is working fine, but I have a problem with displaying it on mobile phones. It's by default expanded, but I want to ...
1
vote
1answer
50 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 ...
2
votes
2answers
101 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 ...
0
votes
1answer
56 views

Joomla 4 beta - Internal Service Error but no logged error

I've installed Joomla 4 beta 7 for development upgrading a Joomla 3 component. I have my logs (apparently) working correctly and I have test error log messages printing to the PHP error log as ...
0
votes
1answer
20 views

Connect to two MySQL db's

I want to use a second database for the product data. Is it possible to connect to two database and using of JFactory::getDbo(); ?
2
votes
1answer
42 views

How to integrate google reviews into the page?

I am searching for a option to integrate Google Reviews in Joomla so that: I can show the reviews easily to vistors of the page (e.g. in a module) I can give google these review to show in the search ...
1
vote
1answer
56 views

Adding SKU to generated aliases in J2Store

I'm a bit of a Joomla noob so hopefully this is an easy problem. We have a Joomla 3.8.11 website using J2Store 3.3.0, and the client wants to add the SKU values to the product aliases. Specifically ...
1
vote
2answers
40 views

Add the values of two fields together and on save put them in another field

I have made a custom component using https://www.component-creator.com (which made the process really easy). I have two fields that are only there to serve as sums of the other fields. At the moment ...
0
votes
2answers
37 views

How to add a CLI file to the /CLI directory as part of a component install

I have a component that needs a CLI file for use with cron. Is there a proper way to use the components manifest file to specify that the component includes a CLI file and that CLI file should be ...
1
vote
3answers
71 views

Joomla 3.x - Custom Field automatic updating in article

Perhaps I am not using the Custom Fields properly, but here is my problem: I have a piece of text which appears in a number of different articles. Rather than have to update each individual article ...
0
votes
1answer
42 views

jQuery is not loading in new window in Joomla

jQuery is not loading in new window in Joomla I have a page default.php in component module. default.php contains defined('_JEXEC') or die('Restricted access'); $document = JFactory::getDocument(); ...
1
vote
0answers
28 views

Add multiple recipient email addresses Joomla Page Builder

I am using Joomla and SP Page Builder. I have back-end side and front-end side. I would like to add multiple recipients for sent emails from my contact form. I have found related codes for sending ...
1
vote
2answers
91 views

Client side validation - custom event handler not called when user enters the field and leaves it being empty

I'm working on a JForm with some fields with custom event handlers to do client side form validation as it is described in this document The document says that "Joomla adds a blur handler to validate ...
0
votes
2answers
67 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 ...
0
votes
2answers
69 views

PHP7.2 Undefined variable: option in … index.php with Dj-Business004 template

When I update PHP from PHP7 to PHP7.2 the website gives this error: 500 Internal Server Error This is in the Log file: [Thu Jan 24 04:44:56.061781 2019] [proxy_fcgi:error] [pid 30185:tid ...
3
votes
2answers
29 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
0answers
29 views

How to make a header image above the navigation bar in Purity III fixed and/or how to attach the nav menu to it?

I've been following the advice on how to put a header image above the nav bar in Purity-III given in https://joomla.stackexchange.com/a/16321/ I managed to reproduce the solution however what I really ...
0
votes
2answers
60 views

Add font awesome to menu item

It's pretty easy - and not. Simply add fa fa-home to menu item > Link Type > Link Class, and you got your icon in front of your item. What is a problem is that the font following refers to Font ...
0
votes
1answer
58 views

How to submit JForm form based on custom dropdown list value change

I'm working on a custom Joomla module. I have a JForm that contains multiple custom dropdown lists based on JFormFieldList. The form should be submitted when a value is selected from one of the custom ...
0
votes
1answer
35 views

Remove page assignment from many modules

I have a website (not made by me, working on restyling) that manage achitect pubblications and every architect have page with own menu with Home - Bio - Project 1 - Project 2 and so on. And i have ...
3
votes
1answer
45 views

PHP7.2 Notice: Only variables should be passed by reference in

I got this notice when I changed a Joomla website from PHP 5.6 to PHP7.2 "Only variables should be passed by reference in ... on line 116" The second line is line 116 if($this->isViewExcluded(...
0
votes
0answers
43 views

Using “Joomla” as part of your domain name

I realise I'm taking a gamble here by asking what could potentially be off-topic but considering it's still related to Joomla and this wasn't closed, I thought I'd do so anyway. Today I found a Tweet ...
0
votes
1answer
36 views

How do I customize the look of the “new article” page?

Totally new to Joomla. I find the "new article" page in the administrator dashboard is very ugly, and I don't like writing prose in an ugly environment. What's the correct way to customize the look of ...
0
votes
2answers
50 views

How to bypass deny direct access to edit link

I managed to edit a file in controller to allow for the edit article link to be directly accessed if a user has a particular username. This is a core edit, but it's a local website only only my pc so ...
0
votes
1answer
49 views

Where can I configure the page title separator from “-” to “|”?

I cannot find a option in Joomla where to configure the page title separator? Default seems to be "-" and I would like to have "|"
2
votes
1answer
147 views

Lazy loading script doesn't run after AJAX load

Issue related to Video lazy loading skipping first video in every list The css shows up with a black box and the arrow, but script doesn't seem to run after ajax load from pagination, and also when ...
0
votes
1answer
33 views

Disable submenu items on bottom of page in gantry 4?

I have really tried multiple settings, I cannot find the setting to disable the submenu item creation. How can I disable the submenu entries showing at the bottom of all pages? See here the issue: ...
2
votes
1answer
32 views

How to check by onContentAfterSave it is a article?

I have follow code for after save: public function onContentAfterSave ($context, $article, $isNew) { $article = JModelLegacy::getInstance('Article', 'ContentModel')->getItem(); .... } It works ...
0
votes
1answer
20 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
1answer
64 views

roksprocket disable article tags

I am using roksprocket as a simple to use filter system of articles. Sadly I could not find a way to disable the badly looking tags underneath the modules itself. Of course there is a possible to use ...
0
votes
2answers
67 views

Get the Joomla database connection to a connection variable

I am new to joomla and I want to create a table in joomla database manually with the data and get those details to an article in joomla. Before that as my knowledge we need to get the database ...
0
votes
1answer
74 views

intro image article at j2store

I decided to use intro image in article instead of j2store thumbnail image use below code But did not show image <?php echo json_decode($item->images)->image_intro; ?> or <?php echo ...
3
votes
2answers
64 views

How properly save foreign characters in plug-in config parameters

I am developing a Joomla! authentication plugin and have a standard Joomla! install (J3.9.1) with PHP 7.2 and MySQL 5.6.29. My plugin has config parameters that are accessible via the backend. One of ...
1
vote
1answer
154 views

Autoscroll a Bootstrap Row/Columns in Joomla Module

I am using a K2 Content module to display 'Sponsors' of an event. You can see an example here I have managed to set this up so that the columns can be scrolled manually using a mouse drag but ideally ...
0
votes
1answer
34 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\...
3
votes
1answer
41 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 ...
2
votes
1answer
44 views

Is it possible to insert a category list view inside an article?

I want to get a category list view inside an article (in this case, inside a tab in an article), but I want to see this category list view styled like when a menu item type shows a category list: a ...
3
votes
1answer
87 views

Floating module on scrolling?

Is there a way to create a module, which is floating in its position (and only in its position)? http://aebb.es/4 here I would like to have the fixed opt-in module on the right side to float always ...
1
vote
1answer
72 views

Installation page not shown due to MySql access denied and 500 server error

On Ubuntu 18.04.1 LTS, the installation page is not shown. Instead, I see a blank page with Error On MySql log I see this: Access denied for user ''@'localhost' (using password: NO) However I ...
0
votes
1answer
64 views

Which Custom field is better?

Which field is better for displaying code like below? Textarea or editor field ? I'm currently using Textarea I want to know which method is better and will affect the speed of the site Does anyone ...
0
votes
1answer
100 views

Video lazy loading skipping first video in every list

I'm using code found here: https://codepad.co/snippet/CtLEQDKX to lazy load the preview image for youtube videos within JComments. I have it working pretty good and looking like I want it to and it ...
1
vote
1answer
69 views

How to write the logged in user id in Plotalot queries?

I am trying to use plotalot to graph user results. The program only uses mysql queries to pull data. How can I pull session specific user data with a mysql query? Normal Joomla session variables ...

15 30 50 per page