<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jay+cz</id>
	<title>Joomla! Documentation - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.sandbox.joomla.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jay+cz"/>
	<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/Special:Contributions/Jay_cz"/>
	<updated>2026-09-08T09:10:32Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://docs.sandbox.joomla.org/index.php?title=Archived_talk:Developing_a_MVC_Component/Adding_categories&amp;diff=71584</id>
		<title>Archived talk:Developing a MVC Component/Adding categories</title>
		<link rel="alternate" type="text/html" href="https://docs.sandbox.joomla.org/index.php?title=Archived_talk:Developing_a_MVC_Component/Adding_categories&amp;diff=71584"/>
		<updated>2012-08-20T12:23:07Z</updated>

		<summary type="html">&lt;p&gt;Jay cz: Added link for ACL issues with category menu&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Why     $query = new JDatabaseQuery;&lt;br /&gt;
but not $query = &amp;amp;new JDatabaseQuery; ?&lt;br /&gt;
&lt;br /&gt;
In ../models/fields/helloworld.php on line 29&lt;br /&gt;
&lt;br /&gt;
If you use the line, $query = new JDatabaseQuery;, component works, but when helloworlds is added as menu item it causes the following error when item is clicked:&lt;br /&gt;
&lt;br /&gt;
Fatal error: Cannot instantiate abstract class JDatabaseQuery in C:\xampp\htdocs\test_site\administrator\components\com_helloworld\models\fields\helloworld.php on line 29&lt;br /&gt;
&lt;br /&gt;
Reverting back to code from part 11, $query = $db-&amp;gt;getQuery(true);, does not throw error.&lt;br /&gt;
&lt;br /&gt;
Just an observation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
---&lt;br /&gt;
&lt;br /&gt;
People who are using Joomla &amp;gt;= 2.5.5. will probably encounter a problem with categories menu - buttons for basic user actions missing (such as &amp;quot;New&amp;quot;, &amp;quot;Edit&amp;quot; etc.) The solution can be found here: http://forum.joomla.org/viewtopic.php?f=642&amp;amp;t=730171&lt;/div&gt;</summary>
		<author><name>Jay cz</name></author>
	</entry>
</feed>