Questions tagged [joomla-3.x]
For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.10.
3,189
questions
0
votes
1
answer
28
views
What is the best practice for structureing complex OOP in components
When building a complex component I sometimes find that my models can grow too large and I'd like to refactor them into into multiple classes that properly separate concerns. In the core I've only ...
0
votes
1
answer
41
views
0 - syntax error, unexpected token "public", expecting end of file
Trying to create a function to show a news and echo it
But facting issue when
a. Using public - its showing 0 - syntax error, unexpected token "public", expecting end of file. Shouldnt ...
0
votes
0
answers
27
views
problems with updating database
I have some code to update a table:
$updateLastAttempt = new stdClass();
$tempDate = new DateTime('now');
$formattedDate = $tempDate->format('Y-m-d H:i:s');
$updateLastAttempt->id = $pxobjUpdate-...
1
vote
1
answer
38
views
Query with multiple joins and a variable
I have a query:
$query->select( $db->quoteName(
array_keys($fields),
array_values($fields)
));
$query->from($db->quoteName('#__receipts_patient_charge',...
0
votes
3
answers
32
views
How to version assets/images on the entire CMS?
Is there any way to force versioning of specific assets or media types (like .webp images) on all pages of the CMS? I'd imagine it'd be an extension or something that adds ?ver=xyz type of postfix to ...
0
votes
0
answers
129
views
Joomla 3.10.11 on server with MySql 8.0
On my online server which has MySql 5.7 and PHP 7.4 I have three sites in joomla which have the following:
Mywebsite1 with joomla 3.10.11 and JD Boston template with Helix framework 3.0.3
Mywebsite2 ...
0
votes
2
answers
42
views
onContentAfterSave doesn't show custom fields
I created a plugin to send published articles data to external service
class plgSystemVacancypub extends JPlugin
{
public function onContentAfterSave($context, $article, $isNew)
{
// Get ...
0
votes
0
answers
38
views
500 Joomla\CMS\Form\Form::getInstance() could not load file on Multicategories Component
I have a site that I upgraded from Joomla 2.5 to 3.10.12. The previous site is using Multicategories v1.0.4 component, it doesn't work on Joomla 3.10 and there is no update from the Author so I tried ...
0
votes
1
answer
70
views
How do I modify the CSS class on a specific page in a Joomla 3 template?
I upgrade a site template from Nebulae - version 1.6.3 to the latest version 1.16. Nebulae Template
The new template change the rt-container children class from this:
to this:
As you can see, the ...
0
votes
0
answers
12
views
Global robots tag is not inserted, only when you do it on menu basis or article basis
When I set the index,follow in the global configuration and set everything regarding this robots tag to use global it will not actually render the robots tag. It just does not render it at all.
Only ...
0
votes
1
answer
55
views
How do I override Joomlas default field template, but just in my component?
Is it possible to override the default field template just in my component? How would I go about doing it?
The template I specifically want to override is "joomla.form.renderlabel", which is ...
0
votes
0
answers
85
views
Where can I find/edit <div> elements in Joomla 3.10?
Looking to simply add some text to a element which appears on the homepage - this would take me ten seconds in HTML but I can't find where it's located in the Joomla control panel. I've looked in the ...
0
votes
1
answer
127
views
How do I change a page URL on Joomla 3.10.11?
I'm a complete newbie to Joomla here (been working with it for a few days only) and wanted to ask what is probably a silly question. For clarification I'm not using any SEF extensions/plugins - only ...
2
votes
0
answers
21
views
'This page doesn't work' in articles & items
A strange issue occurred in my site https://myagiaparaskevi.gr/ suddenly. I've done no changes except publishing new articles. Every time I try to visit an article I get 'This page doesn't work'. ...
0
votes
1
answer
47
views
Tags not saving for Joomla category custom component with the correct entry in the #__content_type for the Joomla 4 and Jooma 3
Created field type category in the custom component com_drawing
but not able to save the tags in the category(refer to the image)
Table entry in the table #__content_types
INSERT INTO #...