Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
2answers
21 views

How to check if specific table names exist in a database?

All I want to do is check if a table exists or not and I can't figure it out. I've tried: for ($r = 0; $r < count($tableArray); $r++) { $db = JFactory::getDbo(); $query = $db->getQuery(...
2
votes
0answers
23 views

$captcha->CheckAnswer() always retuns false

After a lot of struggle, I've figured out how to implement the standard Joomla reCaptcha. But now my problem is the verifying of it on the server side. The steps of the reCaptcha: I have a form ...
0
votes
0answers
9 views

email floading in forgot password and username [on hold]

In joomla an user an find its username and password by email verification. i just wanted that an user can send only one email per hour to retrieve username & password. and link should should not ...
0
votes
0answers
11 views

How to Create Yootheme Pro Template Style in Joomla

I building an e-commerce site with Joomla and YoothemePro template. I want to create my own custom template style that will appear under the STYLE section of the template just like the standard for ...
1
vote
0answers
14 views

Manage Categories in Site part. Is possible?

I use the com_categories in my custom component based on the joomla Docs Adding Categories. But I need to manage the categories in the site part. I was wondering if there is an easy way to do it, or ...
1
vote
2answers
30 views

How do I setup recaptcha on an override of “default_login.php”

I've set up the standard recaptcha plugin in Joomla. I did an override of the login page and it wasn't showing the recaptcha, so I tried to add it by following the answer from these pages: My Captcha ...
1
vote
1answer
21 views

How do I add custom css to a Joomla! Module?

I am using a module called JM - Inrto Articles which in short allows you to add little preview tiles of other blog articles that have been posted. Problem is, I want to edit this using my own css. I ...
0
votes
0answers
26 views

How to validate the Article - Intro Image field in the backend?

When managing an Article in the administrator/backend, it is possible to insert a non-url into the "Intro Image" field (located in the "Images and Links" tab). Upon clicking "Select" a modal window ...
1
vote
1answer
33 views

Showing a module only on first page of Category Blog

I am using this code to show a module inside blog.php: <?php echo JHtml::_('content.prepare', '{loadposition myModule}'); ?> How can I show it only on the first page of the category blog? I ...
1
vote
1answer
21 views

Upgrade component under development without reuploading files

I'm developing a component and as I make changes to the SQL update files and install files, I'd like to run the component upgrade process without having to package up the component and upload it. ...
2
votes
2answers
124 views

how to refresh Joomla token in form by AJAX

I've got a website that uses an AJAX call to login a user. To secure this, I've added a token to the login form - https://docs.joomla.org/How_to_add_CSRF_anti-spoofing_to_forms the problem is that, ...
1
vote
0answers
8 views

How to configure PHP basedir for Joomla running on IIS shared hosting

I have the following setup: IIS 10 with Plesk Onyx 17.8.11. Joomla 3.8.13/PHP 7.2.10. The website is hosted in shared hosting provider. After installing Gantry 5 I get the following warning on the ...
1
vote
1answer
32 views

AJAX POST request with form Token always responds with “Invalid Token”

I'm sending data from a form with AJAX. The data is a username and password of the user, and therefore I want to make it as secure as possible. I'm trying to use a token as an extra security layer, ...
0
votes
1answer
22 views

Tracing source of this error: Call to a member function reorder() on boolean

Is there a way to trace this error: Call to a member function reorder() on boolean I'm checking my PHP Logs but this particular error isn't showing up there. It happens when I'm trying to create ...
2
votes
2answers
80 views

Run function in com_content with ajax - doesn't call it corretly

I've been following this tutorial to make an AJAX login form. http://www.mysite4u.net/joomla-articles/jquery-ajax-joomla-login.html But I can't get it to work. The ajax call dosen't work. It gives me ...
1
vote
1answer
20 views

Joomla table DESCRIBE

I'm trying to DESCRIBE a table in joomla 3.x I want to get the column names and the associated details (type etc) into an array. I want to get Name Type Collation Attributes Null ...
-1
votes
1answer
26 views

How to write a conditional check on a column value with a mysql query?

I am trying to setup a simple default statement on the results page of a testing system. This seems like it would be relatively simple, but I cannot get my if statement to process properly. The ...
0
votes
2answers
27 views

Individual user fine grained ACL is it possible in Joomla! 3.x

I was wondering if it was possible in Joomla! 3.x to have permissions down to individual user level. Eg: user A can see item X but not user B even if user B is in the same group or have the same ...
2
votes
2answers
32 views

How to solve include_once() Warnings in tmp directory after migration?

After Joomla migration, I'm left with a few errors like: Warning: include_once(menu.php): failed to open stream: No such file or directory in /www/doc/www.elody.cz/www/tmp/htmlpaUI9p on line 1 ...
1
vote
1answer
62 views

Solidres Data Report for Joomla Admin

I am pretty new to Joomla & PHP so this is a broad question. My client is looking for some custom reports for Admin login on data prepared by Solidres as that Solidres doesn't have those reports....
0
votes
0answers
30 views

How to display image in a module position?

I am trying to include a banner in my website and I have made a custom layout with a block that specifies the position of this banner. I made the layout by including this code into the layout PHP file:...
4
votes
1answer
21 views

How do I get a watermark on a sigplus gallery?

I have install SigPlus 1.5.0.262 on Joomla! 3.7.5. I am just trying to get the watermark to work. I cannot seem to get it to appear. I think my issue is just where I am placing my image. According to ...
2
votes
1answer
17 views

How to count the rows in a database table that have a date in the current year?

I am writing a module that displays a count of the number of records depending on the date_time column. I am able to get the result that I am looking for when using a static date as below. However, I ...
0
votes
0answers
17 views

Joomla Seblod and jQuery conflict

I'm currently running into some issues with jQuery. On my Joomla I have the "Seblod" CCK installed. I then created a module in which I implemented the juicer.io social media feed. When I now try to ...
5
votes
1answer
47 views

Joomla Site not detecting https protocol

I have a Joomla site that I am finishing up and now loading onto the server that will host the live site. I'm now getting the following error in the javascript console: Mixed Content: The page at '...
0
votes
2answers
41 views

In custom fields, array_values() prints “Array”

From the code below, the output is <meta mytags="tags" content="Array" /> but if I echo the array_values($field->rawvalue), it displays all the populated values from the array. Can someone ...
0
votes
2answers
34 views

Joomla importer merger structure only merges first table mentioned in schema

Joomla importer merger structure only merges the first table mentioned in schema. Try this: $importer = new JDatabaseImporterMysqli(); $database = JFactory::getDBO(); $importer->setDbo($database);...
2
votes
1answer
26 views

How to reformat a date string? [duplicate]

I'm trying to enter the date in tags default_items.php (in an override) to see the date in tags list. I am using <?php echo $item->displayDate; ?> and this prints: 2018-08-04 06:04:37, but I'...
0
votes
0answers
46 views

Add meta tags from the contents of Custom Fields

A little out of my league here and related answers I have found just don't either work (for me) or don't explain it enough (again for me). I'm trying to add code to a plugin that will extract values ...
2
votes
1answer
45 views

Cannot update RokSprocket Module 2.1.x to latest 2.1.24

I'm having a issue with a module update in Joomla. I cannot update from RokSprocket Module 2.1.x to latest 2.1.24 I am getting the error on trying to update Error RokSprocket needs at least ...
1
vote
1answer
19 views

Manually render filter form fields in layout

I am using the searchtools filters in the front end of a custom component. So I am displaying the fields in my template : <?php echo JLayoutHelper::render('joomla.searchtools.default', array('...
0
votes
1answer
22 views

Fatal error: Call to undefined method InvalidArgumentException::getlevel() in l/libraries/legacy/error/error.php on line 536

I've done a website transfer from one hosting provider to another one. I managed to make the website live in the new hosting, but can't access the Joomla! administration area. I get this error: ...
1
vote
1answer
25 views

Set featured article first in custom sort order

I am using a bespoke module (which has been inherited with the site) and the module sorts the articles shown based on the selected sort order from the XML params: <field name="sortopt" type="list" ...
1
vote
2answers
45 views

How to build valid json object for a component's ajax response?

I've set up an Ajax call in my component. I seem to have got the initial call, the controller, the data model is working because when I make the JavaScript call I'm showing this in the code inspector ...
0
votes
1answer
38 views

How do you start new project design implementation? [closed]

You choose the framework and extension for your new website project and actually all is set. The designer sends you some Photohop files with new design. I tried to find online some instruction what ...
2
votes
1answer
21 views

Disabling recaptcha on certain pages

Users are complaining that, since they must be registred to post an article, there is no need to have a captcha (google re-captcah) in the article creation page on the front-end... Does anyone know a ...
3
votes
1answer
45 views

Remove unwanted Joomla Scripts in version 3.8.x curious not working

Just wondering how following happens, maybe someone knows: Like known I remove unwanted Joomla scripts in common ways like using: $this->_script = $this->_scripts = array(); or in single ways:...
0
votes
0answers
21 views

In Joomla when i create/edit Menu getting “Cannot use object of type stdClass as array”

i'm getting error when i edit/create the menu. An error has occurred. Can not use object of type stdClass as array Return to the Control Panel i'm not be use PWT Sitema, CoalaWeb, helix 3, google ...
0
votes
2answers
29 views

How do I make article images that can be enlarged on mobile devices?

I'm trying to enter lessons with images on my website, but the images are too tiny on mobile devices. Is there any way to make it so they can be enlarged by clicking on them rather than trying to ...
3
votes
1answer
40 views

with insert on duplicate key update - updating multiple rows at once

With latest joomla version I try to achieve one query to the database and updating multiple rows at once. I want to make a query like this: INSERT INTO `tablename` (`id`,`date`) VALUES ('79','2018-...
2
votes
1answer
15 views

Advanced search: Hide some of the options

I am setting up a site to use the Joomla Smary Search component (com_finder). The component is working well, but I have a question about the advanced search options. When the advanced search options ...
1
vote
0answers
21 views

How can I enable the created date for an article to be edited in the front end?

I don't know how to enable editing the created date of an article in the front-end, after updating to Joomla 3.8.10. So far I used to override the article's edit form com_content -> form > edit #...
1
vote
1answer
56 views

How do I set the flag CLIENT_MULTI_STATEMENTS for calling multiple stored procedures in a single stored procedure?

How do I set the flag CLIENT_MULTI_STATEMENTS for calling multiple stored procedures in a single stored procedure? I have 30 stored procedures I would like to execute with a button click to process ...
0
votes
1answer
26 views

Redirect loop when https

I added ssl-certificate on my Joomla web-site. My actions: Add certificate data to hosting In configuration check SSL for entire site In configuration.php rewrite live_site as https://mysite.com ...
1
vote
2answers
22 views

What are the differences of Joomla modules vs components vs plugins?

A very basic question probably... But what are the differences in Joomla terms between: module components plugins If I am a developer for Joomla what and why should I name it a module, component, ...
1
vote
0answers
14 views

J3.8 Module Manager Articles Category generating wrong links

The list of categories in Module Manager Arcticles Cateogries is generating wrong links. It's like the News section doesn't have subcategories. The Title is displayed, but all have the same main ...
1
vote
1answer
29 views

How to set the title and intro text as hyperlinks to the full article in blog layout?

When displaying articles in blog layout on my website, I want the respective article link on the title and the whole intro text. I looked at the code in components/com_content/views/category/tmpl/...
3
votes
2answers
29 views

How to prevent Joomla's hidden links from being visited?

Some of Joomla's page can be visited even though there isn't any link to it on the site. One of the infamous examples is when some hacker visits the user registration link even though there isn't any ...
1
vote
1answer
33 views

The MySQL adapter 'mysql' is not available and session Warnings

I am getting the following errors: Database connection error (1): The MySQL adapter 'mysql' is not available. Warning: session_write_close(): Cannot call session save handler in a ...
0
votes
1answer
31 views

Internal (but non-joomla) URL as Menu Item

The Goal We have a subset of items on our site that are not Joomla pages, but other systems such as a selection of HTML5 and Flash (for now) Games: /play /photobooth etc. These should only be ...