The Joomla! Forum ™



Forum rules


Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.



Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Thu Apr 12, 2012 7:27 pm 
Joomla! Intern
Joomla! Intern

Joined: Sun Jul 18, 2010 2:35 pm
Posts: 69
I have an existing component and wish to add a new menu item type.
I have read and re-read the instructions on adding a menu item type using the model view component but can't get it to add a new item.

This is on a new 2.5.4 setup. The component installs fine and all works except for the new menu item I wish to have.


Top
 Profile  
 
PostPosted: Thu Apr 12, 2012 7:35 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Tue Apr 10, 2012 5:00 pm
Posts: 230
Location: London UK
Usually the component automatically adds the new "menu item type" if appropriate. Are you sure the component is 2.5 compatible? What is the name of the component?

_________________
http://www.certico.co.uk/


Top
 Profile  
 
PostPosted: Thu Apr 12, 2012 8:35 pm 
Joomla! Intern
Joomla! Intern

Joined: Sun Jul 18, 2010 2:35 pm
Posts: 69
It is my component and yes it is 2.5 compatible. I understand it should automatically add the menu item but it doesn't. and the default.xml files all look the same except for the title and message. Here is the contents of my default.xml file:
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<layout title="Write Ad">
<message>
<![CDATA['Write Ad']]>
</message>
</layout>
</metadata>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 



Who is online

Users browsing this forum: bbolli and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group