All Questions

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

Create custom fields with installing a template

We use content custom fields in our template overrides. Every time we set up a new Joomla website we have to create those same fields manually. Is there a way to create them with the installation of ...
0
votes
0answers
19 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
2answers
74 views

Get values of other custom fields in field layout override

I am using a repeatable custom field for articles 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/...
0
votes
0answers
16 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
1answer
18 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
16 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-&...
1
vote
0answers
14 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.' ...
1
vote
2answers
42 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
1answer
26 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 ...
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
0answers
27 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 ...
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
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 #...
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 ...
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 ...
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
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
45 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/...
1
vote
0answers
19 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(...
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
1answer
58 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 ...
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 ...
1
vote
2answers
51 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
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="...
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 ...
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 ...
0
votes
0answers
32 views

Extend Joomla Blog with a specific custom field

Our target is to extend the native Joomla category blog with a predefined custom field as a filter. In our case, the custom field "tags" has the ID 18 and contains 3 values. Due to the very complex ...
0
votes
1answer
27 views

Render field in backend record form from plugin xml file

I'm building a component with payment plugins and I need to display the plugins fields in the account form record. The plugin xml fields section is <fields name="params"> <fieldset ...
0
votes
1answer
28 views

Custom Joomla Component: Filtered Search Refresh and Scroll to #Anchor

I'm working on a custom component that uses Joomla's standard "filters" to filter the results on my form: <form action="<?php echo JRoute::_('index.php?option=com_event&view=events'); ?>"...
1
vote
0answers
19 views

Very slow initialization of Joomla when on remote database

Running Joomla 3.9.15. When I am using a remote database (still on the same local network though), I am facing massive slow downs on the "before preloadComponents" phase of Joomla init. The actual ...
0
votes
1answer
41 views

Joomla post requests

I'm trying to make an android application and so i want to connect it directly to my Joomla website, i want to send some post requests but they are getting denied, I'm not asking for any help ...
0
votes
0answers
15 views

Joomla Mobile Menu module - clicking the parent menu do not goes to its page

I'm using Joomla mobile menu module - JF Mobile Menu, it is good, everything is working well, but there is one problem - when I click on a parent menu item, it does not navigate you to that page ...
0
votes
1answer
59 views

Define header CSS class if menu items have children

I am using two menu modules to display parent and children items in different locations in the website header. The simplified code below shows how it is written in index.php. I am needing to check to ...
0
votes
1answer
34 views

How to group Component sidebar menu, or add headings?

In my custom component, I have a sidebar with several entries. These are added using JHtmlSidebar::addEntry(...), as described in Joomla Documentation. Most of these sidebar menu items will rarely be ...
0
votes
0answers
16 views

Export result of a List & Search List view

I am using a Seblod List & Search with a custom query, that has Inputs like name and Id, and displays the result of that query (the fields) using a joomla table. I need to export the resultant ...
0
votes
2answers
42 views

Count modules function in template not working correctly

I have a split navigation module defined in my custom template. It is set to display submenu items under the main navigation when the parent item is active. The module itself displays correctly, but ...
0
votes
3answers
63 views

Publish article but give access to it only to users that have the URL?

I want to make a copy of an existing article, change something to it and give access to this article ONLY to people that have the URL. So, basically a "hidden" article. How do I do this?
0
votes
0answers
21 views

Can $cookie_domain be used to share session for 2 domains?

I have a website.be and website.nl. The .nl website is configured as an alias domain. Meaning it shows the .be website. It's not a seperate installation. It shows the exact same website. Now we can ...
0
votes
1answer
39 views

Custom fields published state not working as expected

I am using the following code to check to see if my repeatable custom field's state is published/unpublished. If the state is set to 0, the code in between should be hidden, but instead an error is ...
0
votes
1answer
42 views

Override output for repeatable custom fields

I am struggling to find a way to output the values from a repeatable field in Joomla 3.9.15. I am currently accessing the custom fields assigned to articles using the following code: JHtml::...
0
votes
1answer
27 views

Get the option and view values of a SEF url (i.e. the internal url)

I'm developing a Joomla! 3.9.x component and have written a custom com_myusers component. I want to avoid that people login/reset/remind using the standard com_users component and I thought the best ...
0
votes
1answer
41 views

Got a 'Call to a member function format() on null ' on Administrator panel [duplicate]

On the Admin panel (and apparently only there), I got the following error: Call to a member function format() on null The rest of site and the administrator are working fine. It's Joomla 3.8.2 ...
1
vote
1answer
27 views

Joomla Framework folder “libraries” missing

I'm having difficulties when trying to implement the example given on https://docs.joomla.org/Framework:Creating_a_Stand-alone_Application#Examples I'm trying to do the first example and I'm getting ...
1
vote
0answers
27 views

How do I sort articles in category blog using a custom field value?

I have created a custom field date and added content to the articles of a category. How can I now sort the articles in the category blog overview by this field? What should a blog.php and blog_item....

15 30 50 per page
1
2 3 4 5
125