3
votes
Accepted
Content Plugin 'loads' multiple times on Category Page
Right, so the function executes 15 times and you have 14 articles assigned to a category.
If you open the following file:
components\com_content\views\article\view.html.php
you see the event ...
2
votes
Retrieving plugin id
This can be done using the plugin helper
JPluginHelper::getPlugin('user','myplugin')->id;
However you'd probably want to check that getPlugin returned something before trying to access its id ...
2
votes
Joomla 2.5 site shows this code
Welcome to JSE. If your site was working and this error has just happened then it is likely that your server is experiencing an error. Contact your hosting provider.
However if you are setting up a ...
2
votes
Accepted
0 Call to a member function purgePrivate() on null
This is from Litespeed Cache. It is somehow related to the Joomla Login. You can test this is true by uninstalling the Litespeed Cache plugin.
I went into cPanel and I went to Terminal and I did a ...
2
votes
Accepted
Joomla old code to latest 3x series with best practice of safe and secure code
✔️ The use of $jinput->get() with INT parameter to sanitise the incoming data for security and stability.
💡 To maintain a consistent variable naming convention in accordance with Joomla's official ...
1
vote
Accepted
Session variable from a module is only accessible from the template after refresh
For this exact issue the solution was to avoid the things that are not working.
So instead of trying to get the variable from the module to the template in my php I created a html variable "--...
1
vote
0 Call to a member function purgePrivate() on null
Open lscache.php file
it's in the folder httpdocs/plugins/system/lscache
Comment on this Line 549
public function onUserAfterLogin($options) {
if (!$this->cacheEnabled) {
return;
}
...
1
vote
Please correct the path for Joomla Javascript Async and Defer plugin
In the file sr2win.php, on line 99, you have a reference assignment that you need to get rid of. Most likely, you will just need to remove the ampersand (&) from that file from that line.
If you ...
1
vote
How to get rid of those two tranparent stripes above and below Google Maps?
In Joomla's Custom HTML module where original Google Maps code was, I had to change the old code:
<p><iframe src="https://www.google.com/maps/d/embed?mid=1-bVo4tCI2bNdO1Ssj9CySDIWIJ0" width=...
1
vote
Content Plugin 'loads' multiple times on Category Page
Contnet plugins fire on each content portion - each module, each article on a blog page and so on.
If you want to replace something unsing one run of a plugin you should use a system plugin and ...
1
vote
Change menu hover color
In http://www.iglobez.com/templates/effortless/css/custom.css
.uk-navbar-nav > li:hover > a {background-color: #1abc9c;}
where you change the hex code to the shade of blue you want.
1
vote
Has this file malicious code inside?
This file is the defines.php of the administrator site and yes it is modified.
This is what the original file should look like:
<?php
/**
* @package Joomla.Administrator
*
* @copyright ...
1
vote
Accepted
Make git all Joomla folders except a select few folders/subfolders
The answer is based on the answer(s) in the link I had in the question and what fruppel suggested in the comment but since I couldn't mark that as answer; I am answering it myself. Here is what I did:
...
1
vote
Accepted
Formatting title of a slide in Image Show GK4 module
You can achieve what you want with some CSS, but without a link to your site it's not possible to give an exact answer.
Using your browsers "Inspect" tool, locate the correct element. The title is ...
1
vote
Get User function works on local machine but not on host server
If you are getting 0 and Guest every time on your webserver, I recommend that you step through your conditional statement and subsequent lines of code and ensure that the intended data is being ...
1
vote
Jform POST issues
Extending on david's answer. Following technique uses the method that was specifically designed for the problem at hand. The solution is to use JApplication::setUserState() and JApplication::...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fix-my-code × 75joomla-3.x × 32
php × 12
component × 8
plugin × 8
joomla-2.5 × 6
module × 6
development × 6
templates × 6
javascript × 5
css × 5
jquery × 4
jdatabase × 3
mvc × 3
session × 3
joomla-3.4 × 2
joomla-api × 2
database × 2
menu × 2
bootstrap × 2
upgrade × 2
jinput × 2
t3-framework × 2
articles × 1
mysql × 1