All Questions

Filter by
Sorted by
Tagged with
3
votes
2answers
453 views

How to query and display a list of nested tags for a particular parent on front end as links?

What is the best way of querying the db to generate a list of tags matching a particular parent and display on the front end as a link with tag title and id? This is for a custom joomla mvc ...
1
vote
2answers
219 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
0answers
17 views

Add link to another form's submission view

I have two separate forms - a user form and an incident form. In the user submission view, I need to generate a link to all incidents that the user may have. These users may have more than one ...
2
votes
0answers
13 views

Deleting obsolete menu types

While programming a Joomla extension, I experimented with Menu Types, however while editing/deleting/adding types in the default.xml it doesn't delete the previous ones. So while I only have 1 menu ...
2
votes
1answer
165 views

Does JRoute by default finds path to menu link (SEF)

What do I understand in Joomla is that until you create a menu for a specific view you will be getting component links to its views, in this manner: component/component_name/location/new-york (ex #1)...
1
vote
0answers
20 views

Error coming from T3-framework while updating Joomla

I am trying to update the Joomla version and T3-Framework version of our website and there seems to be a bug somewhere. Current JOOMLA version: 3.7.4 Current T3-FRAMEWORK version: 2.4.1 I first ...
1
vote
1answer
28 views

How to change custom field order in field group?

For articles, I have created two custom fields and I have registered both in a field group -- this much is fine. Now I would like to change the order in which the fields are displayed on the page. I ...
1
vote
1answer
30 views

Add custom code to the controller from com_weblinks

I want to add analytics tracking code before the component com_weblinks jumps to an external site with task=weblink.go. The problem is the jump is in the controller.php file. An override for this ...
2
votes
1answer
88 views

Add multiple recipient email addresses Joomla Page Builder

I am using Joomla and SP Page Builder. I have back-end side and front-end side. I would like to add multiple recipients for sent emails from my contact form. I have found related codes for sending ...
1
vote
0answers
19 views

Joomla frontend user removed from groups automatically on log in / log out

I have this weird bug everytime I log into Joomla with a non-administrative user. Every time the user logs into the site, he is removed out of all Joomla user groups, except the Registered group. I ...
1
vote
1answer
500 views

Smart Search always returning results to component, not the defined new page

I've read this: Joomla 2.5 How To show Smart Search results on their own page, but it seems to apply to J 2.5 only. I've followed the steps here to set up Smart Search on a J 3.8.2 site: https://docs....
0
votes
2answers
780 views

Change Value In Session Array

This will change a variable in the session $session = JFactory::getSession(); $session->set('name', "value"); But could you in the same way (directly) change any specific value of a session array?...
3
votes
1answer
39 views

Creating a multidimensional JForm field dynamicaly

Item Model protected function preprocessForm(JForm $form, $data, $group = 'examplegroup') { foreach ($data as $i => $item) { $field = new \SimpleXMLElement('<field />'); $...
7
votes
1answer
503 views

How to access an array in $_GET using JInput?

I've been researching different ways to get an array using JInput. According to http://docs.joomla.org/Retrieving_request_data_using_JInput there are 2 methods that I can use. Method1 $jinput = ...
1
vote
0answers
16 views

One joomla to serve as multi-domain/multi-site with subdomains (vhost)?

I am trying to solve the requirement to move some parts of the website to subdomains. But I do not want to split the website into multiple joomla instances My first idea was to use 301 redirects for ...
0
votes
0answers
17 views

How to tell ReDJ to redirect all except given paths (negate /path1 and /path2)?

I am struggeling with ReDJ to configure redirection. I want to redirect all URLs except given once. e.g. https://www.example.com/something https://www.example.com/something/abc https://www.example....
0
votes
0answers
13 views

Contacts - Error Occurred When Editing

Joomla 3.9.11 Whenever I am editing a contact I can see the following error on the page; Error An error has occurred. No other information. I am able to edit and save the contacts, so ...
3
votes
1answer
21 views

JHTML::_('behavior.tooltip') — Set tooltip position

I'm trying to set the position of the tooltip in Joomla 3.9.8. I've used: JHTML::_('behavior.tooltip'); At the top of the document. I then have field set as: <?php echo JHTML::tooltip($...
10
votes
9answers
5k views

How to create page only with modules and no component?

In joomla, I need to link every page to a component view. How can I create a page with no component output on it? Example : On my home page I only want a module output. For this, I can link the home ...
1
vote
0answers
16 views

ob_flush pushes output before Joomla header

I have a module that I've created to test ob_flush buffering off. I need to understand it so I can have some longer modules buffer output to the page as the script goes through long processes. The ...
2
votes
2answers
216 views

How to combine several sets of 'ANDs' and 'ORs' in a complex WHERE query object?

I want to create a complex WHERE query that checks: If (condition1 = TRUE) AND (condition2 = TRUE) AND (condition3 = TRUE OR condition4 = TRUE) So the first two conditions MUST always be true and ...
0
votes
0answers
15 views

Override XML File [duplicate]

Using Joomla 3.9.11 and SP Simple Portfolio When adding a portfolio item via the back end there is a description textarea field, this is required. I'd like to remove this required attribute. Looking ...
2
votes
1answer
431 views

How to change date format in JHTML::calendar to d-m-Y?

In a form I have a date/time-field. It works correctly, but the format of the date isn't right -- I require Dutch date notation (d-m-Y). Instead of day-month-year it displays and saves it as year-...
0
votes
1answer
26 views

How to add a field to com_content in the backend?

I'm confused about this. I want to add a field to the com_content core component that needs to show up under the "Title" field in the administrator backend when you edit an article and of course to be ...
3
votes
2answers
65 views

How to create two different template overrides for the start page and featured articles?

I'm new to Joomla and currently creating a template for my website. Unfortunately I'm facing a problem which I did not found out how to solve. I wanted a front page which is different from the rest ...
0
votes
1answer
33 views

Users ID numbers messed up - how to change them manually? (urgent)

Background: I develop my website on my dev. subdomain and when ready and test and clone dev to the live domain. However at the same time my users may change their password or any other profile data, ...
0
votes
1answer
47 views

Joomla backend not reflecting updated PHP version

I've updated to PHP 7.2.17 through my host's cpanel, but I'm still getting a message in the Joomla backend that my PHP version is not updated. Error We have detected that your server is using ...
0
votes
1answer
18 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
15 views

Tagged blog layout with readmore

I implemented the solution that enables a blog layout for tagged items, as described here: How to show tagged items in category blog layout What I miss is the Read More button. How do I implement ...
5
votes
1answer
375 views

Tagged items blog layout

This has come up before but I don't have enough reputation to comment into the original questions. User webchun gave a great tutorial in How to show tagged items in category blog layout which works ...
0
votes
1answer
23 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 ...
1
vote
0answers
11 views

Failed deleting sourcerer_php - Joomla 3.x

I randomly get a warning notice on the front end of my Joomla! website and I really can't understand why. Failed deleting sourcerer_php_d72bnbv27u4bfkdpa01347flf8gfkl I checked my tmp folder on ...
0
votes
4answers
586 views

Remove form fieldset

I am trying to remove a fieldset from a form. I have not found a function that does this, so I do it through an array to remove them individually. $infofield = $form->getFieldset('company'); ...
0
votes
0answers
16 views

Joomla layouts folder override not working

I'm trying to add a custom field inside the admin form when you edit an article. Since I want to add this under the title input I tried to edit this file /layouts/joomla/edit/title_alias.php and the ...
0
votes
3answers
40 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 ...
3
votes
1answer
37 views

How to send data with save2copy button?

I'm developing a component. I want to have the save as copy button appear next to each element on my front end list view. I have copied the save as copy buttons html from the edit view of a single ...
0
votes
1answer
18 views

How to show k2 article previous date only and upcoming only

I am creating k2 articles as events. There will be: Upcoming events Old events. I am not able to show old events for current date. How to filter both types of events (Upcoming/Old) with ...
1
vote
0answers
20 views

Modify the META “Robots”

I want to modify the Robots Meta Tag like <meta name="robots" content="nosnippet" /> But Joomla give me only the choice between (NO)Index and (No)Follow and his combination in a article. ...
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
3answers
572 views

Joomla 3.9.3 Articles: 500 Unknown column 'a.note' in 'field list'

I've updated to Joomla 3.9.3 and now when I open the articles pages, I get this error: 500 Unknown column 'a.note' in 'field list' I've tried to fix the database with the Joomla repair function, ...
1
vote
2answers
45 views

How to overwrite a module's .php to control what scripts it adds to the head of the doc?

I am new to Joomla. I have installed a plugin and I want to overwrite the module file to remove some of the unwanted scripts. project modules mod_modulename mod_modulename.php How can I overwrite ...
2
votes
2answers
27 views

Advanced Module Manager Assignments

Using Joomla 3.9.11 and AMM 2.7.1 I have a blog with the url www.example.com/news I need to display some modules on the right hand side of this page, but only on that exact URL. If the URL ...
2
votes
2answers
39 views

Can't remove white space above and below the header

I am writing a Joomla template from scratch to use on my website. For some reason, I get white space above and below my header. My website, which you can check and inspect: http://vaterlinija.lt/ ...
0
votes
1answer
40 views

Using plugins into modules

I working on a simple module that have a simple backend form composed with custom field and I looking for a event or something else to process something during it submition. What's the way to to do ...
1
vote
1answer
621 views

How to create breadcrumbs based on menu structure

Breadcrumbs grabs the breadcrumb trail based on the content. This causes problems when a site has internal links being created via the editor to other articles that do not have menu items. eg: Home / ...
0
votes
3answers
48 views

Limiting onContentAfterSave to one result

First of all, I'm quite new to creating my own modules and plugins (and very much in learning stages!) and I find the help here excellent and very inspirational - thank you. I'm trying to create a ...
0
votes
2answers
46 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
46 views

How to render mod_articles_category using custom php code?

I am writing PHP API for Joomla3.9 website where I need to deliver the HTML produced by mod_articles_category modules. I tried blow code to get Module HTML output but it does not working any more It ...
1
vote
0answers
17 views

K2 tools Archive redirects to homepage

K2 tools Archive redirects to homepage. How can I fix it? There's a topic with the same theme: www.joomlaworks.net/forum/k2-en/36125-k2-tools-archive-redirects-to-homepage,-how-to-fix But the advice ...
0
votes
1answer
19 views

How to redirect all exceptions/error to a 404 page or back to home page

I'm currently using Joomla and we have a small security vulnerability in our URI. Currently, it displays the Exception/Error directly to the user like so: You have an error in your SQL syntax; ...

15 30 50 per page