Archived talk

Difference between revisions of "Developing a MVC Component/Developing a Basic Component"

From Joomla! Documentation

Line 1: Line 1:
 +
== Notice: Undefined property: JAdministrator::$JComponentTitle ==
 +
 +
I received the following error message:
 +
 +
Notice: Undefined property: JAdministrator :: $ JComponentTitle in xxxxxxxxxxxx\j257_agp\ administrator\modules\mod_title\ mod_title.php on line 13
 +
 +
I'm running Joomla 2.5.7 in local development server with Apache 2.2.22, PHP 5.4.0, MySQL 5.5 on Windows Vista Home Premium (32 bit)
 +
 +
It possible that this error message appears me because my site is not in the Web, or you need to correct the code?
 +
 +
 
== Component name in manifestfile has to be conform ==
 
== Component name in manifestfile has to be conform ==
  

Revision as of 10:22, 9 October 2012

Notice: Undefined property: JAdministrator::$JComponentTitle[edit]

I received the following error message:

Notice: Undefined property: JAdministrator :: $ JComponentTitle in xxxxxxxxxxxx\j257_agp\ administrator\modules\mod_title\ mod_title.php on line 13

I'm running Joomla 2.5.7 in local development server with Apache 2.2.22, PHP 5.4.0, MySQL 5.5 on Windows Vista Home Premium (32 bit)

It possible that this error message appears me because my site is not in the Web, or you need to correct the code?


Component name in manifestfile has to be conform[edit]

In Joomla 1.6 the component name specified in the manifest file has to follow the pattern 'com_componentname'. So here it should be

<name>com_helloworld</name>

It will matter at least in the menu manager, where I discovered this problem.

Archive is created for version 1.6 instead of 2.5[edit]

In the section "Packaging an installation zip file", archive file offered as an example (located here: http://joomlacode.org/gf/download/frsrelease/11394/58225/com_helloworld-1.6-part01.zip) contains an XML file which has a line:

<extension type="component" version="1.6.0" method="upgrade">

instead of

<extension type="component" version="2.5.0" method="upgrade">

which should be fixed, I guess.

Broken links to zip downloads[edit]

Example zips reside here: http://www.leyar.com/joomlaorg/part01.zip This site is suspended, please prolong it's hosting or upload archives to another site