All Questions

Filter by
Sorted by
Tagged with
6
votes
2answers
420 views

What differences (if any) are there between Joomla sessions and php sessions?

I've been wondering this for a while now. What are the differences between Joomla sessions and php sessions? Are they interchangeable?
2
votes
1answer
853 views

Error when calling getItem method of external model

I'm using a model of other component in my component. I'm following this solution. But, when I try to call the getItem method of the model I get the error "Call to a member function load() on a non-...
7
votes
3answers
255 views

Is there any way to block access to components by using non-SEF URL?

My client realizes that we can access to components in Joomla by using non-SEF URL even when SEF is enabled. He doesn't like it, because with no Itemid in the URL, the page is messy. For example, ...
8
votes
7answers
10k views

What to do when installation stuck on creating tables?

Upon installation of Joomla the process stops while creating tables. Some tables were created, but not all of them. So far this only happens with MySQL with Joomla 3.x. What should I do?
9
votes
6answers
7k views

Adding javascript file in the footer & custom styles

For fast page load I need to insert JS at the end of the page from components and modules. The following way of declaring scripts does not work to insert it at the bottom because there is no ...
13
votes
2answers
2k views

How can I programmatically get the Joomla database prefix using php?

I sometimes access the Joomla DB via external scripts. The problem I have is that if I ever need to change the prefix, I'll need to edit my scripts again too. Is there a way to programmatically ...
2
votes
3answers
279 views

Correct manner of using View- and Model-Abstracts in Joomla 3+

There are a lot of API changes in Joomla between 2.x and 3.x versions. In development of Joomla 3-components I still use the legacy class abstracts: jimport('joomla.application.component.view'); ...
1
vote
2answers
619 views

What could cause Joomla session data to intermittently go missing?

My question is inspired by an old problem that I don't think I properly resolved. I was storing array information in a Joomla session which I accessed a short time later. I found that intermittently ...
7
votes
1answer
1k views

How to setOffset() in joomla 3.2.3

I am migrating a component from joomla 2.5 to joomla 3.2, I got an error in the method where am using setOffset //old version used in joomla 2.5 $data->setOffset(JFactory::getConfig()->get('...
14
votes
4answers
5k views

How to manage multiple Joomla sites and their updates

I have a number of Joomla 3.x sites, which I want to manage centrally, however they are all for different clients, so I cannot share any information between them. What I want to achieve is to ...
2
votes
2answers
879 views

How can I override content category view to display subcategories as list items

I'd like to override the category view to display subcategories as list items, my template uses bootstrap and I'd like to get a display similar to thumbnails: http://getbootstrap.com/components/#...
1
vote
1answer
379 views

Is this the right way to extend Joomla class?

I have been working hard for the past few months on our template framework update. For now everything seems well but I would like to hear from experienced Joomla devs if they see any issues with ...
8
votes
3answers
202 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
3answers
3k views

What's the proper way to authenticate a user?

A couple years back I wrote a small and very incomplete component that authenticated users coming from outside of Joomla! i.e. a mobile application. Is there a proper or preferred way of handing this?...
11
votes
3answers
12k views

Session Handler, “Database” or “None”?

In Joomla's Global Configuration there is an option "Session Handler", its description says The mechanism by which Joomla! identifies a User once they are connected to the web site using non-...
6
votes
6answers
2k views

Are you required to create the database before you install Joomla?

Before you install Joomla do you need to create the database first?
1
vote
1answer
71 views

Why does mod_smartsearch not load Mootools in J3.X, even though it needs it?

