All Questions
6,077
questions
0
votes
0answers
29 views
Use a Field value in a Query (Seblod Query plugin)
I'm using the Query plugin that lets me create a Query field on my List & Search.
I have a hidden field with ID 'id_number' which I'm trying to use in my query. When I check the Page Source(Ctrl+...
0
votes
0answers
22 views
How to get all tags of articles of specified categories in Joomla?
I want to add a "filter by tags" feature to mixitup in Joomla.
I need a list of tags for specified category articles and later for each item to add titles of tags for each item.
There was a "...
0
votes
0answers
25 views
Joomla 3. Dependent select in custom component
I make a component for Joomla 3. It has two lists "City" and "Place". How can I make the "Place" list update without reloading the page when I select "City"?
<field name="cityid"
type="sql"
class="...
2
votes
0answers
36 views
__PHP_Incomplete_Class when trying to access an object stored in session
I work on implementing single sign on with joomla and simplesamlphp.
I try to use the simpleamlphp api in the context of a joomla plugin in the onAfterInitialise event.
To that end, the plugin in ...
0
votes
0answers
13 views
Jomres Country code and flag not corresponding
Country codes and flags do not correspond. Where can I change the country codes?
I checked the mod-language (language switcher), but didn't find all the flags and countries.
Is there another folder ...
1
vote
1answer
42 views
How to maintain a configuration change after Joomla update?
My component hooks into some core Joomla behaviour, adding an extra path that it needs other related components to be able to use. I do this simply by adding it to the global path include ( defines....
1
vote
0answers
13 views
Cannot insert image in k2 article
I'm facing an issue on the backend side of my Joomla 3.9.
I'm using K2 as the content builder and set TinyMCE as default editor. I wanted to insert an image by using the modal button "image", but, as ...
2
votes
1answer
44 views
Joomla SEF url in CLI script
I am new to Joomla, I am writing a script under folder cli. I am calling helper file of admin component where I fetch category and return url of category.
The function in helper is fine and works ...
4
votes
1answer
37 views
How is onContentAfterSave working in the Front End?
I have created a plugin that works using onContentAfterSave to fire off some other processing once a record is saved. This works as expected in the Back End but nothing gets triggered when I save a ...
0
votes
1answer
46 views
Joomla 404 component not found (custom component)
I am trying to create a custom component in my Joomla backend, so I created this xml file:
<?xml version="1.0" encoding="utf-8"?>
<extension type="component" version="3.8.1" method="upgrade"&...
3
votes
1answer
63 views
htaccess 404 Redirect Not Working
I recently redesigned a site and there are loads of 404 pages, so to simplify things I want to add a redirect to my htaccess, redirecting any 404 pages to the home page.
I though it was as simple as ...
0
votes
1answer
17 views
Can't bind joomla user to Fabrik element of type user - becomes Super User
I started using Fabrik. I want to have a system with buildings and user (to put it simple). Users I suppose can be bound to "real" Joomla users...
So I have a list "users" that have a element "...
3
votes
1answer
73 views
Programmatically set article image
I generate/update several articles through a PHP script (in the cli folder) that parses an external data source (custom tables). This works well.
Now, if an article has not yet an image, the script ...
1
vote
1answer
22 views
Store category record using JTable instance from controller
I want to store a category record from controller by using JTable. My working code is-
$table = JTable::getInstance('Category');
$data = array('id' => 0, 'parent_id' = 1, 'path' => 'demo', '...
1
vote
1answer
21 views
Front-end custom Joomla module to upload an image and save it in the Joomla images folder
I work on a custom Joomla module that would let users to upload profile images. I created a JForm and wanted to use the form field type "file" as below:
<field name="Photo" type="file" label="...
1
vote
1answer
28 views
Weblink with JCE add &task=weblink.go
If I add a weblink via JCE the link will be added with &task=weblink.go
For what is it, and in wich file will this evaluated?
0
votes
1answer
43 views
Getting user id of logged in user in component
I'm making my first component and am trying to get the id of the logged-in user and request some data from the model based on that user id.
If I search around this would return the current user:
use ...
0
votes
1answer
40 views
Can't install Fabrik - Warning: Install path does not exist
I'm new to Joomla (3) and not an expert in Linux (Ubuntu 18).
I have unzipped the package into 'factory_pkg' a folder in web-root.
Inside of it I have 'packages' and 'pkg_fabrik.xml'.
When I run ...
4
votes
0answers
31 views
How can I clear the cache for the params of a custom component?
I am working on a custom component and it works as intended as long as I do not have cache enabled.
In the admin section of the component, I have a view that can change the "component params":
$...
0
votes
0answers
19 views
Best practices for staging Joomla based custom web-application?
I develop a Jooma based custom web application. I work on the "dev" subdomain (adding new modules and also content), test the app on the dev subdomain then clone the whole site to the live domain. The ...
1
vote
0answers
32 views
How can I use first image in article as featured image?
I have searched all over the internet but nothing got useful. I have only hope on this forum. Please tell me how can I use the first image of the article in Joomla as featured image. I don't want to ...
0
votes
1answer
31 views
Difference between article meta description and Google result's presented text
I'm using Joomla 3.9 for posting my articles. I've recently noticed the meta description appearing for my articles on Google and the ones I've written in Joomla are different. It seems Google is just ...
0
votes
1answer
20 views
Mobile off canvas menu not working
I'm having difficulty getting the off canvas menu to work on a mobile view.
I am using a LT Social theme template, my web address is gracegarton.com.au
I had it working a week ago, but went to tweak ...
0
votes
0answers
26 views
Search functionality returning wrong results on multi-lingual site
Search works well for only one language on my site.
My website is on 2 languages -- French and English -- but the search works for French only and not working as desired for English.
Example:
If I ...
0
votes
1answer
44 views
About Rsform submission
I have a claim form built with RSform used in local network.
The users who write the complaints are the users of the joomla site(for exemple user1 user2 user3).
The form contains : the details of the ...
0
votes
1answer
25 views
Joomla Contact Form's and some of RS Form's fields aren't editable (disabled)
I've noticed that Joomla Contact Form's and some of RS Form's fields aren't editable (disabled). I think it's probably because of wrong settings of Joomla ACL for a public access to the fields, but I ...
2
votes
4answers
76 views
How to use cookies to populate RSForm fields without notices/warnings?
I have used this code to save the RSForm data in a cookie and if the user tries to fill in the same form again, the previously entered data is loaded as default values:
Script called on form display:
...
0
votes
0answers
35 views
Breadcrumb separator is not showing consistently
Not all of the breadcrumb values are properly separated by a slash on my site. The delimiting slash is present between the first and second crumb, but gone on the next resulting in the second and ...
1
vote
2answers
33 views
Accented letters are printed in bold type
For some reason accented letters are printed in bold type. An image is worth in thousand words:
The page is available at: http://elacebron.dipucuenca.es/index.php/k2/contact
I've been trying for ...
1
vote
0answers
22 views
How can I get form post data when Save, Save and Close or Save and New button is used?
I need to get the values of fields when the form is saved by any of the save buttons. So far I only get an empty array.
Working with a custom field for Mosets Tree component. I used what I expected ...
0
votes
3answers
41 views
Joomla 3 call model function inside controller
I want to call a function from model inside controller
my model : httpdocs/components/com_storemanager/models/searchmanager.php
<?php
/**
* @version CVS: 1.0.2
* @package ...
1
vote
1answer
53 views
Joomla 3 return view with parameters
I'm using Joomla 3 and I have a controller with the function abc that should call a view with some parameters title & address
My controller :components/com_storemanager/controller.php
<?php
/...
0
votes
1answer
30 views
Joomla 3 database query select with limit [duplicate]
How can I use this query with joomla 3 with limit to 3
SELECT * , (3956 * 2 * ASIN(SQRT( POWER(SIN(( $coorlat - latitude) * pi()/180 / 2), 2) +COS( $coorlat * pi()/180) * COS(latitude * pi()/180) * ...
2
votes
1answer
30 views
Create a new folder in 'images' when installing module
I'm working on a basic module to display an image carousel. The module itself works well, but what I want to do now is create a new folder called 'carousel' within the root 'images' folder when the ...
1
vote
1answer
19 views
No Documentation about onCustomEditorButton
I want to add a custom button to the TinyMCE editor. But the documentation about this feature is non-existsten as you can see here: https://docs.joomla.org/Plugin/Events/Editor#onCustomEditorButton
...
2
votes
1answer
33 views
Override JHtml (HTMLHelper) class methods
I'm developing a custom Joomla template and have unset a lot of the core dependencies, such as jQuery and Bootstrap in the template's index.php.
The problem now is that the core extensions call some ...
1
vote
1answer
15 views
Create a Joomla Access Level to manage users in a particular Group
My Joomla Version is 3.8
I want to create a Custom User Access Level to manage users in a particular group. I have a user group which is configured as the default user group when new registrations are ...
2
votes
1answer
16 views
How to display zero values in the legend of PlotALot graph based on RSForm Pro results?
In the backend, I am compiling some survey results generated from RSForm Pro and I want to display the statistics graphically using a PlotALot pie chart.
My form has 4 possible values for this ...
1
vote
0answers
14 views
Beez3 top menu highlight size
I'm currently struggling with the top nav menu in Joomla's Beez3 template.
I would like the highlighted menu item not to fill the whole space but just let's say 5px rounded around the text. The rest ...
0
votes
1answer
21 views
Why isn't my alternate layout override showing up for the menu item?
I have created an override for com_content for the category list.
It is stored in /templates/MYTEMPLATE/html/com_content/category
It is saved as a new name, copying the Joomla! override structure ...
3
votes
1answer
22 views
Insert Contacts Custom Field In Article
I have created a few custom fields for my contacts. I now want to display these contact details withinin some articles using the following format;
{field 1} will display the field with the ID 1
{...
1
vote
1answer
14 views
Custom Field Tag Style List
Joomla 3.9.11
I have created an SQL custom field for my joomla contacts called location, this allows me to assign a location to my contacts.
The SQL simply selects location_name from a custom db ...
0
votes
0answers
9 views
How can I deploy UI updates on the fly locally in my dev environment?
I am new to Joomla. I want to setup a development environment through Visual Studio Code that allows me to go into any Joomla template location to edit/save/compile files AND automatically reload my ...
2
votes
1answer
143 views
Failed to Read Session Data After Renaming DB
Joomla 3.9.11
Working on localhost, today I decided to rename my database from dbtest to dbnew. I did this using HeidiSQL > rename db
When I visit my site I now see the following error;
Warning: ...
1
vote
0answers
24 views
Homepage of multilingual site not working anymore after removing index.php (404); all other sites working
So I removed the "index.php" - part from the URL in Joomla in the following way:
Change the htaccess.txt - file name to .htaccess via FTP
Set the URL-rewrite Option in the Joomla Configuration ...
2
votes
1answer
48 views
Sharing a model between two views in a component
I have one model I'd like to use for two different views. This is the only model these two views will require.
I'm subclassing Joomla\CMS\MVC\Controller\BaseController and I'd like to use its display ...
0
votes
1answer
37 views
How to render nested modules, (parent outside articles)
I tried the following code:
$document = JFactory::getDocument();
$renderer = $document->loadRenderer('modules');
$position = 'precisions';
$options = array('style' => 'raw');
echo $...
1
vote
0answers
16 views
Can’t rename indexed pages with /2-uncategorised/2018-19-05-56 by Redirect component
I’ve renamed all joomla articles with right name URL. But I can’t do it with Redirect Joomla Component. It doesn’t redirect all renamed files: https://mywebsite.com/2-uncategotised/2018-19-05-56
...
0
votes
1answer
37 views
Joomla 3.9: Menu item set to Separator is not clickable to reveal sub-menu items
I am building a website in Joomla, and I'm trying to make a menu in which some menu items should not have any article associated with it; clicking on them should only reveal the sub-menu items, but ...
0
votes
1answer
39 views
Remove css admin template from component
I'm designing a custom component where I am utilising the tmpl=component ability to render the component only rather than displaying the default template.
How can I remove the unwanted css files which ...