All Questions

Filter by
Sorted by
Tagged with
0
votes
0answers
2 views

Joomla php function which prints the pagename

Is there a php function to insert in the template which prints the name of the menu item of the displayed page?
1
vote
0answers
23 views

Get values of other custom fields in field layout override

I am using a repeatable custom field in Joomla! 3.9.16 with an alternative layout (override) of com_fields/layouts/field/render.php and an override of plugins/fields/repeatable/tmpl/repeatable.php to ...
1
vote
1answer
14 views

How can I call com_contact fields in an article view?

We have linked the author to com_contacts and now I want to show an author image which will be a custom field in com_contacts. I was able to show it as a com_user custom field using the following ...
0
votes
0answers
13 views

How to refresh only one module with ajax without reload page?

I am using a module mod_globalnews which show all my articles in position 'portfolio'. Since my articles have different published and finished time I need a solution to refesh the module or module ...
1
vote
2answers
37 views

How to compare current date to article created date?

I need a code to compare if current date and time is greater than article created time of joomla. I have this example code: function CompareDate() { // new Date(Year, Month, Date, ...
0
votes
0answers
12 views

JSON to String in Joomla

I have the following method to convert JSON to a String // Convert the JSON-encoded image info into an array $image = new JRegistry; $image->loadString($this->item->image, 'JSON'); $this-&...
0
votes
2answers
23 views

CLI Joomla installation

I'm using the official Joomla Docker repo to (hopefully) rapidly install a Joomla docker instance for testing my component development. I copy my component over to the server and extract it. However, ...
0
votes
0answers
33 views

Retrieve all fields using while in Joomla

I'm trying to retrieve data using while and it won't work. The page just keeps loading and ends up with a blank page; no errors or anything but, when i use foreach, it works. Any explanation? The ...
0
votes
1answer
24 views

Captcha 'optional' field displays when it's really required

I've just installed a number of captcha extensions and they all show "Captcha * (optional)" next to the form's Submit button. Is there any way to prevent the word 'optional' from displaying? The ...
1
vote
3answers
68 views

How to add the current user's user id in query of a custom field for a plugin?

If I hardwire a created_by clause in a joomla sql custom field, the query works as it should (for this specific userid the clause is, and created_by = 305): SELECT id AS value, title AS text FROM #...
1
vote
0answers
11 views

Upload and attachement for phpmailer

hello i starting an code to allow sending file via a form i create an input file field <input type="file" name="'.$field_name.'[]" accept="'.$values_field[0].'" id="'.$field_id.'" '.$placeholder.' ...
0
votes
0answers
26 views

Which Event to include in User Plugin that fires on Save button in Plugin manager?

My user plugin, "Myplugin", works. I have extra parameters in the plugin that can be set in the Plugin Manager (Menu: Extensions / Plugins / MyPlugin). Those are stored in the database when using the ...
1
vote
1answer
56 views

Redirection not work from non www to www(https)

I'm currently have a website which runs under https and work with no issue and I've tried to do something on my .htaccess file so that when I try http://abc.com it will redirect to https://www.abc.com ...
0
votes
1answer
57 views

Retrieve the value of a line a checkbox

I'm blocking on retrieving an item from a data list. My code: <div id="contenu2" class="content"> <div> <form action="" method="post" id="adminForm" name="adminForm"> <table ...
0
votes
0answers
11 views

com_contenthistory problem with JSON fields [closed]

com_contenthistory has a problem with displaying JSON fields and it returns Object of class stdClass could not be converted to string
1
vote
1answer
42 views

Right side bar included in component area in Helix3 framework template

I recently installed a template based on Helix3 framework and I've noticed an inconsistency in the way how pages are created. Specifically, I have created two different menu items list of a single ...
1
vote
2answers
49 views

Override JHtml core function select.radiolist

I want to override the output of the select radiolist. I can hack the core, but I'm not really fond of doing that in relation to updates. So i checked out a system plugin to override the JHTMLselect ...
0
votes
1answer
84 views

Change the standard path of images in TinyMCE, where can I find the init of this editor?

I know I can change the paths of tinyMCE to add a subdomain, see here: https://stackoverflow.com/questions/56577520/change-default-image-path-in-tinymce Only problem now is where can I find this ...
1
vote
1answer
76 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. $...
0
votes
1answer
54 views

How to fix problem with relative path Joomla for a module using editor form field?

I have created one module in Joomla and added one form field of the type editor inside the manifest-XML. <field type="editor" name="myeditor" default="" buttons="true" hide="...
0
votes
1answer
24 views

Custom Category Field

Using Joomla 3.9, although Custom Fields is now available, I am opting to do this in a plugin instead for reasons. I have created a plugin to hook into the Category view in admin, so that I can add a ...
0
votes
0answers
44 views

RSForm filter submissions using submission directory on frontend

I have created a form using RSForm pro and my users can submit their information with this form. One of the form fields named "age". There are three admins in my site. They should see and check users ...
0
votes
2answers
30 views

Access repeatable subform fields and display in article override

I have been testing the following code to retrieve and output the values from a repeatable subform field with no success. JLoader::register('FieldsHelper', JPATH_ADMINISTRATOR . '/components/...
3
votes
1answer
495 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
1answer
259 views

Joomla - Custom fields in Backend - Template override

I have a Joomla-site with a lot of extra-fields in custom fields area. When I edit my articles the long list of fields is quite confusing. So I thought I could be a good idea to show the custom fields ...
1
vote
2answers
34 views

New Joomla install but can't install extensions. Get 500 Internal Server error

Tried installing extensions 'from Web' and installing 'from Folder'. The files were added to the /tmp folder and extracted, but did not get installed. Screen jumps from installing to 500 error: 500 ...
1
vote
0answers
17 views

authorise('core.admin') how to include administrator level also?

We want Administrators to be able to see Privacy Requests in the module on cpanel. But this module has the following code: // Only super user can view this data if (!JFactory::getUser()->authorise(...
0
votes
1answer
43 views

how to get value for search in joomla module

how to get value for search in joomla module. Does anyone know how to get the value for the search field? my problem is that after i search for specific data it still shows everything In my helper....
1
vote
1answer
173 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

Jquery script loaded on every page

Every page on site has this script Is there any role, seems like of tinymce editor how to disable same, any plugin to disable, as i do not use tinymce on front end of site <script type="text/...
0
votes
1answer
193 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
1answer
47 views

Custom module doesn't work, messing up all page, messing up editor

I am using Joomla! 3.7.5 and JA Builder. I'm trying to create a block with custom module. Once I create it, paste code and assign position, then in page editor add block with widget - position and ...
0
votes
1answer
100 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', //...
1
vote
1answer
22 views

Mod_Feed removing the strip image function what do the True & False do?

I want to remove the strip image function from mod_feed in the administrator area. mod_feed/tmpl/default.php at line 118 // Strip the images. $text = JFilterOutput::stripImages($text); $text = ...
0
votes
1answer
20 views

Fatal error in joomla component arrays objects

In my admin view (custom Joomla module) I get errors sometimes. User submits a custom form and it works, but when there are two checkboxes checked, I get this error: Fatal error: Cannot use object ...
0
votes
1answer
76 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 ...
3
votes
2answers
157 views

Joomla does not find my plugin update

I made my first plugin and want to setup an update site as well. My joomla does not find the update (after pressing clean cache of course). The update server is found and it load my xml. My manifest ...
0
votes
0answers
12 views

Do cookies set by Joomla need changes because of the new samesite requirement?

We have a custom app that uses a parameter in the URL to track sessions. However, as per this screenshot, we seem to be setting a cookie called PHPSESSID. Could it be a Joomla cookie?
0
votes
1answer
24 views

How to override “Select an option” header for SQL and list fields

In my custom component, inside the forms, I have several list fields. Some are normal list fields, others are sql fields. All of these show "Select an option" as a header. I can't find the way to ...
0
votes
1answer
17 views

Is it True that you can add Syntax to the Editor Form Field Type?

I was looking into the Editor Form field and I came upon this page: https://issues.joomla.org/tracker/joomla-cms/20062 Which shows this: <field name="css" type="editor" filter="raw" editor="...
1
vote
2answers
595 views

Update path does not exist. / Error updating COM_INSTALLER_TYPE_TYPE_

Since upgrading to J! 3.9.0 I'm getting this error on EVERY extension update except for the few who use an update routine that appears to bypass normal Joomla workings - StackIdea's EasyBlog and ...
1
vote
2answers
107 views

How to use Joomla editor on a field of form into custom component?

I have created a custom installable component for Joomla. I need to add editor on a textarea. How can I use Joomla editor into custom component??
0
votes
1answer
18 views

Joomla 3 Article Gallery View stopped displaying articles

I have a website with some menu items using the Article / Gallery View option to display a list of articles in blog style. It has been working perfectly for a few years now, but it stopped working in ...
1
vote
4answers
10k views

Copy file failed - when installing/updating component

I am trying to update my 3rd party component. But the installer after a while returns the error message, that the component failed to install and the warning "Copy File Failed". System information ...
0
votes
0answers
28 views

JRoute not return specific menu item link

i have developing a custom component. i have a problem: i am in a menu that show view 1. when i use JRoute function for link to view2 that have specific menu item, it return current url and add ?view=...
0
votes
1answer
34 views

Custom field in menu item

I am trying to get a custom field type into the menu. I want this to be a dropdown which I poulate with some php code. Where the arrow points in want my dropdown field. So I created in /components/...
0
votes
0answers
15 views

Add more than one URL query parameters to wordpress URL [migrated]

As soon as someone clicks on an anchor tag in my website, I was planning to redirect to the same page containing the information added via two URL query parameters, and then access them with the $_GET ...
1
vote
2answers
283 views

UPDATE query to add 1 to multiple columns

I have a website for my football team. I have some statistics and so on in there, for example how many games each player has played and so on. What I would like, is for me to write in the names of ...
0
votes
3answers
336 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 ...
2
votes
1answer
51 views

Backing Up Live Site Using Akeeba

Joomla 3.9.15 I have been using Akeeba to backup my sites and it's very good. I've recently installed in on quite a busy site, users are regularly logging in and out of the front and back end, and ...

15 30 50 per page
1
2 3 4 5
125