All Questions

1
vote
1answer
13 views

Article Shows as white screen but plugins load

I have an article which shows as published in my back end. If I click on "preview" which I believe is Regular Labs "better preview" I see a screen saying the article is unpublished. I also have a ...
0
votes
1answer
7 views

Click to upload an image “The server returned an invalid JSON response.”

When I go into an article, and then click to upload an image I receive the error: The server returned an invalid JSON response. I actually receive the error twice in a row if that helps. Can ...
0
votes
0answers
6 views

Users “failure to login” ?Itemid=638

Users attempting to login are generating this message in the backend under AdminTools: component/users/profile?Itemid=638 Are these folks being rejected -or- are they simply failing to login ...
0
votes
1answer
27 views

How to add new layout in menu item?

I can see there's an option to choose a layout: How can I add new custom layout with template override? I have tried several way for eg. html/layouts/mylayout.php, html/com_content/category/...
0
votes
0answers
23 views

How to programmatically creating and install a module during component postflight?

I want to create and install a module via component postflight. I can get postflight etc. to work, but I can't get it to create and install the module. Code I've created: // Get the database object ...
1
vote
1answer
31 views

How to use cache calls in Joomla 4

From the documentation I use this part to store a large chunk of data if (empty($families)) { $cache = Factory::getCache(); $families = $cache->call( array( 'JFormFieldFamily', 'getFamilyList' ...
0
votes
0answers
23 views

Can't connect to Joomla administration page after Windows10 update

I'm using Joomla version 3.9.6. I encountered a problem just after a windows update. The error displayed is: Warning: session_start(): Failed to read session data: user (path: C:\xampp\tmp) in C:\...
0
votes
0answers
59 views

Access namespaced custom field method from a plugin into another plugin

In one of my previous questions, I learned how to properly set up a namespaced custom form field, but it turns out that it's only available within its plugin scope for some reason. I need the field ...
0
votes
1answer
74 views

Joomla 4 - how to set namespace for custom field addfieldprefix

I have the editors-xtd\vimeo plugin with this structure ..\plugins\editors-xtd\vimeo\models\fields\(a bunch of custom fields) ..\plugins\editors-xtd\vimeo\forms\form.xml ..\plugins\editors-xtd\vimeo\...
4
votes
2answers
6k views

Getting custom fields and their values (com_fields)

I started working a project on the upcoming 3.7 version, using the com_fields. I have created an article and a category level group of fields. The idea is that I want to use the category level fields ...
0
votes
0answers
18 views

j2store add to cart button

I'm trying to add J2Store add to cart with below code templates/name-template/html/com_content/article/default.php code require_once(JPATH_ADMINISTRATOR.'/components/com_j2store/helpers/j2store.php'...
1
vote
0answers
448 views

Fatal error: Call to undefined method WFEditor::getContext() in …/administrator/components/com_jce/models/model.php on line 128 [closed]

I am unable to login into back end of joomla, i am using joomla 3.6 and when i operate PHP Version 7.0.12 and try login, i get Fatal error: Call to undefined method WFEditor::getContext() in .........
0
votes
1answer
33 views

Joomla 4 - import parent field class into extending field class issue finding the files

Testing my Joomla 3.9 extensions in Joomla 4, some of them didn't work, because, as instructed with the (probably) old documentation my custom fields use jimport('joomla.form.formfield'); ...
1
vote
2answers
40 views

Extended subform field use own layout from template/html folder

I've created an extended subform field type called families.php, basically I want to have my own custom layout for this custom field, it makes sense I don't want to mess up everything just for this ...
0
votes
1answer
38 views

Joomla custom template parameter tab title

I'm adding a new fieldset with custom params to my template: <config> <fields name="params"> <fieldset name="advanced" addfieldpath="/templates/mytemp/fields"> ...
0
votes
0answers
29 views

Article links from Joomla article do not work for multi-language website

I have a Joomla article that contains links to other articles: https://www.dev.gonativeguide.com/de/ I add the links with the "+article" button of the editor. My site is bilingual: English and ...
0
votes
0answers
18 views

Remove textfilter partially for <link> and <meta> not working

I want to add <meta> and <link> tags in the source code from TinyMCE to add schema.org declarations. Tiny MCE is set to use the filter from Joomla. The Joomla textfilter is set to "No ...
2
votes
1answer
32 views

How can you hide Joomla admin password while inputting the characters?

I have followed the advice at autocomplete disable in joomla administrator. How can I hide the password characters while I am typing without losing the functionality provided by Zollie?
0
votes
3answers
798 views

How to retrieve request headers?

I am adding custom header in my request (sent from external app) to Joomla controller with a custom header added. How to retrieve the header in my controller? I tried using below but it gives me null....
0
votes
1answer
25 views

Joomla admin redirects to language code after login

I've been extensively searching the web but found no useful solution and would be happy for any input. After migrating the site to a new server (Apache, no apparent changes, just newer) and adding ...
3
votes
1answer
288 views

autocomplete disable in joomla administrartor

I want to disable autocomplete login details when i am click on administrator login. I tried autocomplete ="off",oncopy="return false" onpaste="return false" but nothing work. I know it's a browser ...
0
votes
1answer
49 views

No longer able to access the User object in Joomla 3.9.3

I built a small website using Joomla 3.4.0./ Wampserver 2.4 on Windows 8.1 Pro. Now I've upgraded the computer to Windows 10 Pro and Wamp 3.1.7 (64 bit). I've rebuilt the website with latest version ...
0
votes
1answer
26 views

How to get the canonical SEF URL of an article in PHP?

Is there any way to get from the article it's SEF URL? <?php $id = JFactory::getApplication()->input->getInt('id'); $article = JTable::getInstance("content"); ?> searching ...
-2
votes
2answers
34 views

Dynamically adding Page URL and Page Title into html Link

I am attempting to create some custom social sharing icons using Font-awesome. I started out with the following code: <span>Share this article:</span> <a class="facebook" href="...
0
votes
0answers
14 views

Category blog display all articles full text but not the image of the full article

Referring to How to create a category blog layout with all articles shown in full?, the advice helped a lot and works fine. Now I would like to get rid of the intro image so that I have full text on ...
0
votes
1answer
25 views

get intro-image from article?

I do not get the images out of my article. The article var is initialized, but the images and pictures vars seem to be empty. Any hints what I do wrong here? <?php $id = JFactory::...
0
votes
1answer
18 views

Find Article SEF URL by ID

Is it possible to get SEF URL from Joomla article ID through some API? I'm moving data from old custom CMS to Joomla. Articles in old CMS contain links to each other. Old articles had their full URL ...
0
votes
0answers
26 views

“Temporarily Unavailable” message when a menu alias contains “contact”

One of the websites we manage, http://wesleyunited.ca , recently started having a problem with menu aliases containing "contact" as a substring: clicking the menu just brings up an empty page that ...
0
votes
0answers
24 views

Contacts - Sending to multiple recipients

Never had to deal with this in the past, but now I have been asked to add a second recipient email on a contact form made with com_contacts. At first glance this seems to not be supported by the ...
0
votes
1answer
45 views

Use the “sql” form field type in extension xml only if the table exists

I developed a plugin for Joomla!, and I have the below sql parameter field in my sampleplugin.xml <field name="cb_fields" type="sql" label="Select CB fields" query="SELECT name ...
1
vote
2answers
2k views

How to fix Joomla site both frontend and backend shows error page (site down) after fix database?

I have Joomla 3.4.8 site (multilingual site) that shows this error on the front-end that said : **Fatal error:** Call to undefined method JLanguageMultilang::getSiteLangs() in **/mysite/public_html/...
2
votes
0answers
75 views
+100

Can I interrupt installation process with preflight function?

I'm trying to add a note to user when trying to install an extension / module. Basically I want to add note before user continuing the module installation process when an older version found, and ...
1
vote
2answers
925 views

How to add custom search tools for custom component

I have created Custom component from component-creator website now I want to add Search tools to this component, Search component like Article search provides. can anyone guide me from where I can add ...
1
vote
1answer
46 views

How to get J2Store item price

I'm trying to add J2Store item price to the (my modified) built-in joomla mod_articles_latest. I'm able to get a 'complete' Add to Cart block with this code : require_once(JPATH_ADMINISTRATOR.'/...
0
votes
0answers
22 views

Adding field path and script into form relative to template path

Case 1 I am trying to add field path into templateDetails.xml without specifying a templateName. The following code works <fieldset name="name" label="label" addfieldpath="/templates/templateName/...
0
votes
2answers
63 views

How to get Custom Fields related to Joomla Content?

I want to know how they get the values of custom user fields within Joomla articles. This is to contribute ideas and ways to solve it.
0
votes
1answer
29 views

fetch user custom fields in article

I have created some custom fields in user profile 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
41 views

Use a plugin defined field inside template

I've created a custom field for my plugin and it's working great, but if I want to use the same field within my templateDetails.xml I get an almost blank page in the template style edit page. I should ...
2
votes
3answers
49 views

How to have article page use a template other than the one of its category?

Let's say I already have a menu_item_A set as a "category blog" page of category myblog, and the template associated with it is templateA. When I go to this page and click one of the articles, if ...
1
vote
1answer
39 views

Home page problem (maybe css related)

I have just made a new installation of Joomla from scratch and adopted the Helix Ultimate, but the look of the home page is quite different. My site: http://www.casalpinachezal.it/ Demo Helix: http://...
1
vote
1answer
59 views

Generate and render a module on an article with PHP

I want to create a module and add it to an article I can already create the module manually and can add it to the article using php. I can't figure out how to add a module using php. So if I have ...
1
vote
1answer
81 views

Create an image overlay on rollover in SP Page Builder

I am trying to create a rollover effect as can be seen here but am struggling as to the best way to do it. The client has requested that the site be built using SP Page builder as they want to ...
-1
votes
1answer
560 views

Problems When I change my PHP version to 7.2(Error 0 Using $this when not in object context )

I have my website in production now, The site works very good with PHP 5.6 and 7.0 but When I try to change the PHP version to 7.2 the website doesn't work. It shows me an error message like this: I'...
0
votes
1answer
18 views

HTTP Error when trying to edit Joomla on localhost

I made a backup of my live Joomla 3.7.5 site using Akeeba and used kickstart to upload the backup to MAMP on Windows. The front-side of the site on localhost displays correctly and I am able to log in ...
0
votes
2answers
44 views

htaccess problem with joomla and sef

I have the standard joomla .htaccess file installed. The site is at 3.9.4 and works fine. The pages have no extra modules published other than joomla custom modules - nothing else is published. ...
0
votes
1answer
38 views

JLayout Search Tool not populating filters and inputbx

I am converting the searchbar in one of my components to JLayout Search Tools searchbars to become more ready for J!4. Everything is working fine but it is not populating the filters. In view.html....
3
votes
2answers
66 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 ...
0
votes
1answer
81 views

Is there a way to open a BS collapse through a link?

If I have a simple BS collapse: <a href="#content-<?php echo id; ?>" data-toggle="collapse">Trigger Text</a> <div id="content-<?php echo id; ?>" class="collapse"> ...
0
votes
1answer
13 views

configuration.php unwritable when permission is 0644 but writable when 0664

My Joomla is 3.9.4. When I tried to make some global configuration change in the backend, I got this error: Could not write to the configuration file. I looked at the file system, configuration....
0
votes
1answer
26 views

Missing form data from being saved in Contact Component

In the Contact component, I have edited the file "contact.xml" I changed the textfield named con_position from type="text" to type="calendar". Here is the code: <field name="con_position"...

15 30 50 per page