In the Joomla 3.X series I see there is a move away from Mootools to jQuery, with refactoring still ongoing. That said, Mootools is still required for the Smart Search module to enable autocomplete (...
10
votes
2answers
2k views

What's the difference between JHtml:script() and $doc->addScript?

I developed a module recently that required certain JS and CSS files to be injected into the <head> of each page. Initially, I used: $doc =& JFactory::getDocument(); $doc->addScript(JURI:...
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
2answers
122 views

Is there a permalink to the latest Joomla version?

Is there a permalink which can be used to download the latest Joomla version? For example, Wordpress allows you to download the latest version at: https://wordpress.org/latest.zip I asked this on ...
12
votes
2answers
686 views

Difference between standard cache options

Joomla! have a 3 different way for caching: "Conservative caching" (in global configuration) "Progressive caching" (in global configuration) plugin "System - Cache" I have the following questions: ...
4
votes
1answer
355 views

Module Params Custom Validation is possible?

Now I have situations to validate Module params in admin side of a module. I know there is option with Filter in module params but its limited , I can't validate some patterns or custom conditions. ...
4
votes
1answer
191 views

What do the options of component “Joomla! Update” mean?

In the options of the component Joomla! Update you can specify the update server. The current help info doesn't provide enough information to decide to use Custom URL and Currently configured (no ...
3
votes
2answers
645 views

No HTTP response code found error

Error: No HTTP response code found. I am migrating a component from Joomla 2.5 to Joomla 3. After migrating my component when I tried to install using install from directory I got this error. Any ...
2
votes
3answers
1k views

fsockopen(): unable to connect to :80 component installation error

While installing a custom component the following error occur. fsockopen(): unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: Name or service not known)
8
votes
8answers
1k views

How can I minimise the disk space used by a Joomla installation?

I have a client on a hosting plan with insufficient space for the website and a backup. At this stage, they can't be persuaded to upgrade or move to another web hosting company. What can I do to ...
18
votes
5answers
5k 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 ...
2
votes
2answers
147 views

Hide Components with no admin interface

I have been working on a component for quite some time now, it is meant to be more of link accessible library then a component though (its for form processing). Basically it needs no settings to be ...
7
votes
2answers
65 views

How does the pre-release cycle for Joomla versions work and can I test my extensions at the Beta stage?

I'm looking for a Software Release Cycle Map (similar to the one at Wikipedia), but for Joomla! I am specifically not looking for projected release dates or length of support as part of this answer ...
12
votes
3answers
3k views

Best method to check if a component is installed/enabled?

Between joomla 2.5 and 3.x what is the best way to check if another component is installed and/or enabled? There exist a helper class called JComponentHelper but I believe the isEnabled function will ...
5
votes
1answer
96 views

Default module layout not honoured in the admin (when adding a module)

I have noticed that with Joomla 3, any module that has more than one layout (in the tmpl folder), and in the .xml has a default layout chosen example: <field name="layout" type="modulelayout" ...
4
votes
3answers
953 views

checkboxes field type in module settings not checked by default

I want to add following form field in module settings like - <field name="fb_posttype" type="checkboxes" label="Post types"> <option value="status" >Statuses</option> ...
2
votes
2answers
166 views

Filtering content in a single plugin or many?

Due to some requests by a cliente, I had to filter certain "tags" (between curly brackets, like {invisible}content{/invisible}) via a content plugin. In the last months, the list of tags has grown, ...
3
votes
1answer
852 views

How to enable Smart Search automatic indexing?

This page, Setting up automatic Smart Search indexing, from the Joomla! Documentation states that Smart Search automatically indexes content once it has been amended. However, I've found on a site I'm ...
5
votes
1answer
708 views

Gantry PHP Notice: Undefined property: Gantry::$belatedPNG

So I'm running the master Gantry template however I'm constantly hitting the following PHP notice in my error log - like 20/30 times a day: PHP Notice: Undefined property: Gantry::$belatedPNG in /...
10
votes
9answers
5k views

How to create page only with modules and no component?

In joomla, I need to link every page to a component view. How can I create a page with no component output on it? Example : On my home page I only want a module output. For this, I can link the home ...
6
votes
2answers
794 views

Override a component view for a specific menu item

How can I override the component view for a specific menu item? For a global overwrite I can use template/html/com_xxx/. But how can I do it only for a specific menu item? Example : Joomla! has a ...
8
votes
6answers
900 views

How to update everything to Twitter Bootstrap 3?

I made a template which used Twitter Bootstrap 3, and the front end worked ok, until I had the edit views in the front end, which depend greatly in Twitter Bootstrap 2 due to the way Joomla has been ...
2
votes
2answers
277 views

Revert Joomla 2.5.18 to 2.5.16, how?

I have a site which was at the 2.5.16 version of Joomla, and I updated it to 2.5.18. And made new articles, changes to menus, etc. After the update, I didn't realize that the site was very broken in ...
4
votes
3answers
378 views

When will the JxxxLegacy classes be deprecated?

Is there any estimated time frame for the validity of JModelLegacy, JControllerLegacy and JViewLegacy? When will the switch to native 3.x ones occur?
4
votes
2answers
1k views

Still required to turn Remember me off when migrating from 2.5 to 3.x?

With 3.3 and 3.2.4 is it still required to turn the plugin Remember me off? What is the technical reason?
6
votes
2answers
517 views

How best can I fix a Gantry Framework and ChronoForms Styling Conflict?

I am using ChronoForms and RocketTheme templates on most of the websites I build. The Gantry Framework includes some Bootstrap styling that overrides the ChronoForms styling so that (for example) a ...
6
votes
2answers
375 views

Structure folder of sql files in my component

What folder should I put my sql files in my component for joomla execute them automatically? If in the first version I created a table and in later version I want to change, how should I organize that ...
5
votes
7answers
646 views

Is ChronoForms a Content Construction Kit (CCK)?

I have been using ChronoForms long before I heard the term "Content Construction Kit". By defining a form and choosing the option to save the results to the database, I can create new tables, store ...
20
votes
3answers
8k views

Whats the correct way for exception handling?

In Joomla core I find still many calls like this: // Check for errors. if (count($errors = $this->get('Errors'))) { JError::raiseError(500, implode("\n", $errors)); ...
7
votes
2answers
220 views

Is there a way to detect the database changes that were made by third party extensions?

I work in a development / staging / production environment and I've run into some challenges promoting code from one environment to another, especially when upgrades to Joomla and other third party ...
14
votes
9answers
6k views

How can a module be disabled based on device or viewport size in Joomla 3 to optimize performance for mobile devices?

I'm a proponent of Responsive Web Design in conjunction with Adaptive Web Design (i.e. - one design that adjusts display for all devices and provides content based on view port size) as opposed to ...
8
votes
3answers
5k views

How do I pull data from a K2 extra field that is an array?

I'm building a site that uses K2 extra fields, but I'm customizing the output so I'm not just pulling the entire extra field block. Normally something like this works for single entry fields: <?...
20
votes
4answers
5k views

How to override core classes?

Sometimes there is a need to override core classes to get more functionality or to make some core functions work in another way. Is there any way how to override core classes? If it is possible then ...
5
votes
2answers
1k views

Sitemaps with Xmap on Joomla 2.5: (how) can I improve them?

I have a small personal website, bilingual, say namesurname.joomlafree.it, made with Joomla 2.5 (remote installation). I have created with Xmap two sitemaps, one for italian language, one for english. ...

15 30 50 per page