Questions tagged [recommended-practices]

Recommended Practices are informal rules that the Joomla community has learned over time which can help improve the quality of a website or an extension.

Filter by
Sorted by
Tagged with
18
votes
5answers
6k views

What is an efficient way to troubleshoot a “white screen of death”

Quite a few times I have been in a position where the front-end of a Joomla website is a blank screen with no content, sometimes known as a "white screen of death". This has occurred after a website ...
26
votes
8answers
16k views

Recommended practices regarding Joomla file/directory permissions and ownership on linux systems?

In the past I’ve often run into trouble with permissions and ownership of Joomla files/directories on linux systems. Problems included Not being able to transfer files to the server using programs ...
3
votes
3answers
2k views

Overriding Core Components Model Form XML

I want to change the Field type for the Article's Links, from input text to DropDown List with internal menu items. I am looking for a convenient way to do this with the minimum work. I can't find ...
5
votes
2answers
1k views

Should I use JResponse::setBody or onContentPrepare for strings replacements?

I am developing a shortcodes plugin that searches trough Joomla content and creates html outputs from the matched string. Currently I am using this public function onContentPrepare($context, &...
5
votes
1answer
1k views

How to add a composer package without modifying the core composer.json file

I am trying to add a Composer Package and make it globally available but I do not want to modify core composer.json for obvious reasons. Is the only way to do this having a composer.json either on ...
3
votes
1answer
2k views

Load K2 article with ajax

I am using the category layout to feature articles on my front page with joomla 3.3. I am customizing this view so that the article links pull the articles into this page via ajax on click. This is ...
7
votes
2answers
713 views

Developing Outside the CMS

I have a question, I have an already constructed site, we use Joomla for the CMS, and a theme from RocketTheme called "Diametric". We are looking to construct a page and it's styling is going to fall ...
11
votes
2answers
4k views

Add a custom button to a core backend component

Is it possible to add a custom button (with a custom action, of course) to the JToolbar of a standard Joomla 3 component (com_contents) without modifying the original source code? Background: I need ...
8
votes
3answers
220 views

Why does a Joomla distribution still contain index.html in each folder?

There has been an PR to remove the index.html files, but it was never applied. Why is that?
7
votes
1answer
3k views

Pagination confusion - Pagination uses start, PopulateState uses limitstart?

I'm a bit confused. When I look at the link created by pagination in the front end, I see a query parameter called start included in the individual page number links and Start and End links. ...