Questions tagged [joomla-3.x]

For question regarding Joomla 3.x of the Content Management System. This includes versions 3.0 up to 3.8.

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

Displaying label (boostrap badge) in an admin grid

I need to display a green highlighted message in my grid. I'm currently using <span class="label label-success">message</span> Is there any way to do it via code like JFactory::...
0
votes
0answers
15 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 ...
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
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
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
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
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
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
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
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'); ?>"...
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
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
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?
2
votes
3answers
96 views

DPCalendar custom field inside module

I am creating an override in DP calendar and would like to display a custom field created in DP Calendar inside the module. The field type is 'URL' thus I would like it to be a clickable link. I have ...
0
votes
1answer
38 views

Can Joomla send the user an email after admin approves them?

I refer to this ticket: Can Joomla send the user an email when admin approves them? hence I can not reply or comment as a new user does anyone know a solution to this issue of mine? Problem is: ...
0
votes
1answer
61 views

Unset Unwanted Backend CSS and Javascripts

I'm creating a modification of K2 module and I want to remove some unnecesary K2 css and script load. I have tried to use unset($this->_scripts['']); unset($this->_styleSheets['']); but ...
0
votes
1answer
30 views

How to add js library on component installation

I have component which needs a slider. I`ve chosed carousel but how to add it in the frontend part of the component on installation ? Tried to put it in the administrator part but the scripts can't be ...
1
vote
0answers
26 views

How to pass variables/data to client javascript from Joomla component? [duplicate]

What is the proper way of passing variables from Joomla backend to javascript (frontend)? I have found examples simply setting the variables in templates like: <script type="text/javascript"> ...
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 ...
0
votes
0answers
42 views

How to override default.php for config.xml

I have component which has config.xml. It is render with the com_config/view/component/tmpl/default.php. I need to override this file in my component and create my custom layout. Red all the articles ...
0
votes
1answer
32 views

Creating a Library with multiple classes within a single file

I am trying to incorporate an external application as a library within Joomla which I have done before on a couple of occasions, however in this case there is a single .php file with about 20 classes ...
1
vote
1answer
42 views

Joomla adds / to empty href and src attribute

I have a mustache template and the output via php is: <a href="{{link}}"><img src="{{image}}" title="{{name}}" alt="{{name}}"></a> but Joomla renders my output to: <a href="/{{...
1
vote
1answer
33 views

Problem accessing database from front end of a component

I am currently working on a component which will display "events", stored in a database, on a map (filterable by location, category, date etc...). My first step is to display a simple report of the ...
0
votes
1answer
35 views

How to get the currently installed Joomla! Version in PHP

For one of my extensions i need a switch statement if the Joomla! Version is 3.x or 4. (in fact i have to call the Articles Model in different way for J4) - but how can i get the actual installed ...
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/...
1
vote
2answers
48 views

Remove 'There are no articles in this category.' Text

Joomla 3.9.14 I have a category with no articles, although the sub categories do contain articles. - colours (no articles) -- red (1 article) -- blue (2 articles) I have a menu type Category ...
0
votes
0answers
41 views

Remove joomla inbuilt css and JS Files

Am on Joomla 3.6 series, i am trying to optimize page loading speed, but every page has these JS files and scripts loaded by Joomla Is there a way to remove these, dont want to use jchoptimize or any ...
0
votes
1answer
31 views

How to cancel a mandatory (required) field in Virtuemart form submission process?

I want to free my future site's visitors from having to fill out the form before submitting their name, e-mail and a phone No. Basically, in most cases it won't be needed for them to also add more ...
1
vote
1answer
92 views

How can I globally override renderField() method to set $options['class'] value in Joomla 3?

I need to be able to add styling class to form fields parent wrappers when using the xml attribute method, with a new attribute cgClass (as in control-group) to achieve <div class="control-group ...
0
votes
1answer
28 views

joomla installation on localhost using wamp does not starts

Joomla installation on localhost using wamp does not starts. No error is reported in the logs file. I'm using WAMP 3.1.4 (64 Bit) Apache 2.4.35 Port 80- PHP 7.2.10 MySQL 5.7.14 Port 3306 MariaDB 10....
1
vote
0answers
41 views

Custom htaccess rewrites with PT flags

I'm attempting to add a custom RewriteRule in the default htaccess file in Joomla 3, but not having any luck getting it to work. The end goal is to create a URL with a wildcard subpage, like site.com/...
0
votes
0answers
17 views

Peculiar behavior with Beez 3 template, Joomla 3.9.14

I have a custom HTML module published in the top left column (position-7) of the Beez3 template. This HTML module also includes a photo. I am attempting to place the default Login module in position-...
1
vote
1answer
42 views

External Login Script and getDbo()

I have a Joomla 3.9.14 site with a subdomain app.example.com. I have a login form, and I want to allow users to login using their Joomla credentials. Everything is working as expected, users are ...
2
votes
2answers
48 views

Edit Contacts on Front End

Joomla 3.9.14 Is it possible to edit a list of contacts from the front end? I need to display a list of contacts from a certain category, and allow administrators to edit their details. Currently ...
1
vote
1answer
61 views

In front end of component use the Admin controller and model to delete records

I would like some help in using the delete() methods of the AdminController and AdminModel when in a front end list view to avoid duplicating code unnecessarily. I have a listing of records in a ...
0
votes
0answers
32 views

how to remove “Add to Phrasebook” in my Joomla site?

If a not english visitor open my site i.e. this page he will see a lot of rows like this Add to Phrasebook No word lists for Italian -> Italian... Create a new word list... Copy and SAVE ...
2
votes
0answers
86 views

Unknown extensions - 1062 Duplicate entry '0' for key 'PRIMARY'

I'm using Joomla 3.9.14 Release and am no longer able to add new articles or extensions. The original installation was 3.7.x on which I recently encountered this problem. On the main administrator ...
0
votes
0answers
16 views

How can I make changes to JoomlArt's “Ja Mero” template's style sheet?

I'm not quite sure how Joomla's file structure works. I am using the Ja Mero template from JoomlArt, but haven't used it much. It looks like the T3 Framework. The generated filepath appears to be: ...
2
votes
1answer
36 views

Is it possible to upgrade Tinymce to v5.x in Joomla?

The current latest Joomla! v3.9.14 (August 2019) The integrated tinymce is v4.5.11 Tinymce released the new V.5.0.0 in February 2019, including major improvements and a great new API I want to use ...
0
votes
1answer
126 views

Issues with cookie bot on Joomla 3x and jQuery

I am trying to install a cookie library on a site. We are getting jQuery is not defined from the cookie library. Presumably because it is being loaded before the jQuery library. The jQuery library is ...
0
votes
1answer
111 views

Another Accordion not functioning [closed]

I created Accordion HTML code for certain element in Joomla builder, but some of the Accordion is not working. FYI, all the Accordion code is in the same page. For first element is working fine, but ...
0
votes
0answers
37 views

Converting to JS

Hello i am still learning but was wondering if anyone here could help i have the two function be low i would like to convert them to JS to store in an external file then be able to call one of the ...
0
votes
0answers
57 views

Code works properly but shows data for all users

I am using the latest RS Form Pro with Joomla 3.9, Platform 13.1.0. My code is working properly (thank you guys!) But the data should be limited to each user. The user ID is is not in the table ...
0
votes
1answer
26 views

Share article dropdown

I'm looking for a plugin that will allow to have a dropdown social share menu, like the ShutterStock has I need next sharing options: Facebook Instagram Copy Link Email probably, few more items ...
0
votes
1answer
84 views

enable Selected option for a custom field extending JFormFieldList

I am creating a custom field extending JFormFieldList as below Form field is defined as below <field name="reltype_rev_id" multiple="true" type="customfield" ...
1
vote
2answers
26 views

Unable to update NULL via updateObject

We got 2 tables where one table is parent and another table as a child with primary and foreign key reference. Assume table1 is the parent and table2 is the child as below. table1: id <- ...

1
2 3 4 5
57