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.
23 questions
0 votes
2 answers
112 views
Component define custom constants
In a component what is the best or approved way to define constant values to be accessible throughout the component. Not language strings but numeric and other values. Currently I have a defines.php ...
1 vote
1 answer
991 views
How to load and render a view of a component from another's component template file?
Note: Question fully updated with the latest findings: I want to load a com_contact contact view inside a template override of an article. I have a contact item id and trying to load the record and ...
6 votes
1 answer
2k 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 ...
1 vote
2 answers
3k views
What is the best way to make knowledge base?
I want to make a knowledge base section for my Joomla site. Is there a good way to make it? In my case : I have a hyperlink text called "Knowledge Base". When I click on it, it will open a new page ...
3 votes
3 answers
2k views
Add language overrides to template
Version Joomla 3.4.2 In our current set-up we would like to able to add the language override folder to the current template folder and then we could achieve 3 things: We would be able to update the ...
1 vote
1 answer
147 views
Can i add virtuemart's or another eshop's mechanic inside a custom component? [closed]
I'm building a custom component that I would like to have an e-shop area, with some products. I don't think it's a good idea to create an e-shop mechanic from scratch because I worry about security ...
7 votes
2 answers
798 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 ...
12 votes
2 answers
5k 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 ...
2 votes
2 answers
2k views
How to move print/email to be inline with article title for blog view?
for single article view I've moved the print/email function up to be inline with the title, instead of being located below the title in top-right corner of the content. Did this my moving the code ...
3 votes
3 answers
3k 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 ...
1 vote
3 answers
598 views
Should I change the way I include javascript into Joomla? If yes, why and how?
I use a lot of javascript on my site. It works and has passed crossbrowser testing, but the thing is the javascript files are being included within Joomla articles. I’ve read that this is the wrong ...
6 votes
1 answer
113 views
Any Joomla & PHP podcasts from which I can learn?
Are there any quality podcasts regarding Joomla or PHP and web development that you listen and would recommend?
3 votes
1 answer
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
1 answer
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. ...
15 votes
4 answers
560 views
How to effectively distinguish test and production site?
Sometimes you might need to clone your production site to TEST site. After cloning, they look identical except the URL. Please advise your recommended practice to distinguish front-end and back-end ...